VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Page 3 of 7
FirstFirst 1 2 3 4 5 ... LastLast
Results 61 to 90 of 194
Thread
  1. Originally Posted by Bahman View Post
    Use alternative way!

    Originally Posted by saptecai View Post
    My rmpt captures seem to suddenly stop on their own without reaching 4Gb. Is there a way to make them restart from where they left?
    add -e option before -y !
    Hey just jumping on this, this sometimes happens to me, this is my cmd line prompt:

    Code:
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    Connecting ...
    INFO: Connected...
    Starting download at: 0.000 kB
    INFO: Metadata:
    INFO:   duration              10295.68
    INFO:   moovPosition          36.00
    INFO:   width                 1280.00
    INFO:   height                720.00
    INFO:   videocodecid          avc1
    INFO:   audiocodecid          mp4a
    INFO:   avcprofile            77.00
    INFO:   avclevel              31.00
    INFO:   aacaot                2.00
    INFO:   videoframerate        25.00
    INFO:   audiosamplerate       44100.00
    INFO:   audiochannels         2.00
    INFO: trackinfo:
    INFO:   length                10292001.00
    INFO:   timescale             1000.00
    INFO:   language              eng
    INFO: sampledescription:
    INFO:   sampletype            amf0
    INFO:   length                10295681.00
    INFO:   timescale             1000.00
    INFO:   language              eng
    INFO: sampledescription:
    INFO:   sampletype            avc1
    INFO:   length                10295682.00
    INFO:   timescale             1000.00
    INFO:   language              eng
    INFO: sampledescription:
    INFO:   sampletype            mp4a
    1039397.226 kB / 2436.00 sec (23.6%)
    Download may be incomplete (downloaded about 23.60%), try resuming
    
    C:\Users\>
    I'm not sure what you mean by add -e option before -y, is it with this bit:

    Code:
    "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -C O:1 -C O:0 -y "mp4:secure/3200kbps/events/p00w358f_1343735010534.mp4" -o "download.mp4"
    Do I just put -e before the -y and then re-find my auth string + identifier (with the new -e command plus keep hold of the previously downloaded file?)

    I'm a bit out of my depth. If I can't get it to work ill just keep downloading again from scratch, it eventually works!
    Quote Quote  
  2. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by wantwork View Post
    how do I select country?

    and what do you mean set proxy address and port of AdvOR in browser

    I'm using firefox right now
    I'm not here to teach anyone How to use proxies! OK?
    But I hope this is your last question about proxies!

    Click on the right button of New identity:
    Click image for larger version

Name:	505.jpg
Views:	1475
Size:	6.1 KB
ID:	13465

    You can see address and port at top of log list:
    Click image for larger version

Name:	253.jpg
Views:	1467
Size:	9.9 KB
ID:	13464

    Go to FF, Options, "Advanced" tab, "Network" tab, Setting, use Manual and enter address and port!

    Originally Posted by testacc22 View Post
    I'm not sure what you mean by add -e option before -y, is it with this bit:

    Code:
    "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -C O:1 -C O:0 -y  "mp4:secure/3200kbps/events/p00w358f_1343735010534.mp4" -o  "download.mp4"
    Do I just put -e before the -y and then re-find my auth string + identifier (with the new -e command plus keep hold of the previously downloaded file)?
    You can add it anywhere you want, like this:
    Code:
    "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -C O:1 -C O:0 -y "mp4:secure/3200kbps/events/p00w358f_1343735010534.mp4" -e -o "download.mp4"
    and Yes, Find a Fresh Auth string and resume downloaded file!
    Quote Quote  
  3. This works fine for me on OS X:

    get_iplayer --raw "http://www.bbc.co.uk/sport/olympics/2012/live-video/p00w332j"
    Quote Quote  
  4. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Possibly one of the most entertaining topics for some time. Not quite as good as the real thing tho

    And, yes, I have not understood a word that has been written

    But you guys had better be quick. The show ends tonight and I can not see the BBC keeping the vids on their servers for much longer after the flame goes out.
    Quote Quote  
  5. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by flimbar View Post
    This works fine for me on OS X:

    get_iplayer --raw "http://www.bbc.co.uk/sport/olympics/2012/live-video/p00w332j"
    Spoke too soon. I actually understood this post.

    And it works in Windoze too. No need for any auth string blah blah.
    Quote Quote  
  6. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by DB83 View Post
    But you guys had better be quick. The show ends tonight and I can not see the BBC keeping the vids on their servers for much longer after the flame goes out.
    The videos are available till 01.12.2013!
    Quote Quote  
  7. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Bahman View Post
    Originally Posted by DB83 View Post
    But you guys had better be quick. The show ends tonight and I can not see the BBC keeping the vids on their servers for much longer after the flame goes out.
    The videos are available till 01.12.2013!
    Just curious. Where do you get that date from ?

    Ok, these are not standard iplayer vids but those are only available for a max of 30 days from initial transmission and quite often less than that.
    Quote Quote  
  8. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Quote Quote  
  9. Member
    Join Date
    Aug 2012
    Location
    Sydney, Aust
    Search Comp PM
    Code:
    C:\Users\...\rtmpdump-v2.4-35>rtmpdump -r "rtmp://cp41752.edgefcs.net:1935/ondemand" -a "ondemand?auth=daEc.cddxbQcfbzd3dYdGa_cPcUb4aOcYdc-bqkkw3-bWG-Dp
    oGDoypKCsHszC&aifp=v001&slist=secure/1500kbps/MP/events/p00w395z_1343923141233.mp4;secure/800kbps/MP/events/p00w395z_1343923141216.mp4;secure/480kbps/MP/events/p00w3
    95z_1343923141190.mp4;secure/3200kbps/events/p00w395z_1343923141251.mp4" identifier="mp4:secure/3200kbps/events/p00w395z_1343923141251.mp4" -W "http://www.bbc.co.uk/
    emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -C O:1 -C O:0 -y "mp4:secure/3200kbps/events/p00w395z_1343923141251.mp4" -o "judo1.flv"
    RTMPDump v2.4-35-ge0056c5
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf
    Connecting ...
    ERROR: RTMP_Connect0, failed to connect socket. 10013 (Unknown error)
    
    
    C:\Users\...\rtmpdump-v2.4-35>rtmpdump -r "rtmp://cp41752.edgefcs.net:1935/ondemand" -a "ondemand?auth=daEc.cddxbQcfbzd3dYdGa_cPcUb4aOcYdc-bqkkw3-bWG-Dp
    oGDoypKCsHszC&aifp=v001&slist=secure/1500kbps/MP/events/p00w395z_1343923141233.mp4;secure/800kbps/MP/events/p00w395z_1343923141216.mp4;secure/480kbps/MP/events/p00w3
    95z_1343923141190.mp4;secure/3200kbps/events/p00w395z_1343923141251.mp4" identifier="mp4:secure/3200kbps/events/p00w395z_1343923141251.mp4" -W "http://www.bbc.co.uk/
    emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -C O:1 -C O:0 -e -y "mp4:secure/3200kbps/events/p00w395z_1343923141251.mp4" -o "judo1.flv"
    RTMPDump v2.4-35-ge0056c5
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf
    good day guys, i followed the instructions and i got 2 errors

    1) ERROR: RTMP_Connect0, failed to connect socket. 10013 (Unknown error)
    2) ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf


    any advice on this please?

    also, for the guys who cannot find the URL
    Code:
    http://open.live.bbc.co.uk/mediaselector/5/select/format/xml/version/2.0/vpid/p00w395z/mediaset/pc/atk/f65f0a7e1157b338e0b2732cbd8a282d3ffa0a89/asn/1/?backend=pips]
    you can use CTRL-SHIFT-K on firefox

    i have 2 questions, as i just realise that there are 3 media bitrates i can choose
    1500 => 496p ,, 2800 => 720p ,, 796 =>360p
    how do i choose the resolution i want other then --mode=best ?

    i am behind a HMA VPN, have no issues with opera:cache, get_iplayer, so i don't see how "connection error" is a problem.
    =D
    Quote Quote  
  10. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Bahman View Post
    I took a closer look at the BBC Olympic website and, yes, they do state that catch-up videos will be available 'until January'.

    All very generous of us UK-based licence fee payers.
    Quote Quote  
  11. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by quackeroats View Post
    good day guys, i followed the instructions and i got 2 errors

    1) ERROR: RTMP_Connect0, failed to connect socket. 10013 (Unknown error)
    2) ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf


    any advice on this please?

    i am behind a HMA VPN, have no issues with opera:cache, get_iplayer, so i don't see how "connection error" is a problem.
    =D
    The Errors don't mean anything except your VPN doesn't work!

    Originally Posted by quackeroats View Post
    i have 2 questions, as i just realise that there are 3 media bitrates i can choose
    1500 => 496p ,, 2800 => 720p ,, 796 =>360p
    how do i choose the resolution i want other then --mode=best ?
    There are 4 bitrates, you missed 480 => 360p !

    Each one you want, just copy their play path in the play path of rtmpdump ( -y ):

    Code:
    rtmpdump -r "rtmp://cp41752.edgefcs.net/ondemand" -a "ondemand?auth=daEcMbEdvafamdKbhdYdPada6dWc0dzaFbw-bqkmUG-bWG-JolGBnBnHEtFuzC&aifp=v001&slist=secure/800kbps/MP/events/p00w395z_1343923141216.mp4;secure/480kbps/MP/events/p00w395z_1343923141190.mp4;secure/1500kbps/MP/events/p00w395z_13439231412
    33.mp4;secure/3200kbps/events/p00w395z_1343923141251.mp4" -W "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -y "mp4:secure/3200kbps/events/p00w395z_1343923141251.mp4" -o "judo.flv"
    RTMPDump
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    Connecting ...
    INFO: Connected...
    Starting download at: 0.000 kB
    INFO: Metadata:
    INFO:   duration              10902.70
    INFO:   moovPosition          36.00
    INFO:   width                 1280.00
    INFO:   height                720.00
    INFO:   videocodecid          avc1
    INFO:   audiocodecid          mp4a
    INFO:   avcprofile            77.00
    INFO:   avclevel              31.00
    INFO:   aacaot                2.00
    INFO:   videoframerate        25.00
    INFO:   audiosamplerate       44100.00
    INFO:   audiochannels         2.00
    INFO: trackinfo:
    INFO:   length                10900001.00
    INFO:   timescale             1000.00
    INFO:   language              eng
    INFO: sampledescription:
    INFO:   sampletype            amf0
    INFO:   length                10902681.00
    INFO:   timescale             1000.00
    INFO:   language              eng
    INFO: sampledescription:
    INFO:   sampletype            avc1
    INFO:   length                10902698.00
    INFO:   timescale             1000.00
    INFO:   language              eng
    INFO: sampledescription:
    INFO:   sampletype            mp4a
    320.682 kB / 0.80 sec (0.0%)
    Last edited by Bahman; 13th Aug 2012 at 04:58.
    Quote Quote  
  12. Member
    Join Date
    Aug 2012
    Location
    Sydney, Aust
    Search Comp PM
    Originally Posted by Bahman View Post
    The Errors don't mean anything except your VPN doesn't work!
    EDIT: fire wall issues, i resolved this

    Originally Posted by Bahman View Post
    There are 4 bitrates, you missed 480 => 360p !
    Each one you want, just copy their play path in the play path of rtmpdump ( -y ):
    actually my firefox only returned 3 <media bitrate = xxx>, i did not see the 480p=>360p code.

    also i noticed from ur quote, i PLACE THE identifier="...." bit in the wrong place of the rtmp command.

    i will try again. thanks

    EDIT: added the italics
    everything works now, thanks for ur input bahman. =D=D=D=D=D

    now to try and work eurovisionsports.tv which do not belong in this thread.
    Last edited by quackeroats; 13th Aug 2012 at 05:23.
    Quote Quote  
  13. Originally Posted by flimbar View Post
    This works fine for me on OS X:

    get_iplayer --raw "http://www.bbc.co.uk/sport/olympics/2012/live-video/p00w332j"
    Excellent flimbar, this does indeed work and is simpler that the previous method. As with the previous method, 4Gb file limit may cause problems, in which case the --start and --stop options can also be used with get_iplayer.

    Also you may want to pick a different stream resolution, in which case the --modes option is needed. For example:

    Code:
    get_iplayer <url> --raw --modes <mode> --start <start> --stop <stop>
    where <url> is the video page URL, i.e. the one you get to after selecting the sport and contains the video player with the London skyline, <mode> can be flashhd (1280x720), flashvhigh (832x468), flashhigh (640x360) or flashlow (512x288), <start> is the start offset in seconds and <stop> is the end offset in seconds.

    Some streams don't have all video modes, for example the closing ceremony is not available in HD. To get the highest for a given stream you can provide a comma separated list to the --modes option, for example flashhd,flashvhigh which would first try the HD resolution, then very high if that fails.

    You may still want to change the container to mp4 with ffmpeg after doing this, the --raw above downloads as plain flash. I have found this helpful for Windows Media Player as it does not like flv files. It also fixes the video files if you do need to split them. I believe FLVFixer also works for this.
    Quote Quote  
  14. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by mikethetv View Post
    Some streams don't have all video modes, for example the closing ceremony is not available in HD. To get the highest for a given stream you can provide a comma separated list to the --modes option, for example flashhd,flashvhigh which would first try the HD resolution, then very high if that fails.
    Closing Ceremony - No Commentary HD:
    http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p00w37c.../?backend=pips
    They have removed any links to this video, but yesterday I got it before removing!

    Originally Posted by mikethetv View Post
    You may still want to change the container to mp4 with ffmpeg after doing this, the --raw above downloads as plain flash. I have found this helpful for Windows Media Player as it does not like flv files. It also fixes the video files if you do need to split them. I believe FLVFixer also works for this.
    I have a problem with FFmpeg! I want to trim 4seconds at the first of part 2 video (which has no audio), but I can't! I used -ss parameter but doesn't work! What can I do?
    Quote Quote  
  15. Originally Posted by Bahman View Post
    Originally Posted by mikethetv View Post
    Some streams don't have all video modes, for example the closing ceremony is not available in HD. To get the highest for a given stream you can provide a comma separated list to the --modes option, for example flashhd,flashvhigh which would first try the HD resolution, then very high if that fails.
    Closing Ceremony - No Commentary HD:
    http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p00w37c.../?backend=pips
    They have removed any links to this video, but yesterday I got it before removing!

    Originally Posted by mikethetv View Post
    You may still want to change the container to mp4 with ffmpeg after doing this, the --raw above downloads as plain flash. I have found this helpful for Windows Media Player as it does not like flv files. It also fixes the video files if you do need to split them. I believe FLVFixer also works for this.
    I have a problem with FFmpeg! I want to trim 4seconds at the first of part 2 video (which has no audio), but I can't! I used -ss parameter but doesn't work! What can I do?
    Well caught on the HD closing ceremony link, thanks. Don't suppose you have the opening ceremony link still?

    What issue do you get with ffmpeg, does it just not trim the amount you expect or does it fail with an error?? I had a couple of streams on which I used -ss to fix the inconsistent timestamp for parts 2 and 3 that initially failed with the 1 second trim I tried, but worked with 4 or 5. Now I was not that bothered about loosing an extra few seconds and assumed it was due to encoding boundaries in the video stream which ffmpeg wanted to be aligned onto. I never got around to exploring it further or trying FLVFixer.
    Quote Quote  
  16. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    I have downloaded Opening Ceremony in 2 parts! first one is 4GB and 2:44:40! but 2nd one starts at 2:45:00 and because of that ffmpeg doesn't find any stream:
    Code:
        
    ffmpeg -ss 4 -i "London 2012 Olympic Opening Ceremony part 2.flv" -c:v copy
    -c:a copy "London 2012 Olympic Opening Ceremony Part 2.mp4"
    ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
    ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
     --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
    -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
    njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
    eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
    libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
    nable-zlib
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 49.100 / 54. 49.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [flv @ 0234d420] Broken FLV file, which says no streams present, this might fail
    
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] negative cts, previous timestamps might be wrong
        Last message repeated 98 times
    [flv @ 0234d420] Stream discovered after head already parsed
        Last message repeated 900 times
        Stream #0:001: Data: none
        .
        .
        Stream #0:989: Data: none
        Stream #0:990: Data: none
        Stream #0:991: Data: none
    Output #0, mp4, to 'London 2012 Olympic Opening Ceremony Part 2.mp4':
      Metadata:
        encoder         : Lavf54.22.100
        Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:
    1 DAR 16:9], q=2-31, 1k tbn, 1k tbc
        Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] New data stream 0:992 at pos:3377118 and DTS:9904s
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] New data stream 0:993 at pos:5254981 and DTS:9908s
    [mp4 @ 040556a0] pts (3040) < dts (3080) in stream 0
    av_interleaved_write_frame(): Invalid argument
    Quote Quote  
  17. Originally Posted by Bahman View Post
    I have downloaded Opening Ceremony in 2 parts! first one is 4GB and 2:44:40! but 2nd one starts at 2:45:00 and because of that ffmpeg doesn't find any stream:
    Code:
        
    ffmpeg -ss 4 -i "London 2012 Olympic Opening Ceremony part 2.flv" -c:v copy
    -c:a copy "London 2012 Olympic Opening Ceremony Part 2.mp4"
    ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
    ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
     --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
    -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
    njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
    eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
    libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
    nable-zlib
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 49.100 / 54. 49.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [flv @ 0234d420] Broken FLV file, which says no streams present, this might fail
    
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] negative cts, previous timestamps might be wrong
        Last message repeated 98 times
    [flv @ 0234d420] Stream discovered after head already parsed
        Last message repeated 900 times
        Stream #0:001: Data: none
        .
        .
        Stream #0:989: Data: none
        Stream #0:990: Data: none
        Stream #0:991: Data: none
    Output #0, mp4, to 'London 2012 Olympic Opening Ceremony Part 2.mp4':
      Metadata:
        encoder         : Lavf54.22.100
        Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:
    1 DAR 16:9], q=2-31, 1k tbn, 1k tbc
        Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] New data stream 0:992 at pos:3377118 and DTS:9904s
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] New data stream 0:993 at pos:5254981 and DTS:9908s
    [mp4 @ 040556a0] pts (3040) < dts (3080) in stream 0
    av_interleaved_write_frame(): Invalid argument
    I had something similar to that this morning on a stream I downloaded. Just kept getting the "av_interleaved_write_frame(): Invalid argument" error, nothing else. In the end after trying various trim offsets I gave up redownloaded it in HD from the link you provided. This is the first stream were its failed completely in ffmpeg.

    I am afraid I did not notice what the record start/stop times were to see if it was missing a chunk of time like yours. Did you stop the first part after <x> seconds or did it just stop due to 4Gb limit and then you started the second part were it left off?

    BTW, do you still have the mediaselector link for the opening ceremony?
    Quote Quote  
  18. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by mikethetv View Post
    I am afraid I did not notice what the record start/stop times were to see if it was missing a chunk of time like yours. Did you stop the first part after <x> seconds or did it just stop due to 4Gb limit and then you started the second part were it left off?
    I don't like to use proxies and VPN in order to download these videos, because they make my internet speed so low. I gave the command and rtmpdump to my friend which live in UK, and he downloaded it for me and uploaded on his website. He is right now dling Closing Ceremony! lol
    No, I didn't set stop parameter for it because I didn't thinks it fails after 4GB! Anyway, i didn't have problem with first part! It's OK!
    Originally Posted by mikethetv View Post
    BTW, do you still have the mediaselector link for the opening ceremony?
    Yes,
    http://open.live.bbc.co.uk/mediaselector/5/select/format/xml/version/2.0/vpid/p00w33gm.../?backend=pips
    I like No Commentaries type of videos, because you can hear sounds better!
    Quote Quote  
  19. Originally Posted by Bahman View Post
    Originally Posted by mikethetv View Post
    I am afraid I did not notice what the record start/stop times were to see if it was missing a chunk of time like yours. Did you stop the first part after <x> seconds or did it just stop due to 4Gb limit and then you started the second part were it left off?
    I don't like to use proxies and VPN in order to download these videos, because they make my internet speed so low. I gave the command and rtmpdump to my friend which live in UK, and he downloaded it for me and uploaded on his website. He is right now dling Closing Ceremony! lol
    No, I didn't set stop parameter for it because I didn't thinks it fails after 4GB! Anyway, i didn't have problem with first part! It's OK!
    Just wondered about how the first part ended as I suspect the combination of --stop/--start for limiting the size and restarting were the first left off results in a cleaner termination of the first part and start up of the second part.

    Originally Posted by Bahman View Post
    Originally Posted by mikethetv View Post
    BTW, do you still have the mediaselector link for the opening ceremony?
    Yes,
    http://open.live.bbc.co.uk/mediaselector/5/select/format/xml/version/2.0/vpid/p00w33gm.../?backend=pips
    I like No Commentaries type of videos, because you can hear sounds better!
    Thanks for the link. Where did you find this as I could not locate it except as a non-HD normal iPlayer link?

    Just out of interest, and don't take this the wrong way, but did you "get" the opening ceremony without the commentry? Being British it made sense to me as its our history, but in places I was not sure whether non-Brits would understand the characters or story unfolding. There were a couple of bits I got a little lost in, but I think that mat have been due to the HD coverage I was watching. They had two streams being broadcast over the air, one 2D/3D HD stream and one 2D only stream, that were covering the event from different angles.
    Quote Quote  
  20. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by mikethetv View Post
    Thanks for the link. Where did you find this as I could not locate it except as a non-HD normal iPlayer link?

    Just out of interest, and don't take this the wrong way, but did you "get" the opening ceremony without the commentry? Being British it made sense to me as its our history, but in places I was not sure whether non-Brits would understand the characters or story unfolding. There were a couple of bits I got a little lost in, but I think that mat have been due to the HD coverage I was watching. They had two streams being broadcast over the air, one 2D/3D HD stream and one 2D only stream, that were covering the event from different angles.
    I had that link in history of FireFox which is for catch-up section! I even have this one which is for iplayer section: http://www.bbc.co.uk/iplayer/episode/p00w2r5c/hd/Olympic_Ceremonies_London_2012_Online...emony_no_comm/
    and the mediaselector: http://www.bbc.co.uk/mediaselector/4/mtis/stream/p00pvbhc
    I think this one is a bit longer (in aspect of duration)!

    I also got with Commentary version! My British friend also uploaded for me a mkv file which was 8.55GB and 5h 51min with Countdown and Opening ceremony! but Commentary version doesn't let us hear sounds in stadium perfectly!

    I didn't know there was 2 stream!
    Quote Quote  
  21. Member
    Join Date
    Aug 2012
    Location
    Sydney, Aust
    Search Comp PM
    Originally Posted by Bahman View Post
    You need to use FLVFixer PHP script in order to fix it and then try resuming!
    how do i run this script on win 7?

    Code:
     php FlvFixer.php --in file.flv
    thats all? then after this i can resume the get_iplayer download?
    Last edited by quackeroats; 13th Aug 2012 at 19:30.
    Quote Quote  
  22. Hi,

    I'm new to this thread. I've been downloading from NBCOlympics. However, someone uploaded the closing ceremonies with 5.1 sound and said the streams came from the BBC Site (over 13GB in size!). Already, the NBC site doesn't have the full stream of the closing ceremonies (there are commercials from what I've heard) but not only that, NBCOlympics uses Youtube videos, and as such the audio is limited to 2 channels and is .aac format. Video also seems to be limited to a bitrate of around 5000 for 1080p.

    So I'm here because I want the highest quality. However, I'm running into some trouble. I'm using a VPN (ipvanish) but none of the streams seem to play on the bbc site http://www.bbc.co.uk/sport/olympics/2012/live-video

    However, videos do play on the iplayer site: http://www.bbc.co.uk/iplayer/episode/b01m1l2q/Olympic_Ceremonies_London_2012_Closing_Ceremony/

    It keeps saying "This content doesn't seem to be working. Try again later" on the non-iplayer BBC site. Anybody know what's up? I don't live in the US either but am able to make their videos work with my VPN. I don't understand why BBC videos won't play for me.

    Thanks!
    Quote Quote  
  23. Originally Posted by JustPassing View Post
    Hi,

    I'm new to this thread. I've been downloading from NBCOlympics. However, someone uploaded the closing ceremonies with 5.1 sound and said the streams came from the BBC Site (over 13GB in size!). Already, the NBC site doesn't have the full stream of the closing ceremonies (there are commercials from what I've heard) but not only that, NBCOlympics uses Youtube videos, and as such the audio is limited to 2 channels and is .aac format. Video also seems to be limited to a bitrate of around 5000 for 1080p.

    So I'm here because I want the highest quality. However, I'm running into some trouble. I'm using a VPN (ipvanish) but none of the streams seem to play on the bbc site http://www.bbc.co.uk/sport/olympics/2012/live-video

    However, videos do play on the iplayer site: http://www.bbc.co.uk/iplayer/episode/b01m1l2q/Olympic_Ceremonies_London_2012_Closing_Ceremony/

    It keeps saying "This content doesn't seem to be working. Try again later" on the non-iplayer BBC site. Anybody know what's up? I don't live in the US either but am able to make their videos work with my VPN. I don't understand why BBC videos won't play for me.

    Thanks!
    Not sure whats up on the live site JustPassing, I sometimes get that error but usually after an extended period of time as I think the page and contents expires after a bit. It is probably due to the VPN you are using as the live site prefers to send the video as Adobe HDS (see an earlier post from Bahman).

    As flimbar discovered and I expanded on a few posts back, you can simply use the get_iplayer scripts to download the streams from the live site using the alternative akamai feed. If you can get the standard iPlayer site to work I would have thought get_iplayer would also.

    For high quality streams see the options passed to get_iplayer from my post.
    Quote Quote  
  24. Originally Posted by quackeroats View Post
    Originally Posted by Bahman View Post
    You need to use FLVFixer PHP script in order to fix it and then try resuming!
    how do i run this script on win 7?

    Code:
     php FlvFixer.php --in file.flv
    thats all? then after this i can resume the get_iplayer download?
    You also need a PHP interpreter, for example from here.
    Quote Quote  
  25. Originally Posted by Bahman View Post
    Originally Posted by mikethetv View Post
    Some streams don't have all video modes, for example the closing ceremony is not available in HD. To get the highest for a given stream you can provide a comma separated list to the --modes option, for example flashhd,flashvhigh which would first try the HD resolution, then very high if that fails.
    Closing Ceremony - No Commentary HD:
    http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p00w37c.../?backend=pips
    They have removed any links to this video, but yesterday I got it before removing!

    Originally Posted by mikethetv View Post
    You may still want to change the container to mp4 with ffmpeg after doing this, the --raw above downloads as plain flash. I have found this helpful for Windows Media Player as it does not like flv files. It also fixes the video files if you do need to split them. I believe FLVFixer also works for this.
    I have a problem with FFmpeg! I want to trim 4seconds at the first of part 2 video (which has no audio), but I can't! I used -ss parameter but doesn't work! What can I do?
    Bahman are you still having issues with part 2 having no audio at the start? I discovered that all of my part 2's had audio/video sync issues of 4-5 seconds, the audio being behind the video. I am guessing this is as a result of the stream splitting.

    Googling suggested using ffmpeg and the -itsoffset option, which seems to shift the timestamps of the audio or video streams in the file without actually trimming any data, but I failed to get this to work. After some more Googling it seems this may be an mp4 container issue/bug with ffmpeg.

    After a bit more experimenting splitting the audio and video streams into separate files I found that the following seems to work in one simple command line:

    Code:
    ffmpeg -i "in.mp4" -ss <offset> -i "in.mp4" -map 0:0 -map 1:1 -vcodec copy -acodec copy out.mp4
    Basically what is happening here is we are using ffmpeg to mix and match audio and video streams from two files, in this case the same file, and produce an output with one stream moved.
    • The first -i selects the file from which the video stream will be taken (stream 0 in that file).
    • Then we ask ffmpeg to seek to a given offset in the next input file with the -ss option (ffmpeg options apply to the following input file).
    • The next input file specified by -i is used for the audio stream (stream 1 in that file).
    • The -map options basically pick the video stream 0 from file 0 and the audio stream 1 from file 1.
    • Finally the -vcodec copy and -acodec copy just ensure we don't re-encode.
    With this I have managed to shift my audio stream by the 5 seconds it was out and now its spot on.
    Quote Quote  
  26. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by mikethetv View Post
    Bahman are you still having issues with part 2 having no audio at the start? I discovered that all of my part 2's had audio/video sync issues of 4-5 seconds, the audio being behind the video. I am guessing this is as a result of the stream splitting.

    Googling suggested using ffmpeg and the -itsoffset option, which seems to shift the timestamps of the audio or video streams in the file without actually trimming any data, but I failed to get this to work. After some more Googling it seems this may be an mp4 container issue/bug with ffmpeg.

    After a bit more experimenting splitting the audio and video streams into separate files I found that the following seems to work in one simple command line:

    Code:
    ffmpeg -i "in.mp4" -ss <offset> -i "in.mp4" -map 0:0 -map 1:1 -vcodec copy -acodec copy out.mp4
    Basically what is happening here is we are using ffmpeg to mix and match audio and video streams from two files, in this case the same file, and produce an output with one stream moved.
    • The first -i selects the file from which the video stream will be taken (stream 0 in that file).
    • Then we ask ffmpeg to seek to a given offset in the next input file with the -ss option (ffmpeg options apply to the following input file).
    • The next input file specified by -i is used for the audio stream (stream 1 in that file).
    • The -map options basically pick the video stream 0 from file 0 and the audio stream 1 from file 1.
    • Finally the -vcodec copy and -acodec copy just ensure we don't re-encode.
    With this I have managed to shift my audio stream by the 5 seconds it was out and now its spot on.
    Thank you for helping, Mike!
    I used this command and inputted flv files but it doesn't work yet! Why do you have used .mp4 file as input file? Our downloaded files are flv!
    Code:
    ffmpeg -i "in.mp4" -ss <offset> -i "in.mp4" -map 0:0 -map 1:1 -vcodec copy -acodec copy out.mp4
    I used this command:
    Code:
    ffmpeg -i "London 2012 Olympic Opening Ceremony part 2.flv" -ss 4 -i "London 2012 Olympic Opening Ceremony part 2.flv" -map 0:0 -map 1:1 -vcodec copy -acodec copy "London 2012 Olympic Opening Ceremony part 2.mp4"
    and this the result:
    Code:
        
    [flv @ 0234d420] Broken FLV file, which says no streams present, this might fail
    
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] negative cts, previous timestamps might be wrong
        Last message repeated 98 times
    Input #0, flv, from 'London 2012 Olympic Opening Ceremony part 2.flv':
      Duration: 03:50:56.68, start: 9896.040000, bitrate: 992 kb/s
        Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tb
    r, 1k tbn, 50 tbc
        Stream #0:1: Audio: aac, 44100 Hz, stereo, s16
        Stream #0:2: Data: none
    [flv @ 02349ac0] Broken FLV file, which says no streams present, this might fail
    
    [flv @ 02349ac0] Stream discovered after head already parsed
    [flv @ 02349ac0] negative cts, previous timestamps might be wrong
        Last message repeated 98 times
    [flv @ 02349ac0] Stream discovered after head already parsed
        Last message repeated 991 times
        Stream #1:991: Data: none
    Output #0, mp4, to 'London 2012 Olympic Opening Ceremony part 2.mp4':
      Metadata:
        encoder         : Lavf54.22.100
        Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:
    1 DAR 16:9], q=2-31, 1k tbn, 1k tbc
        Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0420fba0] Application provided invalid, non monotonically increasing dts
    to muxer in stream 0: 40 >= 40
    av_interleaved_write_frame(): Invalid argument
    Quote Quote  
  27. Originally Posted by Bahman View Post

    Thank you for helping, Mike!
    I used this command and inputted flv files but it doesn't work yet! Why do you have used .mp4 file as input file? Our downloaded files are flv!
    Code:
    ffmpeg -i "in.mp4" -ss <offset> -i "in.mp4" -map 0:0 -map 1:1 -vcodec copy -acodec copy out.mp4
    I used this command:
    Code:
    ffmpeg -i "London 2012 Olympic Opening Ceremony part 2.flv" -ss 4 -i "London 2012 Olympic Opening Ceremony part 2.flv" -map 0:0 -map 1:1 -vcodec copy -acodec copy "London 2012 Olympic Opening Ceremony part 2.mp4"
    and this the result:
    Code:
        
    [flv @ 0234d420] Broken FLV file, which says no streams present, this might fail
    
    [flv @ 0234d420] Stream discovered after head already parsed
    [flv @ 0234d420] negative cts, previous timestamps might be wrong
        Last message repeated 98 times
    Input #0, flv, from 'London 2012 Olympic Opening Ceremony part 2.flv':
      Duration: 03:50:56.68, start: 9896.040000, bitrate: 992 kb/s
        Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tb
    r, 1k tbn, 50 tbc
        Stream #0:1: Audio: aac, 44100 Hz, stereo, s16
        Stream #0:2: Data: none
    [flv @ 02349ac0] Broken FLV file, which says no streams present, this might fail
    
    [flv @ 02349ac0] Stream discovered after head already parsed
    [flv @ 02349ac0] negative cts, previous timestamps might be wrong
        Last message repeated 98 times
    [flv @ 02349ac0] Stream discovered after head already parsed
        Last message repeated 991 times
        Stream #1:991: Data: none
    Output #0, mp4, to 'London 2012 Olympic Opening Ceremony part 2.mp4':
      Metadata:
        encoder         : Lavf54.22.100
        Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:
    1 DAR 16:9], q=2-31, 1k tbn, 1k tbc
        Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0420fba0] Application provided invalid, non monotonically increasing dts
    to muxer in stream 0: 40 >= 40
    av_interleaved_write_frame(): Invalid argument
    I only use MP4 files because Windows Media Player does not play FLV files. The FLV to MP4 is only a container change after all.

    I have however always had to specify a skip value -ss when doing the FLV to MP4 conversion for parts 2 onwards otherwise I get that error. I usually can get away with a 1 second skip and that seems enough to get ffmpeg to ignore the invalid dts. There may be a better way to do this but that worked and so far I have not had time to explore other options. FLVFixer may do it.

    I suspect it fails for you because although you are skipping the audio stream, the video stream has the broken dts. You could try a skip on both audio and video streams, i.e. put a -ss before the first -i. You would then have to shift your audio by a bit more, for example the first -ss 1 the second -ss 5. When I convert FLV to MP4 the -ss 1 I use gets applied to both audio and video streams.

    As I said the better way may be to fix the FLV so ffmpeg does not barf on it in the first place. Skipping over the start of the audio/video stream to avoid the error is a little brutal.

    BTW when you said there was silence at the start, was the audio and video out of sync from there on? If not maybe what you need to trim is actually the video stream?

    Hope that helps.
    Quote Quote  
  28. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by mikethetv View Post
    BTW when you said there was silence at the start, was the audio and video out of sync from there on? If not maybe what you need to trim is actually the video stream?
    No, Video starts but there is no audio for 3.96 sec and after that Audio comes and is sync with the video!

    Anyway, It was a bug of new version of ffmpeg! I was using 4 Aug version which had bugs!
    I used an old version of ffmpeg and this simple command!! It's OK right now and Sync! yahhhoooooooooooooo!
    Code:
    ffmpeg -ss 4 -i "part 2.flv" -c:v copy -c:a copy "Part 2.mp4"
    Thank you once again, Mike!
    Quote Quote  
  29. Originally Posted by Bahman View Post
    Originally Posted by mikethetv View Post
    BTW when you said there was silence at the start, was the audio and video out of sync from there on? If not maybe what you need to trim is actually the video stream?
    No, Video starts but there is no audio for 3.96 sec and after that Audio comes and is sync with the video!

    Anyway, It was a bug of new version of ffmpeg! I was using 4 Aug version which had bugs!
    I used an old version of ffmpeg and this simple command!! It's OK right now and Sync! yahhhoooooooooooooo!
    Code:
    ffmpeg -ss 4 -i "part 2.flv" -c:v copy -c:a copy "Part 2.mp4"
    Thank you once again, Mike!
    Glad you fixed it. Which version are you using now?

    Up till this morning I was using a very old 0.8 version of ffmpeg, pulled the latest 9th August build this morning so hopefully the bugs been fixed in that version.
    Quote Quote  
  30. Stream recording expert Bahman's Avatar
    Join Date
    Dec 2011
    Location
    Tehran, Iran
    Search Comp PM
    Originally Posted by mikethetv View Post
    Glad you fixed it. Which version are you using now?

    Up till this morning I was using a very old 0.8 version of ffmpeg, pulled the latest 9th August build this morning so hopefully the bugs been fixed in that version.
    Thank you!
    It's for December of 2011:
    Code:
    ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
      built on Dec 12 2011 13:50:00 with gcc 4.6.2
    I also used 9 Aug version, It also failed like 4 Aug! Dunno whats happening with new versions!
    Quote Quote  



Similar Threads