[FFmpeg-user] problem with muxing .264/ .ac3 to mkv
Bernd Butscheidt
bbutscheidt at yahoo.de
Sun May 12 13:18:23 CEST 2013
Hello,
should this work?
I only added the "-fflags +genpts" options because of these suggestions: https://ffmpeg.org/trac/ffmpeg/ticket/1979 , but it doesn't change behaviour.
=====================================================
ffmpeg -fflags +genpts -i Sport_HD_CUT_ntsc.264 -i Sport_HD_CUT_ntsc.ac3 -codec copy -map 0:0 -map 1:0 -f matroska Sport_HD_CUT_ntsc.mkv
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on May 4 2013 13:30:41 with gcc 4.6.3 (Gentoo Hardened 4.6.3 p1.3, pie-0.5.2)
configuration: --enable-avresample --enable-gpl --enable-libx264 --enable-nonfree --enable-libmp3lame --enable-libfaac --enable-frei0r --enable-libsoxr --cpu=amd64 --arch=x86_64 --enable-version3
libavutil 52. 28.100 / 52. 28.100
libavcodec 55. 7.100 / 55. 7.100
libavformat 55. 4.101 / 55. 4.101
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 63.101 / 3. 63.101
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[h264 @ 0x7fad8bf7f1c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, h264, from 'Sport_HD_CUT_ntsc.264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1200k tbn, 47.95 tbc
[ac3 @ 0x7fad8bf81480] max_analyze_duration 5000000 reached at 5024000 microseconds
[ac3 @ 0x7fad8bf81480] Estimating duration from bitrate, this may be inaccurate
Input #1, ac3, from 'Sport_HD_CUT_ntsc.ac3':
Duration: 00:01:00.58, start: 0.000000, bitrate: 448 kb/s
Stream #1:0: Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
File 'Sport_HD_CUT_ntsc.mkv' already exists. Overwrite ? [y/N] y
Output #0, matroska, to 'Sport_HD_CUT_ntsc.mkv':
Metadata:
encoder : Lavf55.4.101
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 1200k tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x7fad8bf82240] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
More information about the ffmpeg-user
mailing list