[FFmpeg-user] pts/dts error using reset_timestamps while splitting a DVD

Owen Jones riots6 at gmail.com
Thu Jan 24 22:45:34 CET 2013


On 23 Jan 2013, at 10:08, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> If you use the segmenting on the original vob file, do 
> you see the same error?

Yes I do get the same error if I try segmenting directly from the vob file. The file is 1GB so would take a long time to upload (although I could do it if necessary), I think it is pretty standard, it's not encrypted or anything unusual. I've tried the same command with a different DVD from another source and the same thing happens. (I had to remove the -segment_format mpeg option to avoid buffer underflow messages.)

beefy:Desktop riots$ ffmpeg -i VTS_01_1.VOB -acodec copy -vcodec copy -map 0 -f segment -segment_times 0:1:00 -reset_timestamps 1 ~/Desktop/split_%02d.mov
ffmpeg version N-49028-ga5faae4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 19 2013 11:57:40 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs --cc=clang
  libavutil      52. 15.100 / 52. 15.100
  libavcodec     54. 89.100 / 54. 89.100
  libavformat    54. 61.101 / 54. 61.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.101 /  3. 32.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg @ 0x7fa961006600] max_analyze_duration 5000000 reached at 5000000 microseconds
Input #0, mpeg, from 'VTS_01_1.VOB':
  Duration: 00:00:10.60, start: 0.235211, bitrate: 803800 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[mov @ 0x7fa961031c00] track 1: codec frame size is not set
Output #0, segment, to '/Volumes/Beefy HD2/Users/riots/Desktop/split_%02d.mov':
  Metadata:
    encoder         : Lavf54.61.101
    Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov @ 0x7fa961031c00] track 1: codec frame size is not set
[mov @ 0x7fa961031c00] pts (-5376) < dts (384) in stream 1
av_interleaved_write_frame(): Invalid argument

Regards, Owen



More information about the ffmpeg-user mailing list