New Media Player
  • Order of the Butterfly
    Order of the Butterfly
    MoerBoer
    Posts: 230 from 2019/10/15
    Quote:

    Spectre660 wrote:
    360p and 720p are still one stream .
    Youtube URL Extractor.


    Quote:

    KennyR wrote:
    Would just like to point out that if you can find lower quality stream urls (not the https://www.youtube.com/watch?v=BlAhbLaH page url) on YouTube, they probably won't be split into different streams. As far as I'm aware 720p and above store video and audio seperately.

    On a related note, SMPlayer (MPlayer's guified fork, not currently available on MorphOS) has recently given up trying to parse or mux YouTube urls itself and now uses youtube-dl to do so. Google change the site so often that it's a waste of time trying to maintain any kind of video url extraction software. At least ytdl is updated very often. Pity it's written in Python (though Windows has a native exe) and slower than grass growing.


    Youtube URL Extractor.


    @Spectre660 - Where does one get that program to run on MorphOS?

    I see YouTube is totally broken now on OWB no matter what spoofing I select. I would like to try the latest MPlayer with Youtube, but I don't know how to extract the URL's

    Thanks

    ---

    Edit : Sorry, I didn't actually think there was a program for that. Found it here for anyone else that was a bit in the dark : https://www.morphos-storage.net/?id=1531953

    [ Edited by MoerBoer 29.06.2020 - 18:13 ]
  • »29.06.20 - 15:03
    Profile
  • Butterfly
    Butterfly
    AKiLL
    Posts: 91 from 2006/3/6
    From: Naples, Italy
    Another possibility to extract url was kindly provided by jPV in this thread. (post # 4).

    Quote:

    MoerBoer wrote:
    Quote:

    Spectre660 wrote:
    360p and 720p are still one stream .
    Youtube URL Extractor.


    Quote:

    KennyR wrote:
    Would just like to point out that if you can find lower quality stream urls (not the https://www.youtube.com/watch?v=BlAhbLaH page url) on YouTube, they probably won't be split into different streams. As far as I'm aware 720p and above store video and audio seperately.

    On a related note, SMPlayer (MPlayer's guified fork, not currently available on MorphOS) has recently given up trying to parse or mux YouTube urls itself and now uses youtube-dl to do so. Google change the site so often that it's a waste of time trying to maintain any kind of video url extraction software. At least ytdl is updated very often. Pity it's written in Python (though Windows has a native exe) and slower than grass growing.


    Youtube URL Extractor.


    @Spectre660 - Where does one get that program to run on MorphOS?

    I see YouTube is totally broken now on OWB no matter what spoofing I select. I would like to try the latest MPlayer with Youtube, but I don't know how to extract the URL's

    Thanks

    ---

    Edit : Sorry, I didn't actually think there was a program for that. Found it here for anyone else that was a bit in the dark : https://www.morphos-storage.net/?id=1531953
  • »29.06.20 - 17:09
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    MoerBoer
    Posts: 230 from 2019/10/15
    You are right!

    I have to do it via TonVid because OWB doesn't show any videos on YouTube anymore :(

    But, I pulled a 720p stream and it's perfect on iMac G5 iSight with MPlayer! Very good!
  • »29.06.20 - 17:54
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1280 from 2010/1/6
    From: EU-Austria (Wien)
    Delete all Youtube-Cookies and restart OWB - should solve that YT-problem....
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »29.06.20 - 20:39
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    MoerBoer
    Posts: 230 from 2019/10/15
    Quote:

    Amigaharry2 wrote:
    Delete all Youtube-Cookies and restart OWB - should solve that YT-problem....



    Ahh magic! Thanks AmigaHarry2, that did the trick!

    I love this community!
  • »30.06.20 - 06:02
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1280 from 2010/1/6
    From: EU-Austria (Wien)
    Seems that was only a short time of happyness........YT changed again - and now no deleting of cookies helps any more.......
    I think, OWB needs a workaround or update.
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »30.06.20 - 20:32
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2057 from 2003/6/4
    Quote:

    Amigaharry2 schrieb:
    Seems that was only a short time of happyness........YT changed again - and now no deleting of cookies helps any more.......
    I think, OWB needs a workaround or update.


    The YTsite itself does not work, but the YT videos themselves still work (here). I mean YTis google anyway, hence I don't use the YT interface, but the google video search. The videos just play fine. Unfortunately additional information is getting lost. But at least the videos do work. Not ideal, but kind of okay.
    Is that different in your case?
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »30.06.20 - 23:29
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1280 from 2010/1/6
    From: EU-Austria (Wien)
    For the moment it works! But, as we have seen many times before, it's only aquestion of time, till this will be unusable too.
    I switched to invidious, which works. Only issue: videos cannot loaded directly to Mplayer......
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »01.07.20 - 18:00
    Profile
  • 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: 12150 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: 1280 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: 12150 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: 1280 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