[FFmpeg-trac] #8448(ffmpeg:new): timestamp issue muxing raw .264 into .mkv/.m2ts
FFmpeg
trac at avcodec.org
Sun Dec 29 18:02:48 EET 2019
#8448: timestamp issue muxing raw .264 into .mkv/.m2ts
-------------------------------------+----------------------------------
Reporter: Selur | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: unspecified | Resolution:
Keywords: raw 264 mux | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+----------------------------------
Comment (by Selur):
adding '-f h264' and using:
{{{
ffmpeg -y -f h264 -r 24000/1001 -fflags +genpts -i "E:\Output\Sample_7Ch-
001_11_35_02_4510_01.264" -vcodec copy -map 0:0 -bsf:v h264_mp4toannexb
-vtag avc1 -aspect 177778:100000 -r 24000/1001 "E:\Output\Sample_7Ch.mkv"
}}}
doesnt't change a thing:
{{{
ffmpeg -y -f h264 -r 24000/1001 -fflags +genpts -i "E:\Output\Sample_7Ch-
001_11_35_02_4510_01.264" -vcodec copy -map 0:0 -bsf:v h264_mp4toannexb
-vtag avc1 -aspect 177778:100000 -r 24000/1001 "E:\Output\Sample_7Ch.mkv"
ffmpeg version N-95921-g8067c0c2eb-ge5db2e96c0+3 Copyright (c) 2000-2019
the FFmpeg developers
built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
configuration: --disable-autodetect --enable-amf --enable-bzlib
--enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-
iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-
ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-
libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
libx265 --enable-libdav1d --disable-debug --enable-fontconfig --enable-
libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-
libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-
libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid
--enable-libaom --enable-libopenmpt --enable-version3 --enable-libsvthevc
--enable-libkvazaar --enable-libxavs --enable-libzmq --enable-libvmaf
--enable-vapoursynth --enable-librav1e --enable-mbedtls --extra-
cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-
cflags=-DZMQ_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv
--disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB
libavutil 56. 36.101 / 56. 36.101
libavcodec 58. 64.101 / 58. 64.101
libavformat 58. 35.100 / 58. 35.100
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 67.100 / 7. 67.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[h264 @ 000002464f627fc0] Stream #0: not enough frames to estimate rate;
consider increasing probesize
Input #0, h264, from 'E:\Output\Sample_7Ch-001_11_35_02_4510_01.264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1200k tbn, 47.95 tbc
Overriding aspect ratio with stream copy may produce invalid files
Output #0, matroska, to 'E:\Output\Sample_7Ch.mkv':
Metadata:
encoder : Lavf58.35.100
Stream #0:0: Video: h264 (High) (avc1 / 0x31637661),
yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps,
23.98 tbr, 1k tbn, 23.98 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska @ 0000024651510040] Timestamps are unset in a packet for stream
0. This is deprecated and will stop working in the future. Fix your code
to set the timestamps properly
[matroska @ 0000024651510040] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame= 1 fps=0.0 q=-1.0 Lsize= 1kB time=-00:00:00.04 bitrate=N/A
speed=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Conversion failed!
}}}
muxing still fails with the same messages.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8448#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list