Not recognized real duration of flv file

Started by veki, March 11, 2013, 09:50:06 AM

Previous topic - Next topic

veki

Hello,

I Have flv file downloaded from YouTube which lasts 10 hours.  When I play it in VLC its duration si displayed correctly. WHen I open it in Avidemux it displasy that duration is 40 minutes and 45 secs.
Please advise.

Thanks,

Jan Gruuthuse

if there are stream errors/broken download that could explain ...

veki

Hello, Do you suggest to download that file again and try to open it in Avidemux again?

Thanks,

Vedran

mean

Could be a bug
Do you have the youtube link ?


Jan Gruuthuse


veki

When I open it in Avidemux 2.5.6. in openSuse 12.1 it says that it is 45 minutes :(

Please advise

Vedran

Jan Gruuthuse

Still downloading: 400 MB in, another 1.1 GB to go, still 5 hours to go, ....

Jan Gruuthuse

Yup, download finished near midnight. Vlc shows 10:00:00, while avidemux only 45:45. There is an issue with a malformed H.264 bitstream in that video clip. You can rescue the entire clip with ffmpeg.
Copy your file to input.flv or rename the file to one without spaces in it. Then with command you can have a workable copy in avidemux 2.6:
ffmpeg -i input.flv -vbsf h264_mp4toannexb -acodec copy -vcodec copy output.ts