[FFmpeg-user] Reversing PAL->NTSC telecining.
Nicholas Robbins
nickrobbins at yahoo.com
Sat Jan 11 20:53:27 CET 2014
> On Saturday, January 11, 2014 10:40 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > Nicholas Robbins <nickrobbins <at> yahoo.com> writes:
>
>> >> ffmpeg -fflags +genpts -i IN.vob -map 0:v -c copy OUT.mkv
>
> What about -vn -sn?
> Does that change anything?
> (Just to understand the problem you see.)
Also changing -map 0:v to just -map 0 and it runs fine.
>> >>
>> >> which stalls around 10 minutes in and starts using more and
>> >> more memory eventually swapping.
>
>> > Does the issue maybe depend on a timestamp wrap?
>>
>> I don't know how to tell.
>
> If you play the original vob file with ffplay and seek
> (with "up" and "page-up") do you see monotonic timestamps
> in the console output or does something funny happen?
I'm not sure what you mean. If I do "ffplay IN.vob -ss 1580" (to skip to near the 26:25 error) then I get this on the console:
Input #0, mpeg, from 'WILLY_WONKA-1.vob':
Duration: 01:13:06.64, start: 0.045500, bitrate: 9248 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 7500 kb/s, 24.08 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x26]: Subtitle: dvd_subtitle
Stream #0:2[0x24]: Subtitle: dvd_subtitle
Stream #0:3[0x22]: Subtitle: dvd_subtitle
Stream #0:4[0x20]: Subtitle: dvd_subtitle
Stream #0:5[0x82]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
Stream #0:6[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:7[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
Stream #0:8[0x83]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
Stream #0:9[0x81]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
[ac3 @ 0x7f7e0c038f90] frame sync error
Frame changed from size:0x0 to size:720x480B vq= 533KB sq= 0B f=0/0
1587.83 A-V: -0.011 fd= 0 aq= 523KB vq=14753KB sq= 0B f=0/0 f=0/0
the 1587.83 number increases monotonically.
If I add -loglevel debug I get tons of this:
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142585702 in que
Last message repeated 1 times
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142594342 in que
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142600102 in que
Last message repeated 1 times
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142608742 in que
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142614502 in que
Last message repeated 1 times
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142623142 in que
Last message repeated 1 times
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142631782 in que
[mpeg @ 0x7f9f080008f0] first_dts 4102 not matching first dts 142637542 in que
but the 142637542 increases monotonically.
> Can you upload the sample that causes the memory problems?
It happens on this sample 26 minutes in. That is approximately a GB file. I don't think you want me to upload it. Would a dd grab from the middle help? I don't know if that is how vob's work.
> Does it happen with all vob files?
It seems to happen with movies more than tv-shows. I've only tried about half a dozen dvd's and it happened on both movies I tried, but not on tv-shows.
-Nick
More information about the ffmpeg-user
mailing list