[FFmpeg-user] pts/dts error using reset_timestamps while splitting a DVD
Owen Jones
riots6 at gmail.com
Sat Jan 19 13:54:01 CET 2013
The intermediate file is at http://dl.dropbox.com/u/88267546/temp.mov. I've truncated with -t 0:2:0 to reduce the size to 70MB.
The same error also happens with the latest build (splitting at just one minute with the smaller file):
beefy:VIDEO_TS riots$ ffmpeg -i ~/Desktop/temp.mov -vcodec copy -acodec copy -map 0 -f segment -segment_times 0:1:0 -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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Beefy HD2/Users/riots/Desktop/temp.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.61.101
Duration: 00:02:00.04, start: 0.000000, bitrate: 4785 kb/s
Stream #0:0(eng): Video: mpeg2video (Main) (m2v1 / 0x3176326D), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 4524 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
handler_name : DataHandler
Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 256 kb/s
Metadata:
handler_name : DataHandler
[mov @ 0x7f9f2a832800] track 1: codec frame size is not set
Output #0, segment, to '/Volumes/Beefy HD2/Users/riots/Desktop/split_%02d.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.61.101
Stream #0:0(eng): Video: mpeg2video (m2v1 / 0x3176326D), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 4524 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:
handler_name : DataHandler
Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, 256 kb/s
Metadata:
handler_name : DataHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov @ 0x7f9f2a832800] track 1: codec frame size is not set
[mov @ 0x7f9f2a832800] pts (-5376) < dts (384) in stream 1
av_interleaved_write_frame(): Invalid argument
Thanks for looking at this
Owen
More information about the ffmpeg-user
mailing list