New Media Player
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cego
    Posts: 712 from 2006/5/28
    From: Germany
    Is there anything planned?
    MPlayer is quite nice, but lacks Streaming and HTTPS support, which is very crucial nowadays.
    Suprizing that there's really no feedback regarding this from the community.
    Could it be possible to at least enhance MPlayer with those missing features?

    On OS4 there's Emotion, which can even handle Twitchstreams! Very impressing :)
    Pegasos II G4 @1.0GHz, 1GB DDR Ram, Radeon 9200Pro, 240GB SSD+160GB HD, MorphOS 3.18, AmigaOS4.1 FE, Debian 8
  • »13.04.20 - 11:00
    Profile
  • Butterfly
    Butterfly
    Mabo
    Posts: 67 from 2010/5/3
    up
  • »10.05.20 - 19:55
    Profile Visit Website
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    MPlayer supports streaming quite well and I use it very often. Check the "Open stream" menu or simply run "mplayer <your url>" from a shell.

    The lack of HTTPS support is a problem, though. Frank is working on it...
  • »10.05.20 - 23:56
    Profile Visit Website
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    I just uploaded a beta version of an updated MPlayer build to

    MPlayer @ MorphOS Storage

    It also features HTTPS support now, so with the proper tools to extract links from YT&co, you are finally able to play streams directly.
    Only AltiVec equipped machines supported for now.
  • »20.06.20 - 08:41
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    MoerBoer
    Posts: 210 from 2019/10/15
    Wow! Will download tonight and have a look.

    Thank you!
  • »20.06.20 - 09:41
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Thanks !
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »20.06.20 - 10:07
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cego
    Posts: 712 from 2006/5/28
    From: Germany
    Thats great news! Just installed it and https works fine! Thank you cyfm :)

    So I just tried to play Twitch streams, but it seems that MPlayer will split up the video stream in multiple playlist entries, when I enter the URL as Network Stream.

    Video URL

    Is there a way to fix this?


    On this site you can extract direct links to twitch video URLs: https://pwn.sh/tools/getstream.html
    Pegasos II G4 @1.0GHz, 1GB DDR Ram, Radeon 9200Pro, 240GB SSD+160GB HD, MorphOS 3.18, AmigaOS4.1 FE, Debian 8
  • »20.06.20 - 10:24
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 502 from 2013/5/29
    It goes great with Youtube videos! Fantastic. Thanks so much!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »20.06.20 - 11:00
    Profile
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Quote:


    On this site you can extract direct links to twitch video URLs: https://pwn.sh/tools/getstream.html



    Thanks for the reference. It seems that this extractor generates a .mp3u8 file that splits the actual AV stream into a series of 2s segments which the current mplayer port tries to play one by one:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:6
    #EXT-X-MEDIA-SEQUENCE:6906
    #EXT-X-TWITCH-ELAPSED-SECS:13812.000
    #EXT-X-TWITCH-TOTAL-SECS:13844.000
    #EXT-X-DATERANGE:ID="source-1592645550",CLASS="twitch-stream-source",START-DATE="2020-06-20T09:32:30.481Z",END-ON-NEXT=YES,X-TV-TWITCH-STREAM-SOURCE="live"
    #EXT-X-DATERANGE:ID="trigger-1592645550",CLASS="twitch-trigger",START-DATE="2020-06-20T09:32:30.481Z",END-ON-NEXT=YES,X-TV-TWITCH-TRIGGER-URL="https://video-weaver.fra05.hls.ttvnw.net/trigger/CvEDigKQ2pfK0PT0N-F_p_5n3LprSF3_TUI5GANctwFK3mMh6KWaai-n3IqoWKF9F7uZWzOZU4JT52VaAabfCVRNCjXXD3s4ljYo5l-kxXr0zKMRUHttsWQAiY43_FR3uW98dcqyFmDPX2qrwcruNH_dMcU4I0tzmvNI90WUS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BLg4RdT_d7hwOlvXKfQ-RWnKD9K0jVtTPkmId1-yCl7oCDE_Y_6r3vhC3LM-iFZsmMw40XKKX0XnasfaRv_IHJNWqaIhJUx601Sc_MkvIQ2dayESEEPeDZqJWnLUlsc7P3BPLTgaDN9Oe35BV1KGFe5FiA.ts
    #EXT-X-PROGRAM-DATE-TIME:2020-06-20T09:39:40.481Z
    #EXTINF:2.000,live
    ...
    ...


    I need to check if there is some way to somehow automerge those streams ahead of playing to avoid any kind of gaps inbetween.
    I think it is rather common nowadays to split up streams like this for online streaming since it last but not least prevents direct D/L without additional tools and also makes seeking within a full stream a way simpler task.
  • »20.06.20 - 11:05
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cego
    Posts: 712 from 2006/5/28
    From: Germany
    is it also possible that Mplayer could also buffer new stream data? I think right now it will only load up data to the point where the stream is right now without loading new data coming from the stream.
    Pegasos II G4 @1.0GHz, 1GB DDR Ram, Radeon 9200Pro, 240GB SSD+160GB HD, MorphOS 3.18, AmigaOS4.1 FE, Debian 8
  • »20.06.20 - 12:19
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 746 from 2011/11/30
    Many - many thanks cyfm! Hope you can solve the buffering / merging thing as it could be extremely useful to stream twitch and the likes :)
    Amiga gaming Tribute: Watch, rate, comment :)
  • »20.06.20 - 12:41
    Profile Visit Website
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Well, sure, there is definitely more room for improvements, I just thought that https:// support on its own might be useful for many users as-is.
  • »20.06.20 - 13:40
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ernsteiswuerfel
    Posts: 545 from 2015/6/18
    From: Funeralopolis
    Great news! Thanks!
    Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2]
  • »20.06.20 - 14:16
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2794 from 2006/3/21
    From: Northern Calif...
    Quote:

    cyfm wrote:
    Well, sure, there is definitely more room for improvements, I just thought that https:// support on its own might be useful for many users as-is.



    Absolutely it is! Thanks for your great work on this and everything else you do.
    MorphOS - The best Next Gen Amiga choice.
  • »20.06.20 - 18:06
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 779 from 2007/10/23
    From: Gelsenkirchen,...
    Thx!
    - MPlayer1.4/MPlayer has no e flag
    - MPlayer1.4.info is missing
    - Always tries to write to ENVARC: :-(
    - Reggae support next ;-)

    [ Editiert durch polluks 22.06.2020 - 17:39 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »20.06.20 - 21:34
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1226 from 2010/1/6
    From: EU-Austria (Wien)
    Wow! Did'nt expect that update!
    Thank you!!
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »20.06.20 - 22:32
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    KennyR
    Posts: 872 from 2003/3/4
    From: #AmigaZeux, Gu...
    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.
  • »21.06.20 - 23:56
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Crumb
    Posts: 730 from 2003/2/24
    From: aGaS & CUAZ Al...
    Thanks for the update, tested it with Youtube and works nicely
  • »22.06.20 - 08:24
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Spectre660
    Posts: 275 from 2015/6/30
    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.

    [ Edited by Spectre660 22.06.2020 - 06:28 ]
  • »22.06.20 - 10:27
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    walkero
    Posts: 102 from 2006/3/1
    @Spectre660 is right.
    All the youtube videos have 360p and 720p one file streams, which are playable using mplayer. Live videos and Twitch or Mixer videos are all m3u8 files with small chunks of videos, usually 2-5sec each. Those files are playable with mplayer, but it stops at the end of each one, and then starts the next one. Also, it doesn't update the playlist and stops when this ends. This behavior exists even on Linux/MacOS versions of mplayer.

    The solution for these streams is to port ffmpeg and ffplay. I worked on all these stuff because I created the aiostreams scripts that can be used on AmigaOS 4 and MorphOS, among other systems, but MorphOS lacks currently a player to support them.

    Have a look at:
    https://github.com/walkero-gr/aiostreams
    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=12689&forum=9#142698
  • »22.06.20 - 16:31
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 779 from 2007/10/23
    From: Gelsenkirchen,...
    an alternative access tonvid.com
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »22.06.20 - 20:21
    Profile
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Quote:

    walkero schrieb:

    The solution for these streams is to port ffmpeg and ffplay. I worked on all these stuff because I created the aiostreams scripts that can be used on AmigaOS 4 and MorphOS, among other systems, but MorphOS lacks currently a player to support them.



    Thanks for the additional links/info. I don't see any real need to port ffmpeg and/or ffplay , though. After all, MPlayer pretty much relies on the ffmpeg package and its infrastructure backend and now contains a fairly recent version as well.
    As far as I can tell, ffplay is just a very simple frontend for it.
  • »23.06.20 - 07:05
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Crumb
    Posts: 730 from 2003/2/24
    From: aGaS & CUAZ Al...
    Quote:

    walkero wrote:
    @polluks
    And of course https://aiostreams.amiga-projects.net for Twitch and Mixer as well.


    I used your scripts to watch youtube with the new MPlayer version, thank you. However, I haven't tested Live streams yet.

    In case MPlayer stream support lacks functionality to watch live streams perhaps it can be slightly updated.
  • »23.06.20 - 08:39
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    walkero
    Posts: 102 from 2006/3/1
    @cyfm
    Thank you for your reply. I am really glad that a newer version of mplayer is available for all of us to use.

    If you find a way to make mplayer play streams smoothly that rely on video chunks, please share how this is done and then I will be more than glad to use it, and I won't need ffplay.

    ffmpeg on the other hand is also useful for video conversions and process. That might be something nice to have.
  • »23.06.20 - 09:39
    Profile Visit Website