get_iplayer Download Olympics In Chunks Tutorial
MS
jmstanfield at gmail.com
Wed Aug 8 12:25:26 EDT 2012
On 08/08/12 02:26, Matt Davis wrote:
> OK managed to download two segments using --start [seconds] and --stop [seconds], it stopped where I intended but got these messages repeating from get_iplayer
>
>
> Download may be incomplete (downloaded about 27.30%), try resuming
> INFO: Command exit code 2 (raw code = 512)
>
> ERROR: FLV file contains neither video nor audio, aborting!
> INFO: Command exit code 1 (raw code = 256)
>
> the videos play OK but the total time shown on the file on the bottom right is the end time of the segment I selected on the main Olympics catchup video on MPCHC, but on VLC its the end time of the whole catchup video?
>
>
> if I try to convert to mp4 as in your instructions I get warnings from ffmpeg
>
> [flv @ 019C9D60] Broken FLV file, which says no streams present, this might fail
>
> [flv @ 019C9D60] negative cts, previous timestamps might be wrong
> Last message repeated 48 times
> [flv @ 019C9D60] Estimating duration from bitrate, this may be inaccurate
>
> [mp4 @ 031FE020] Application provided invalid, non monotonically increasing dts
> to muxer in stream 0: 1 >= 1
> av_interleaved_write_frame(): Invalid argument
>
>
> Any idea if I am doing anything wrong or how to fix the files?
>
> Thanks
>
>
> Matt
Three Matts now all discussing this, confusing.
First of all, I abandoned the use of get_iplayer's --stop with the
Olympics video - it never seemed to work for me. I just used --start and
let it run as long as possible. If I got errors, which I did with most
chunks, I just hit <CTRL><C> to terminate get_iplayer leaving me with a
.mp4.flv file.
Before using ffmpeg I only ever viewed the chunks using VLC which
displayed the current running time from 0 accurately (regardless of the
time the chunk was downloaded from specified using --start) but it
always showed the overall time (overall length of the video that is) as
the length of the entire catchup video. Since I am on Linux I've never
used MPC-HC.
All the errors you report are akin to what I get and I would think are
expected due to using start and end times in the download command line.
Did you follow my tutorial instructions for using ffmpeg accurately?
e.g.
ffmpeg -i DL_Chunk_01.mp4.flv -ss "00:00:00" -t "00:40:00"
-vcodec copy -acodec copy Output_1.mp4
Please note my use of -ss "00:00:00" above and in the tutorial for
re-muxing the first chunk even though that just specifies the start of
the video.
Also the ffmpeg parameter order is important and must be as shown above
and in the tutorial. I had failures when I specified the -ss and -t
parameters before the -i inputfile.mp4.flv parameter.
If neither of those fix your problem then you could try starting at -ss
"00:00:02" skipping the first 2 seconds and making absolutely sure that
your -t duration (DURATION NOT STOP TIME) is less than the length of
video you actually downloaded before the errors but that's all I can
think of.
Hope this helps.
More information about the get_iplayer
mailing list