#763 Absolute\precise seeking crashes mplayer with streams (Youtube) with new mplayer builds (16.7)

smplayer
open
nobody
None
5
2016-07-18
2016-07-17
koko
No

Absolute seeking doesnt work with new builds of mplayer
how to replicate:
1 use youtube-dl.exe -g to extract raw stream url
2 launch smplayer with that url as a parameter
3 seek into the middle of the video using slider and a mouse

what happens:
-works great with relative seeking selected and precise unselected
-works great with absolute and/or precise seeking with mplayer sherpya-r37802+g666e2ed-5.3.1
-crashes mplayer with absolute and/or precise seeking with mplayer >37802 build, for example stock 16.7 install
-obviously doesnt crash if you jump seek with keyboard
-"remember time position" with "remember for streams" exacerbates debugging this because it seems to ignore current setting and seeks to absolute and/or precise timestamp it saved before. I had to juggle mplayer.exe files and keep generating new raw URLs to figure this out.

I even tried sherpya-r37853 build just to be sure its not the shipped Redxii-SVN-r37871

C:\Program Files\SMPlayer>mplayer\youtube-dl.exe -g https://www.youtube.com/watch?v=iuz2Vd8K_10
https://r1---sn-f5f7lne7.googlevideo.com/videoplayback?ratebypass=yes&itag=22&sver=3&upn=exk1QGJSjO8&expire=1468780468&id=o-AK9XxLg9M09o_gDuHS_Kg8BgbvZgfUQ07my8EuMtF0Qr&mm=31&mn=sn-f5f7lne7&ei=VHuLV_GbFszFduCOrLAP&ms=au&mt=1468758490&mv=m&cnr=14&pl=16&ip=31.178.207.150&initcwndbps=1350000&ipbits=0&mime=video%2Fmp4&sparams=cnr%2Cdur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt6&signature=B901E825724363AA61DBF2ECFCD232701DCC35BA.68E5459886C9BC19632D1558E9C2A59ECC9666B3&nh=IgpwcjAxLndhdzAyKg03Mi4xNC4yMjIuMjUx&fexp=9405185%2C9405985%2C9416126%2C9416891%2C9417893%2C9418642%2C9419451%2C9422596%2C9428398%2C9429585%2C9429854%2C9431012%2C9432131%2C9433096%2C9433380%2C9433946%2C9435526%2C9435876%2C9436617%2C9437066%2C9437553%2C9438663%2C9439652%2C9439884%2C9440218%2C9440535%2C9440721%2C9441213%2C9441399%2C9441603&lmt=1468716257785071&source=youtube&dur=90.209&requiressl=yes

C:\Program Files\SMPlayer>smplayer.exe "https://r1---sn-f5f7lne7.googlevideo.com/videoplayback?ratebypass=yes&itag=22&sver=3&upn=exk1QGJSjO8&expire=1468780468&id=o-AK9XxLg9M09o_gDuHS_Kg8BgbvZgfUQ07my8EuMtF0Qr&mm=31&mn=sn-f5f7lne7&ei=VHuLV_GbFszFduCOrLAP&ms=au&mt=1468758490&mv=m&cnr=14&pl=16&ip=31.178.207.150&initcwndbps=1350000&ipbits=0&mime=video%2Fmp4&sparams=cnr%2Cdur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt6&signature=B901E825724363AA61DBF2ECFCD232701DCC35BA.68E5459886C9BC19632D1558E9C2A59ECC9666B3&nh=IgpwcjAxLndhdzAyKg03Mi4xNC4yMjIuMjUx&fexp=9405185%2C9405985%2C9416126%2C9416891%2C9417893%2C9418642%2C9419451%2C9422596%2C9428398%2C9429585%2C9429854%2C9431012%2C9432131%2C9433096%2C9433380%2C9433946%2C9435526%2C9435876%2C9436617%2C9437066%2C9437553%2C9438663%2C9439652%2C9439884%2C9440218%2C9440535%2C9440721%2C9441213%2C9441399%2C9441603&lmt=1468716257785071&source=youtube&dur=90.209&requiressl=yes"

Discussion

  • koko

    koko - 2016-07-17

    hmm, precise has nothing to do with it, rechecked again and its only Absolute that causes scrashes.

     
  • Ricardo Villalba

    On linux with mplayer 37870 it seems to work fine with absolute seeking.

     
  • koko

    koko - 2016-07-18

    win10 x64, 16.7
    new mplayer builds:

    [17:25:46:147] MplayerProcess::parseLine: '[h264 @ 0000000001b09220]nal_unit_type: 1, nal_ref_idc: 2'
    [17:25:46:164] Core::goToPosition: value: 290
    [17:25:46:164] Core::goToSec: 128.000000
    [17:25:46:164] PlayerProcess::writeToStdin: seek 128 2 -1
    [17:25:46:185] MplayerProcess::gotError: 1
    [17:25:46:185] MplayerLayer::playingStopped
    [17:25:46:185] Screen::playingStopped
    [17:25:46:185] Screen::setAutoHideCursor: 0
    [17:25:46:185] Screen::playingStopped
    [17:25:46:185] Screen::setAutoHideCursor: 0
    [17:25:46:185] BaseGui::showErrorFromMplayer
    [17:25:55:486] Playlist::playerFailed
    [17:25:55:486] Core::enableScreensaver
    [17:25:55:486] WinScreenSaver::enable
    [17:25:55:486] WinScreenSaver::restoreState: lowpower: 0, poweroff: 0, screensaver: 0
    [17:25:55:486] MyProcess::procFinished
    [17:25:55:486] MyProcess::procFinished: Bytes available: 0
    [17:25:55:486] MplayerProcess::processFinished: exitCode: -1073741819, status: 1
    [17:25:55:486] MplayerLayer::playingStopped
    [17:25:55:486] Screen::playingStopped
    [17:25:55:486] Screen::setAutoHideCursor: 0
    [17:25:55:486] Screen::playingStopped
    [17:25:55:486] Screen::setAutoHideCursor: 0
    [17:25:55:486] Core::enableScreensaver
    [17:25:55:486] WinScreenSaver::enable
    [17:25:55:486] WinScreenSaver::restoreState: lowpower: 0, poweroff: 0, screensaver: 0
    [17:25:55:504] Core::processFinished
    [17:25:55:504] Core::processFinished: we_are_restarting: 0
    [17:25:55:504] Core::processFinished: play has finished!
    [17:25:55:504] BaseGui::displayState: "Stopped"
    [17:25:55:504] SkinGui::togglePlayAction
    [17:25:55:504] BaseGui::togglePlayAction
    [17:25:55:504] Core::processFinished: exit_code: -1073741819
    [17:25:55:504] BaseGui::displayState: "Stopped"
    [17:25:55:504] SkinGui::togglePlayAction
    [17:25:55:504] BaseGui::togglePlayAction
    [17:25:55:504] BaseGui::showExitCodeFromMplayer: -1073741819
    [17:25:55:504] BaseGui::showExitCodeFromMplayer: youtube-dl path: "C:/Program Files/smplayer/mplayer/youtube-dl.exe"
    [17:25:55:504] BaseGui::checkStayOnTop
    [17:25:55:504] BaseGui::checkStayOnTop
    [17:26:01:101] Playlist::playerFinishedWithError: -1073741819
    [17:26:04:163] BaseGui::showMplayerLog
    [17:26:16:786] BaseGui::showLog

    MPlayer sherpya-r37802+g666e2ed-5.3.1 (C) 2000-2016 MPlayer Team :

    [17:33:18:988] Core::goToPosition: value: 245
    [17:33:18:990] Core::goToSec: 108.000000
    [17:33:18:991] PlayerProcess::writeToStdin: seek 108 2 -1
    [17:33:19:134] MplayerProcess::parseLine: ''
    [17:33:19:136] MplayerProcess::parseLine: '[https @ 017f5140]request: GET /videoplayback?ei=ru2MV5zWDdandpmPiaAN&itag=22&pl=16&upn=cL3H__70ITE&source=youtube&expire=1468875278&sver=3&ipbits=0&dur=442.943&cnr=14&lmt=1468361309532866&signature=1F4A2F03F88ED4E8E30E881DF71CC32BD7F29853.7C7FD2472BD4319F9760664B63C21F5C968FA39C&ratebypass=yes&fexp=9405972,9416126,9416891,9417580,9417893,9419451,9422596,9428398,9431012,9433096,9433223,9433946,9435036,9435526,9435876,9436825,9437066,9437553,9437681,9438662,9438829,9439652,9439829,9439867,9440638,9441150,9441949&mime=video/mp4&key=yt6&nh=IgpwcjAxLndhdzAyKg03Mi4xNC4yMjIuMjUx&initcwndbps=1367500&requiressl=yes&id=o-AJyARo0_89NkNsLTm92md33yzA3OkdkGx46DC7dORVSc&mm=31&mn=sn-f5f7lne7&ms=au&mt=1468853308&sparams=cnr,dur,ei,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,nh,pl,ratebypass,requiressl,source,upn,expire&mv=m&ip=31.178.207.150&title=Andrew%20VS%20Michael%20-%20Wikiwars%20Round%20Robin%20Randomness! HTTP/1.1'
    [17:33:19:138] MplayerProcess::parseLine: ''
    [17:33:19:139] MplayerProcess::parseLine: 'User-Agent: Lavf/57.26.100'

    and keeps going fine

     
    Last edit: koko 2016-07-18

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks