[FFmpeg-trac] #1138(undetermined:new): Unable to chop mkv
FFmpeg
trac at avcodec.org
Tue Mar 27 12:56:48 CEST 2012
#1138: Unable to chop mkv
-------------------------------------+-------------------------------------
Reporter: carlrosmann | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I tried to chop a clip from a mkv movie by using the -t and -ss switches
(with vcodec, acodec and scodec, "copy").
The command is:
ffmpeg -y -t 0.69 -ss 3208.99 -i 'data/mnt/Les aventuriers
(1967).Fra.x264.multisub.mkv/Les aventuriers (1967).Fra.x264.multisub.mkv'
-acodec copy -vcodec copy -scodec copy /home/nik/out.mkv
This fails with the error:
[matroska @ 0x8fc92c0] pts < dts in stream 0
av_interleaved_write_frame(): Invalid argument
Then i tried to put the -ss switch *after* -i. That worked! but
unfortunately the audio and video are out of sync in the generated clip.
Unfortunately i cannot upload the video because it's 2GB. I can give you
the torrent hash if you want.
ffmpeg command output for the first case:
===========================================================
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 25 2012 01:53:25 with gcc 4.5.2 20110127 (prerelease)
configuration: --enable-gpl --enable-shared
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.102 / 2. 65.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from 'data/mnt/Les aventuriers
(1967).Fra.x264.multisub.mkv/Les aventuriers
(1967).Fra.x264.multisub.mkv':
Metadata:
creation_time : 2010-01-04 15:47:39
Duration: 01:48:11.26, start: 0.000000, bitrate: 2996 kb/s
Chapter #0.0: start 0.000000, end 1003.240000
Metadata:
title : Chapter 1
Chapter #0.1: start 1003.240000, end 1433.520000
Metadata:
title : Chapter 2
Chapter #0.2: start 1433.520000, end 1857.600000
Metadata:
title : Chapter 3
Chapter #0.3: start 1857.600000, end 2567.720000
Metadata:
title : Chapter 4
Chapter #0.4: start 2567.720000, end 3335.720000
Metadata:
title : Chapter 5
Chapter #0.5: start 3335.720000, end 4157.200000
Metadata:
title : Chapter 6
Chapter #0.6: start 4157.200000, end 4413.240000
Metadata:
title : Chapter 7
Chapter #0.7: start 4413.240000, end 5327.960000
Metadata:
title : Chapter 8
Chapter #0.8: start 5327.960000, end 5858.040000
Metadata:
title : Chapter 9
Chapter #0.9: start 5858.040000, end 6491.264000
Metadata:
title : Chapter 10
Stream #0:0(eng): Video: h264 (High), yuv420p, 720x436 [SAR 64:45 DAR
256:109], 25 fps, 200 tbr, 1k tbn, 50 tbc (default)
Stream #0:1(fre): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
(default)
Stream #0:2(eng): Subtitle: dvd_subtitle (default)
Stream #0:3(spa): Subtitle: text
Stream #0:4(por): Subtitle: text
Stream #0:5(cze): Subtitle: text
Stream #0:6(rum): Subtitle: dvd_subtitle
Output #0, matroska, to '/home/nik/out.mkv':
Metadata:
creation_time : 2010-01-04 15:47:39
encoder : Lavf54.2.100
Chapter #0.0: start 0.000000, end 0.690000
Metadata:
title : Chapter 5
Stream #0:0(eng): Video: h264, yuv420p, 720x436 [SAR 64:45 DAR
256:109], q=2-31, 25 fps, 1k tbn, 1k tbc (default)
Stream #0:1(fre): Audio: ac3, 48000 Hz, stereo, 192 kb/s (default)
Stream #0:2(eng): Subtitle: ssa (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x8fc92c0] pts < dts in stream 0
av_interleaved_write_frame(): Invalid argument
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1138>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list