« Return to Thread: Remux problem

Re: Remux problem

by Ví­ctor Paesa :: Rate this Message:

Reply to Author | View in Thread

Hi,

Michel Bardiaux said:

>
> ffmpeg -i bad_remux.mpg -acodec copy -vcodec copy -b 1200k remuxed.mpg
> FFmpeg version SVN-r11649, Copyright (c) 2000-2008 Fabrice Bellard, et
> al.
>    configuration: --enable-libmp3lame --enable-pp --enable-gpl
>    libavutil version: 49.6.0
>    libavcodec version: 51.50.0
>    libavformat version: 52.6.0
>    libavdevice version: 52.0.0
>    built on Jan 28 2008 15:43:19, gcc: 4.1.2 20061115 (prerelease)
> (Debian 4.1.1-21)
> Input #0, mpeg, from 'bad_remux.mpg':
>    Duration: 00:00:15.8, start: 0.500000, bitrate: 1339 kb/s
>      Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288 [PAR 1:1
> DAR 11:9], 104857 kb/s, 25.00 tb(r)
>      Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, mono, 32 kb/s
> Output #0, mpeg, to 'remuxed.mpg':
>      Stream #0.0: Video: mpeg1video, yuv420p, 352x288 [PAR 0:1 DAR 0:1],
>
> q=2-31, 104857 kb/s, 25.00 tb(c)
>      Stream #0.1: Audio: mp2, 48000 Hz, mono, 32 kb/s
> Stream mapping:
>    Stream #0.0 -> #0.0
>    Stream #0.1 -> #0.1
> Press [q] to stop encoding
> error, non monotone timestamps 442800 >= 442800
> av_interleaved_write_frame(): Error while opening file
>
> Given that such a command is supposed to be *the* way to fix bad
> timestamps, I am "in a maze of little tunnels, all the same". Help
> please?
>
> (I am sure this worked at some point in the past, and I will try to find
>  the breakup in svn, but this is kind of an emergency)

Maybe add "-fflags genpts" ?

Regards,
Víctor



_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@...
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user

 « Return to Thread: Remux problem