Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: veki on March 11, 2013, 09:50:06 AM

Title: Not recognized real duration of flv file
Post by: veki on March 11, 2013, 09:50:06 AM
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,
Title: Re: Not recognized real duration of flv file
Post by: Jan Gruuthuse on March 11, 2013, 03:32:30 PM
if there are stream errors/broken download that could explain ...
Title: Re: Not recognized real duration of flv file
Post by: veki on March 11, 2013, 07:20:17 PM
Hello, Do you suggest to download that file again and try to open it in Avidemux again?

Thanks,

Vedran
Title: Re: Not recognized real duration of flv file
Post by: mean on March 11, 2013, 08:06:08 PM
Could be a bug
Do you have the youtube link ?
Title: Re: Not recognized real duration of flv file
Post by: veki on March 11, 2013, 08:58:46 PM
Hello,

here is teh Youtube link:
http://www.youtube.com/watch?v=beYRO4R04-I

Thanks,

Veki
Title: Re: Not recognized real duration of flv file
Post by: Jan Gruuthuse on March 12, 2013, 02:57:39 PM
5 1/2 hour download for 1.5 GB ...
Title: Re: Not recognized real duration of flv file
Post by: veki on March 12, 2013, 04:26:41 PM
When I open it in Avidemux 2.5.6. in openSuse 12.1 it says that it is 45 minutes :(

Please advise

Vedran
Title: Re: Not recognized real duration of flv file
Post by: Jan Gruuthuse on March 12, 2013, 04:58:46 PM
Still downloading: 400 MB in, another 1.1 GB to go, still 5 hours to go, ....
Title: Re: Not recognized real duration of flv file
Post by: Jan Gruuthuse on March 13, 2013, 06:34:49 AM
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