New Media Player
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 416 from 2003/2/24
    From: Berlin
    Hi all,

    I created a script InvidiousPlayer by modifying my InvidiousDL script to play the videos with MPlayer instead of downloading them.

    Additionally it can convert YouTube urls (like https://youtu.be/<id> or https://www.youtube.com/watch?v=<id>)
    to invidious urls and play them!

    After configuring in OWB you can play Invidous and YouTube URLs just play selecting InvidiousPlayer from the context menu of such a URL.

    Download it here: InvidiousPlayer.lha

    InvidiousPlayer_owb.png
  • »01.07.20 - 19:20
    Profile Visit Website
  • Just looking around
    wicknix
    Posts: 18 from 2020/12/1
    From: Wisconsin, USA
    Hey igracki thanks for this! Works great. I did have to edit your script however as invidio.us is down. I needed to change the link in the script to invidious.xyz for the youtube conversion to work again. Also where can i grab the DL script from?

    I also saw mention of needing a newer ffmpeg and ffplay. I totally agree. As a new reg'd user I'd really like to watch twitch.tv on MOS. Mplayer still after all these years can't cope with split streams. Versions of vlc, mpv and ffplay had this ability years ago. I'd gladly donate $50 USD to whoever can make that happen.

    Cheers
  • »01.12.20 - 06:48
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    MoerBoer
    Posts: 230 from 2019/10/15
    Great seeing you here wicknix!

    Have always followed your software and developments on MacRumors.
  • »01.12.20 - 07:22
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    Quote:

    wicknix wrote:
    As a new reg'd user I'd really like to watch twitch.tv on MOS.


    My aim is to support HLS in Wayfarer. No ETA yet though.
  • »01.12.20 - 19:10
    Profile Visit Website
  • Just looking around
    wicknix
    Posts: 18 from 2020/12/1
    From: Wisconsin, USA
    @MoerBoer: Thanks. Had a c64 and amiga 2000 back in grade school & high school. Figured i'd check out MOS more in depth finally. I had been playing with various demo releases over the years, but once i saw news of wayfarer, iris and an updated mplayer i finally dedicated a mac mini to it, and bought a key as well.

    @Andreas_Wolf: Thanks for the link. Not sure how i missed that in the last few weeks scouring that site.

    @jacadcaps: Nice. That would be a great feature for sure. I'd still like a current ffplay as well though as external players use way less cpu on these G4's.

    Cheers

    [ Edited by wicknix 01.12.2020 - 18:02 ]
  • »02.12.20 - 00:01
    Profile Visit Website
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Quote:

    wicknix schrieb:
    Hey igracki thanks for this! Works great. I did have to edit your script however as invidio.us is down. I needed to change the link in the script to invidious.xyz for the youtube conversion to work again. Also where can i grab the DL script from?

    I also saw mention of needing a newer ffmpeg and ffplay. I totally agree. As a new reg'd user I'd really like to watch twitch.tv on MOS. Mplayer still after all these years can't cope with split streams. Versions of vlc, mpv and ffplay had this ability years ago. I'd gladly donate $50 USD to whoever can make that happen.

    Cheers


    Actually, ffplay is just a "simple" frontend for ffmpeg. The actual HLS or HTTP Live Streaming support (a.k.a. "split streams") is part of ffmpeg/libavformat. In the end, MPlayer also uses ffmpeg for most of its decoding/encoding/muxing and/or data transport.

    In theory, it even works to use HLS to some degree already with the current MPlayer 1.4beta1 port via its command line interface if you pass some http(s)://#?.m3u(8) URL there.
    It just doesn't work at all from the "Open Stream" menu in the user interface currently.
    I'll check if there is some easy way to add that to the current MPlayer port.
  • »02.12.20 - 20:05
    Profile Visit Website
  • Just looking around
    wicknix
    Posts: 18 from 2020/12/1
    From: Wisconsin, USA
    The problem isn't with current ffmpeg, it's with mplayer itself (on any OS). It can't "merge" the split twitch streams to play continuously. What happens with mplayer and twitch is that it plays the 1st 8 second stream, then pauses and buffers the 2nd stream, plays 8 seconds, then pauses, buffers, plays 8 seconds, etc etc. It's unwatchable. Even MPlayer2 (which eventually became mpv) from 2012 can play twitch seamlessly. I use mplayer2 on a lubuntu 12.04 ppc install, and ffplay on OS X 10.5.8 for twitch without issue. Mplayer is great for pretty much everything else though, and i'm happy a current version is available.

    Cheers

    [ Edited by wicknix 02.12.2020 - 21:27 ]
  • »03.12.20 - 03:23
    Profile Visit Website
  • K-L
  • Cocoon
    Cocoon
    K-L
    Posts: 45 from 2020/11/17
    From: Lyon, France
    Hi cyfm,

    Been using MPlayer since some time now and I have two questions :

    Why can't I play a file with a size higher than 4 GB?

    Is it possible to cache stream files (mainly YouTube ones) since without caching, videos can stutter?
    PowerMac G5 2,7 Ghz / Radeon 9650 / MorphOS 3.15
    AmigaOne X1000 (unused ATM)
  • »12.12.20 - 12:51
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Is it possible to cache stream files [...] since without caching,
    > videos can stutter?

    These should work as parameters:

    -cachenetwork -cache [size in kBytes]
  • »12.12.20 - 14:39
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1281 from 2010/1/6
    From: EU-Austria (Wien)
    Quote:

    K-L schrieb:
    Why can't I play a file with a size higher than 4 GB?



    Depends on your filesystem! You need a 64Bit-filesystem, which can handle files > 4GB. Use ICE-filesystem or NTFS.
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »12.12.20 - 16:37
    Profile
  • K-L
  • Cocoon
    Cocoon
    K-L
    Posts: 45 from 2020/11/17
    From: Lyon, France
    Thanks.

    But of course I tested with IceFS, NTFS, Ext2 and even SMBFS, otherwise I could not have seen that files biger than 4Gbs could not be played ;-)
    PowerMac G5 2,7 Ghz / Radeon 9650 / MorphOS 3.15
    AmigaOne X1000 (unused ATM)
  • »12.12.20 - 18:01
    Profile
  • K-L
  • Cocoon
    Cocoon
    K-L
    Posts: 45 from 2020/11/17
    From: Lyon, France
    Quote:

    Andreas_Wolf a écrit :
    > Is it possible to cache stream files [...] since without caching,
    > videos can stutter?

    These should work as parameters:

    -cachenetwork -cache [size in kBytes]


    No, this doesn't work (I tested of course). When playing a YT stream, I have a message saying : this stream is not cacheable.
    PowerMac G5 2,7 Ghz / Radeon 9650 / MorphOS 3.15
    AmigaOne X1000 (unused ATM)
  • »12.12.20 - 18:20
    Profile
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Quote:

    K-L schrieb:
    Thanks.

    But of course I tested with IceFS, NTFS, Ext2 and even SMBFS, otherwise I could not have seen that files biger than 4Gbs could not be played ;-)


    It might indeed be possible that MPlayer isn't build with 64bit file I/O.
  • »12.12.20 - 18:29
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > When playing a YT stream, I have a message saying :
    > this stream is not cacheable.

    Oh drat. As an ugly workaround, you could download the stream with -dumpstream -dumpfile [filename] (or some SSL/TLS-capable cURL or Wget binary) and have the file replayed with some temporal offset while it is still being downloaded. Such solution would be scriptable.
  • »12.12.20 - 19:30
    Profile
  • K-L
  • Cocoon
    Cocoon
    K-L
    Posts: 45 from 2020/11/17
    From: Lyon, France
    Thanks !

    This is what I'm usually doing : I download the file and play it after while (long live the fiber ! :) ).
    PowerMac G5 2,7 Ghz / Radeon 9650 / MorphOS 3.15
    AmigaOne X1000 (unused ATM)
  • »12.12.20 - 19:37
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1281 from 2010/1/6
    From: EU-Austria (Wien)
    Quote:

    K-L schrieb:
    Thanks.

    But of course I tested with IceFS, NTFS, Ext2 and even SMBFS, otherwise I could not have seen that files biger than 4Gbs could not be played ;-)


    That's strange! Works here without problems - from HD or network (Mplayer 1.4-beta1).
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »12.12.20 - 21:33
    Profile
  • K-L
  • Cocoon
    Cocoon
    K-L
    Posts: 45 from 2020/11/17
    From: Lyon, France
    With files bigger than 4GB ?

    Here, none of these files are played; they are loaded but aren't played.
    PowerMac G5 2,7 Ghz / Radeon 9650 / MorphOS 3.15
    AmigaOne X1000 (unused ATM)
  • »13.12.20 - 08:00
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1281 from 2010/1/6
    From: EU-Austria (Wien)
    e.g. a .vob (mpegps/ffmpeg2) from AVATAR-movie-dvd with 6.5GB

    40072874df.jpg

    [ Editiert durch Amigaharry2 13.12.2020 - 09:29 ]
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »13.12.20 - 08:25
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 from 2010/2/10
    From: FRANCE
    Quote:

    Andreas_Wolf a écrit :
    > I'd still like a current ffplay

    https://www.morphos-storage.net/?id=1626711


    Not really good idea to use big video with ffplay/SDL2, no overlay, no accelereted or you need a PowerMac G6 12Ghz lol
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »21.04.21 - 17:08
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    >> https://www.morphos-storage.net/?id=1626711

    > Not really good idea to use big video with ffplay/SDL2, no overlay,
    > no accelereted or you need a PowerMac G6 12Ghz lol

    Maybe there are sites not yet supported by Wayfarer and neither by aiostreams/MPlayer but supported by aiostreams/FFplay that offer 360p or similar...
  • »21.04.21 - 20:24
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 from 2010/2/10
    From: FRANCE
    SDL2 need expert now for new video driver, fix openg renderer... for me is too much :-(
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »20.05.21 - 06:19
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    Quote:

    Andreas_Wolf wrote:
    In the screenshot can be read "--disable-network" and "Failed to initialize a hardware accelerated renderer". This will change hopefully.


    Yes, I've only wanted to see if it builds/works with minimal modifications. Networking should be relatively trivial to fix, so I am not concerned about that (poll vs select). Ideally, the plan would be to drop SDL2 and simply write a MUI/overlay renderer.
  • »20.05.21 - 11:39
    Profile Visit Website