peter4 Guru

Joined: 19 Jul 2005 Posts: 325 Location: Wroclaw, Poland
|
Posted: Wed Apr 04, 2012 2:35 pm Post subject: ffmpeg problem |
|
|
I'm trying to use ffmpeg to remux a video from .mkv to .mp4. This is the result:
| Code: | piotrek@localhost /media/pendrajw 8 giga $ ffmpeg -i ~/handbrake/Porcupine\ Tree\ -\ Arriving\ Somewhere...\ DVD.mkv -vcodec copy -acodec copy pt.mp4
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 30 2012 13:31:36 with gcc 4.5.3
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-c-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -march=native -pipe -ggdb' --extra-cflags='-O2 -march=native -pipe -ggdb' --extra-cxxflags='-O2-march=native -pipe -ggdb' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disabl-doc --disable-network --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-lixvid --enable-libfaac --enable-nonfree --enable-openal --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab -enable-libpulse --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libdirac --enabl-libschroedinger --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-a libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from '/home/piotrek/handbrake/Porcupine Tree - Arriving Somewhere... DVD.mkv':
Duration: 01:44:39.64, start: 0.000000, bitrate: 3723 kb/s
Chapter #0.0: start 0.000000, end 185.185000
Metadata:
title : Chapter 1
Chapter #0.1: start 185.185000, end 471.304167
Metadata:
title : Chapter 2
Chapter #0.2: start 471.304167, end 750.149400
Metadata:
title : Chapter 3
Chapter #0.3: start 750.149400, end 1000.099100
Metadata:
title : Chapter 4
Chapter #0.4: start 1000.099100, end 1550.315433
Metadata:
title : Chapter 5
Chapter #0.5: start 1550.315433, end 2069.967900
Metadata:
title : Chapter 6
Chapter #0.6: start 2069.967900, end 2385.216167
Metadata:
title : Chapter 7
Chapter #0.7: start 2385.216167, end 2820.150667
Metadata:
title : Chapter 8
Chapter #0.8: start 2820.150667, end 3120.117000
Metadata:
title : Chapter 9
Chapter #0.9: start 3120.117000, end 3894.891000
Metadata:
title : Chapter 10
Chapter #0.10: start 3894.891000, end 4143.172367
Metadata:
title : Chapter 11
Chapter #0.11: start 4143.172367, end 4583.178600
Metadata:
title : Chapter 12
Chapter #0.12: start 4583.178600, end 4981.643333
Metadata:
title : Chapter 13
Chapter #0.13: start 4981.643333, end 5304.932967
Metadata:
title : Chapter 14
Chapter #0.14: start 5304.932967, end 5685.346333
Metadata:
title : Chapter 15
Chapter #0.15: start 5685.346333, end 6153.113633
Metadata:
title : Chapter 16
Chapter #0.16: start 6153.113633, end 6279.640000
Metadata:
title : Chapter 17
Stream #0:0(eng): Video: h264 (High), yuv420p, 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 180k tbc
Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, s16, 256 kb/s (default)
Output #0, mp4, to 'pt.mp4':
Metadata:
encoder : Lavf53.32.100
Chapter #0.0: start 0.000000, end 185.185000
Metadata:
title : Chapter 1
Chapter #0.1: start 185.185000, end 471.304167
Metadata:
title : Chapter 2
Chapter #0.2: start 471.304167, end 750.149400
Metadata:
title : Chapter 3
Chapter #0.3: start 750.149400, end 1000.099100
Metadata:
title : Chapter 4
Chapter #0.4: start 1000.099100, end 1550.315433
Metadata:
title : Chapter 5
Chapter #0.5: start 1550.315433, end 2069.967900
Metadata:
title : Chapter 6
Chapter #0.6: start 2069.967900, end 2385.216167
Metadata:
title : Chapter 7
Chapter #0.7: start 2385.216167, end 2820.150667
Metadata:
title : Chapter 8
Chapter #0.8: start 2820.150667, end 3120.117000
Metadata:
title : Chapter 9
Chapter #0.9: start 3120.117000, end 3894.891000
Metadata:
title : Chapter 10
Chapter #0.10: start 3894.891000, end 4143.172367
Metadata:
title : Chapter 11
Chapter #0.11: start 4143.172367, end 4583.178600
Metadata:
title : Chapter 12
Chapter #0.12: start 4583.178600, end 4981.643333
Metadata:
title : Chapter 13
Chapter #0.13: start 4981.643333, end 5304.932967
Metadata:
title : Chapter 14
Chapter #0.14: start 5304.932967, end 5685.346333
Metadata:
title : Chapter 15
Chapter #0.15: start 5685.346333, end 6153.113633
Metadata:
title : Chapter 16
Chapter #0.16: start 6153.113633, end 6279.640000
Metadata:
title : Chapter 17
Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 720x480 [SAR 186:157 DAR 279:157], q=2-31, 29.97 fps, 1k tbn, 1k tbc (default)
Stream #0:1(eng): Audio: mp3 (i[0][0][0] / 0x0069), 48000 Hz, stereo, 256 kb/s (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x20a8610] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 21888 >= 13824
av_interleaved_write_frame(): Invalid argument
piotrek@localhost /media/pendrajw 8 giga $ |
What am I doing wrong? |
|