FFmpeg-trac
Threads by month
- ----- 2026 -----
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2021
- 1 participants
- 658 discussions
14 Mar '25
#7059: Compile error in ffmpeg git master with opencv 3.4.1
-------------------------------------+-------------------------------------
Reporter: bermond | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I'm getting the following error at configure time when trying to compile
ffmpeg git-master with the newly released opencv 3.4.1:
{{{
ERROR: libopencv not found
}}}
Relevant `ffbuild/config.log` section:
{{{
In file included from /usr/include/opencv2/core/types_c.h:59:0,
from /usr/include/opencv2/core/core_c.h:48,
from /tmp/ffconf.Rgo00uNd/test.c:1:
/usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name
'namespace'
namespace cv {
^~~~~~~~~
/usr/include/opencv2/core/cvdef.h:485:14: error: expected '=', ',', ';',
'asm' or '__attribute__' before '{' token
namespace cv {
^
ERROR: libopencv not found
}}}
It compiles fine when using opencv 3.4.0.
How to reproduce:
{{{
$ git clone https://git.ffmpeg.org/ffmpeg.git
$ cd ffmpeg
$ ./configure --enable-libopencv
}}}
A relevant [https://github.com/opencv/opencv/issues/10963 issue (#10963)]
is opened at the official opencv github repository regarding the same
error when compiling vlc. Here is a quote of opencv developer Alexander
Alekhin when answering this issue: ''"OpenCV 3.x doesn't not support C
compilation mode officially. There are still legacy C API calls (from
OpenCV 1.x) but they should be compiled in C++ compilation mode".''
'''System information:'''
'''OS:''' Arch Linux x86_64
'''Compiler:''' gcc 7.3.0
'''FFmpeg:''' git master
'''OpenCV:''' 3.4.1
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7059>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
3
13 Mar '25
#7558: Ignore coded resolutions in using -c:v copy?
-------------------------------------+-------------------------------------
Reporter: ponpon | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
A coded resolution is {{{1920x1080 (0x0)}}} in using {{{-c:v copy}}}.
Does it mean that coded resolutions is ignored? I don't know if it makes
an effect on output files.
A source file is 1080.mp of ticket #7544.
{{{
ffmpeg -y -v debug -i 1080.mp4 -c:v copy test.mp4
ffmpeg version N-92458-gfc94e9704e Copyright (c) 2000-2018 the FFmpeg
developers
built with clang version 5.0.2 (tags/RELEASE_502/final)
configuration: --prefix=/sw --cc=clang-mp-5.0 --cxx=clang++-mp-5.0
--disable-shared --enable-static --enable-gpl --enable-version3 --enable-
nonfree --enable-pthreads --optflags=-Ofast --extra-cflags='-I/sw/include
-I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib
-fopenmp' --extra-ldsoflags='-L/sw/lib -L/opt/local/lib -static--target-
os=darwin' --arch=x86_64 --cpu=kabylake --enable-avresample --enable-
libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-
libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libxvid --enable-libfreetype --enable-gcrypt
--enable-gmp --enable-openssl --enable-librtmp --enable-libass --enable-
fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394
--enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265
--enable-libzimg --enable-libvidstab --enable-libsoxr --enable-
libsmbclient --enable-libcdio --enable-opengl --enable-opencl --pkg-
config-flags=' --libs --static'
libavutil 56. 23.101 / 56. 23.101
libavcodec 58. 39.100 / 58. 39.100
libavformat 58. 22.100 / 58. 22.100
libavdevice 58. 6.100 / 58. 6.100
libavfilter 7. 44.100 / 7. 44.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '-i' ... matched as input url with argument '1080.mp4'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option 'test.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url 1080.mp4.
Successfully parsed a group of options.
Opening an input file: 1080.mp4.
[NULL @ 0x7fec31011200] Opening '1080.mp4' for reading
[file @ 0x7fec30c1de80] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] Processing st: 0, edit list 0 -
media time: 1024, duration: 12800
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 0 ctts: 1024, ctts_index:
0, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 512 ctts: 2560,
ctts_index: 1, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 1024 ctts: 1024,
ctts_index: 2, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 1536 ctts: 0, ctts_index:
3, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 2048 ctts: 512,
ctts_index: 4, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 2560 ctts: 2560,
ctts_index: 5, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 3072 ctts: 1024,
ctts_index: 6, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 3584 ctts: 0, ctts_index:
7, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 4096 ctts: 512,
ctts_index: 8, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 4608 ctts: 2560,
ctts_index: 9, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 5120 ctts: 1024,
ctts_index: 10, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 5632 ctts: 0, ctts_index:
11, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 6144 ctts: 512,
ctts_index: 12, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 6656 ctts: 2560,
ctts_index: 13, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 7168 ctts: 1024,
ctts_index: 14, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 7680 ctts: 0, ctts_index:
15, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 8192 ctts: 512,
ctts_index: 16, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 8704 ctts: 2560,
ctts_index: 17, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 9216 ctts: 1024,
ctts_index: 18, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 9728 ctts: 0, ctts_index:
19, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 10240 ctts: 512,
ctts_index: 20, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 10752 ctts: 2560,
ctts_index: 21, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 11264 ctts: 1024,
ctts_index: 22, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 11776 ctts: 0,
ctts_index: 23, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] stts: 12288 ctts: 512,
ctts_index: 24, ctts_count: 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] Offset DTS by 1024 to make
first pts zero.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] Setting codecpar->delay to 2
for stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] Before
avformat_find_stream_info() pos: 3962 bytes read:3962 seeks:0 nb_streams:1
[h264 @ 0x7fec31011e00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7fec31011e00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x7fec31011e00] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x7fec31011e00] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x7fec31011e00] Format yuv420p chosen by get_format().
[h264 @ 0x7fec31011e00] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7fec31011e00] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fec31011200] After
avformat_find_stream_info() pos: 1168 bytes read:3962 seeks:0 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1080.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.18.101
Duration: 00:00:01.00, start: 0.000000, bitrate: 31 kb/s
Stream #0:0(und), 1, 1/12800: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR
16:9], 0/1, 22 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Successfully opened the file.
Parsing a group of options: output url test.mp4.
Applying option c:v (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: test.mp4.
[file @ 0x7fec30f06900] Setting default whitelist 'file,crypto'
Successfully opened the file.
Output #0, mp4, to 'test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.22.100
Stream #0:0(und), 0, 1/12800: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p(left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9],
0/1, q=2-31, 22 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
No more output streams to write to, finishing.
frame= 25 fps=0.0 q=-1.0 Lsize= 4kB time=00:00:00.88 bitrate=
36.0kbits/s speed=5.12e+03x
video:3kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 41.046635%
Input file #0 (1080.mp4):
Input stream #0:0 (video): 25 packets read (2809 bytes);
Total: 25 packets (2809 bytes) demuxed
Output file #0 (test.mp4):
Output stream #0:0 (video): 25 packets muxed (2809 bytes);
Total: 25 packets (2809 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7fec30f082c0] Statistics: 2 seeks, 4 writeouts
[AVIOContext @ 0x7fec30c1dfc0] Statistics: 3962 bytes read, 0 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7558>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
2
#4364: Support for DMG (RAW)
-------------------------------------+-------------------------------------
Reporter: ubitux | Owner:
Type: | Status: new
enhancement | Component: avcodec
Priority: wish | Keywords: dmg raw
Version: git- | tiff
master | Blocking:
Blocked By: | Analyzed by developer: 0
Reproduced by developer: 0 |
-------------------------------------+-------------------------------------
Currently only detects the preview:
{{{
☭ ./ffprobe /tmp/L1004220.DNG
ffprobe version N-70643-gb7cb8b3 Copyright (c) 2007-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC) 20150304 (prerelease)
configuration: --prefix=/home/ux/local --enable-gpl --enable-nonfree
--enable-libx264 --enable-libfaac --enable-libvorbis --enable-
libfontconfig --enable-libfreetype --enable-libass --enable-libmp3lame
--samples=/home/ux/fate-samples --assert-level=2
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 12.100 / 5. 12.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[tiff_pipe @ 0x2c39c60] Stream #0: not enough frames to estimate rate;
consider increasing probesize
Input #0, tiff_pipe, from '/tmp/L1004220.DNG':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: tiff, rgb24, 320x216 [SAR 1:1 DAR 40:27], 25 tbr,
25 tbn, 25 tbc
}}}
Overview: https://en.wikipedia.org/wiki/Digital_Negative
Sample: http://kenrockwell.com/leica/m9/sample-photos-3.htm
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4364>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
22
24 Feb '25
#7158: Send "Accept-Encoding: gzip" on .m3u8 HTTP requests
----------------------------------+---------------------------------------
Reporter: DeHackEd | Type: enhancement
Status: new | Priority: normal
Component: avformat | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
Some live streaming servres (such as Youtube live feeds) can generate
multi-megabyte .m3u8 files when uncompressed and on long feeds. Accepting
gzip'd playlist files can both save bandwidth and dramatically improve
playback performance.
I've tested this by just using "Accept-Encoding: gzip" but I don't think
that would be an acceptable solution.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7158>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
5
#3705: FFPlay cannot seek H264 file
-------------------------------------+-------------------------------------
Reporter: | Type: defect
Aleksoid1978 | Priority: normal
Status: new | Version:
Component: ffplay | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Sample: http://aleksoid.voserver.net/Sample/H264/no_recovery_ffmpeg.m2ts
Ticket #3652 fixed(decoding is good), but seek is not working
How to reproduce:
{{{
% ffplay.exe no_recovery_ffmpeg.m2ts
ffplay version N-63843-g6d40849 Copyright (c) 2003-2014 the FFmpeg
developers
built on Jun 8 2014 22:02:04 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-
libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
libmp3lame --enable-libopencore-amrnb --
enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame -
-enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 42.101 / 55. 42.101
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 6.100 / 4. 6.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpegts, from 'no_recovery_ffmpeg.m2ts': sq= 0B f=0/0
Duration: 00:01:58.20, start: 4328.545078, bitrate: 13543 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr,
90k tbn, 47.95 tbc
[h264 @ 0464ce20] mmco: unref short failure 49KB sq= 0B f=0/0
Last message repeated 1 times
[h264 @ 0464c600] mmco: unref short failure 0KB sq= 0B f=0/0
[h264 @ 0464c600] number of reference frames (0+4) exceeds max (3;
probably corrupt input), discarding one
[h264 @ 0464dc60] reference picture missing during reorder
[h264 @ 0464dc60] Missing reference picture, default is 65512
[h264 @ 045677c0] mmco: unref short failure
[h264 @ 045677c0] number of reference frames (0+4) exceeds max (3;
probably corrupt input), discarding one
[h264 @ 0464dc60] reference picture missing during reorder
[h264 @ 0464dc60] Missing reference picture, default is 65512
[h264 @ 0464dc60] reference picture missing during reorderB f=0/0
[h264 @ 0464dc60] Missing reference picture, default is 65512
[h264 @ 0464dc60] reference picture missing during reorder
[h264 @ 0464dc60] Missing reference picture, default is 65512
[h264 @ 0464ce20] mmco: unref short failure 433KB sq= 0B f=0/0
[h264 @ 0464ce20] number of reference frames (0+4) exceeds max (3;
probably corrupt input), discarding one
[h264 @ 04566700] mmco: unref short failure
[h264 @ 04566700] number of reference frames (0+4) exceeds max (3;
probably corrupt input), discarding one
[h264 @ 05540a80] Missing reference picture, default is 00B f=0/0
[h264 @ 0464c600] reference picture missing during reorder
Last message repeated 1 times
[h264 @ 0464c600] Missing reference picture, default is 0
Last message repeated 1 times
[h264 @ 05540a80] Missing reference picture, default is 0
[h264 @ 0464dc60] mmco: unref short failure
[h264 @ 0464c600] reference picture missing during reorder
Last message repeated 1 times
[h264 @ 0464c600] Missing reference picture, default is 0
Last message repeated 1 times
[h264 @ 04566d00] reference picture missing during reorder
[h264 @ 04566d00] Missing reference picture, default is 65540
[h264 @ 05540a80] Missing reference picture, default is 0
[h264 @ 0464c600] reference picture missing during reorderB f=0/0
Last message repeated 1 times
[h264 @ 0464c600] Missing reference picture, default is 0
Last message repeated 1 times
[h264 @ 04566d00] reference picture missing during reorder
[h264 @ 04566d00] Missing reference picture, default is 65540
[h264 @ 05540a80] Missing reference picture, default is 00B f=0/0
[h264 @ 0464c600] reference picture missing during reorder
Last message repeated 1 times
[h264 @ 0464c600] Missing reference picture, default is 0
Last message repeated 1 times
[h264 @ 04566d00] reference picture missing during reorder
[h264 @ 04566d00] Missing reference picture, default is 65540
[h264 @ 04566d00] reference picture missing during reorder
[h264 @ 04566d00] Missing reference picture, default is 65540
[h264 @ 0464c600] mmco: unref short failure 0KB sq= 0B f=0/0
[h264 @ 0464c600] number of reference frames (0+4) exceeds max (3;
probably corrupt input), discarding one
[h264 @ 0464dc60] mmco: unref short failure
[h264 @ 0464dc60] number of reference frames (0+4) exceeds max (3;
probably corrupt input), discarding one
[h264 @ 0464c600] mmco: unref short failure 424KB sq= 0B f=0/0
[h264 @ 0464ce20] mmco: unref short failure 29KB sq= 0B f=0/0
[h264 @ 045677c0] reference picture missing during reorder
[h264 @ 045677c0] Missing reference picture, default is 65542
[h264 @ 04567fe0] mmco: unref short failure
[h264 @ 045677c0] reference picture missing during reorder
[h264 @ 045677c0] Missing reference picture, default is 65542
[h264 @ 045677c0] reference picture missing during reorder
[h264 @ 045677c0] Missing reference picture, default is 65542
[h264 @ 045677c0] reference picture missing during reorderB f=0/0
[h264 @ 045677c0] Missing reference picture, default is 65542
}}}
After pressing RIGHT/LEFT key - picture freezes.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3705>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
17
#4888: 62bd8deef causes a regression in HEVC decoding
----------------------------------+--------------------------------------
Reporter: staalebk | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug:
I'm trying to extract a thumb from the middle of a live TS, containing one
HEVC-stream.
Before this patch
I would always get a good looking thumb, but with this patch I would for
the most part get a mostly gray frame.
If I generates a few more thumbnails i see that it eventually spits out
the
same frame that ffmpeg before this patch produced as the first thumb, and
it looks OK.
However it is much more blocky than what the previous ffmpeg produced.
How to reproduce (b7baebb75 is the commit just before the patch):
{{{
% ./ffmpeg.b7baebb75 -an -i hevc_fail.ts -vframes 1 before_patch%d.jpg
ffmpeg version N-74781-gb7baebb Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (Debian 4.7.2-5)
configuration:
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
Input #0, mpegts, from 'hevc_fail.ts':
Duration: 00:00:02.50, start: 2237.360033, bitrate: 7740 kb/s
Stream #0:0[0x1e1]: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080
[SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
[swscaler @ 0x1f9a140] deprecated pixel format used, make sure you did set
range correctly
Output #0, image2, to 'before_patch%d.jpg':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: mjpeg, yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
Metadata:
encoder : Lavc56.60.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x2052600] PPS id out of range: 0
[hevc @ 0x2052600] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x20609a0] PPS id out of range: 0
[hevc @ 0x20609a0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x2072400] PPS id out of range: 0
[hevc @ 0x2072400] Error parsing NAL unit #2.
[hevc @ 0x2083e60] PPS id out of range: 0
[hevc @ 0x2083e60] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x20958c0] PPS id out of range: 0
[hevc @ 0x20958c0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x20a7320] PPS id out of range: 0
[hevc @ 0x20a7320] Error parsing NAL unit #2.
[hevc @ 0x20b8d80] PPS id out of range: 0
[hevc @ 0x20b8d80] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x20ca7e0] PPS id out of range: 0
[hevc @ 0x20ca7e0] Error parsing NAL unit #2.
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20dc240] PPS id out of range: 0
[hevc @ 0x20dc240] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x2052600] PPS id out of range: 0
[hevc @ 0x2052600] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20609a0] PPS id out of range: 0
[hevc @ 0x20609a0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x2072400] PPS id out of range: 0
[hevc @ 0x2072400] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x2083e60] PPS id out of range: 0
[hevc @ 0x2083e60] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20958c0] PPS id out of range: 0
[hevc @ 0x20958c0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20a7320] PPS id out of range: 0
[hevc @ 0x20a7320] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20b8d80] PPS id out of range: 0
[hevc @ 0x20b8d80] Error parsing NAL unit #2.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 7 times
frame= 1 fps=0.0 q=7.5 Lsize=N/A time=00:00:00.75 bitrate=N/A
video:108kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Conversion failed!
}}}
This gives me one image, before_patch1.jpg that looks completly fine.
http://kolbu.ws/~chiller/ffmpeg_bug/before_patch1.jpg
Now I do the same with the patch:
{{{
ffmpeg version N-74782-g62bd8de Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (Debian 4.7.2-5)
configuration:
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
[NULL @ 0x1dc2780] PPS id out of range: 0
[hevc @ 0x1dc2780] PPS id out of range: 0
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
Input #0, mpegts, from 'hevc_fail.ts':
Duration: 00:00:02.50, start: 2237.360033, bitrate: 7740 kb/s
Stream #0:0[0x1e1]: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080
[SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
[swscaler @ 0x1dec4e0] deprecated pixel format used, make sure you did set
range correctly
Output #0, image2, to 'with_patch%d.jpg':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: mjpeg, yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
Metadata:
encoder : Lavc56.60.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[hevc @ 0x1ea0760] Could not find ref with POC 12
[hevc @ 0x1ea0760] Could not find ref with POC 15
frame= 1 fps=0.0 q=5.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:69kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
This gives me one file with_patch1.jpg that looks garbaged.
http://kolbu.ws/~chiller/ffmpeg_bug/with_patch1.jpg
If I re-run the last command with -vframes 100 it generates 60 images,
where image 18 is almost identical to the before_patch1.jpg, except a bit
more blocky.
http://kolbu.ws/~chiller/ffmpeg_bug/with_patch18.jpg
Here is the link to the .ts-file:
http://kolbu.ws/~chiller/ffmpeg_bug/hevc_fail.ts
and all files involved can be viewed here:
http://kolbu.ws/~chiller/ffmpeg_bug/
(The most important ones are attached)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4888>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
10
#9346(undetermined:new): failed with error info "partial file" when input a mp4 file via unix socket
by FFmpeg 07 Feb '25
by FFmpeg 07 Feb '25
07 Feb '25
#9346: failed with error info "partial file" when input a mp4 file via unix socket
-------------------------------------+-------------------------------------
Reporter: ku7iex2E | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: unix-socket | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
failed when via unix socket, but nothing wrong when you input it just as a
normal file.
log of unix socket one:
{{{
% cat 1.mp4 | socat - unix-listen:/tmp/abcd &
% ffmpeg -report -i unix:///tmp/abcd -c copy out.mkv
}}}
{{{
ffmpeg started on 2021-07-24 at 23:10:04
Report written to "ffmpeg-20210724-231004.log"
Log level: 48
Command line:
ffmpeg -report -i unix:///tmp/abcd -c copy out.mkv
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto
--enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-
ladspa --enable-libaom --enable-libass --enable-libbluray --enable-
libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-
libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-
libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-
libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-
libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-nvdec --enable-nvenc --enable-shared --enable-version3
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-i' ... matched as input url with argument
'unix:///tmp/abcd'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option 'out.mkv' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url unix:///tmp/abcd.
Successfully parsed a group of options.
Opening an input file: unix:///tmp/abcd.
[NULL @ 0x55b6bf062440] Opening 'unix:///tmp/abcd' for reading
[unix @ 0x55b6bf0630c0] No default whitelist set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] ISO: File Type Major Brand:
dash
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180002970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180004500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180006030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180007470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180009000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180010530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180011970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180013500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180015030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180016470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180018000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180019530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180020970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180022500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180024030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180025470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180027000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180028530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180029970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180031500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180033030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180034470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180036000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180037530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180038970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180040500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180042030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180043470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180045000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180046530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180047970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180049500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180051030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180052470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180054000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180055530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180056970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180058500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180060030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180061470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180063000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180064530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180065970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180067500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180069030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180070470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180072000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180073530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180074970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180076500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180078030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180079470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180081000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180082530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180083970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180085500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180087030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180088470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180090000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] found tfdt time 180091530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] Before
avformat_find_stream_info() pos: 543003 bytes read:543003 seeks:0
nb_streams:1
[h264 @ 0x55b6bf064480] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x55b6bf064480] nal_unit_type: 8(PPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] stream 0, offset 0x885: partial
file
[h264 @ 0x55b6bf064480] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x55b6bf064480] nal_unit_type: 8(PPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] Could not find codec parameters
for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1920x1080, 2 kb/s):
unspecified pixel format
Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] After
avformat_find_stream_info() pos: 543003 bytes read:543003 seeks:0 frames:0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'unix:///tmp/abcd':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2021-07-23T10:29:14.000000Z
Duration: 00:33:21.03, bitrate: N/A
Stream #0:0(und), 0, 1/90000: Video: h264 (avc1 / 0x31637661), none,
1920x1080, 2 kb/s, 60 fps, 90k tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2021-07-23T10:29:14.000000Z
handler_name : ISO Media file produced by Google Inc. Created on:
07/23/2021.
vendor_id : [0][0][0][0]
Successfully opened the file.
Parsing a group of options: output url out.mkv.
Applying option c (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: out.mkv.
[file @ 0x55b6bf06a380] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
[matroska @ 0x55b6bf08fec0] get_metadata_duration returned: 0
Output #0, matroska, to 'out.mkv':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
encoder : Lavf58.76.100
Stream #0:0(und), 0, 1/1000: Video: h264 (avc1 / 0x31637661), none,
1920x1080, q=2-31, 2 kb/s, 60 fps, 90k tbr, 1k tbn, 90k tbc (default)
Metadata:
creation_time : 2021-07-23T10:29:14.000000Z
handler_name : ISO Media file produced by Google Inc. Created on:
07/23/2021.
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6bf062440] stream 0, offset 0x3aa3c:
partial file
unix:///tmp/abcd: Invalid data found when processing input
frame= 0 fps=0.0 q=-1.0 size= 1kB time=00:00:00.00 bitrate=N/A
speed=N/A
No more output streams to write to, finishing.
[matroska @ 0x55b6bf08fec0] end duration = 0
[matroska @ 0x55b6bf08fec0] stream 0 end duration = 0
frame= 0 fps=0.0 q=-1.0 Lsize= 1kB time=00:00:00.00 bitrate=N/A
speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Input file #0 (unix:///tmp/abcd):
Input stream #0:0 (video): 0 packets read (0 bytes);
Total: 0 packets (0 bytes) demuxed
Output file #0 (out.mkv):
Output stream #0:0 (video): 0 packets muxed (0 bytes);
Total: 0 packets (0 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x55b6bf06a5c0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x55b6bf06b4c0] Statistics: 543003 bytes read, 0 seeks
}}}
as normal file:
{{{
% ffmpeg -report -i 1.mp4 -c copy out.mkv
}}}
{{{
ffmpeg started on 2021-07-24 at 23:18:12
Report written to "ffmpeg-20210724-231812.log"
Log level: 48
Command line:
ffmpeg -report -i 1.mp4 -c copy out.mkv
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto
--enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-
ladspa --enable-libaom --enable-libass --enable-libbluray --enable-
libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-
libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-
libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-
libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-
libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-nvdec --enable-nvenc --enable-shared --enable-version3
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-i' ... matched as input url with argument '1.mp4'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option 'out.mkv' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url 1.mp4.
Successfully parsed a group of options.
Opening an input file: 1.mp4.
[NULL @ 0x562e0207f440] Opening '1.mp4' for reading
[file @ 0x562e020800c0] Setting default whitelist 'file,crypto,data'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] ISO: File Type Major Brand:
dash
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180002970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180004500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180006030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180007470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180009000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180010530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180011970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180013500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180015030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180016470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180018000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180019530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180020970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180022500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180024030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180025470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180027000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180028530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180029970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180031500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180033030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180034470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180036000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180037530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180038970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180040500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180042030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180043470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180045000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180046530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180047970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180049500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180051030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180052470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180054000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180055530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180056970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180058500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180060030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180061470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180063000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180064530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180065970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180067500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180069030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180070470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180072000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180073530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180074970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180076500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180078030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180079470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180081000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180082530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180083970,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180085500,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180087030,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180088470,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180090000,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] found tfdt time 180091530,
using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] Before
avformat_find_stream_info() pos: 538788 bytes read:335691 seeks:1
nb_streams:1
[h264 @ 0x562e02081440] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x562e02081440] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x562e02081440] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x562e02081440] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x562e02081440] nal_unit_type: 5(IDR), nal_ref_idc: 1
[h264 @ 0x562e02081440] Format yuv420p chosen by get_format().
[h264 @ 0x562e02081440] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x562e02081440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 0x562e02081440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 0x562e02081440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 0x562e02081440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 0x562e02081440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 0x562e02081440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 59.000000 0.009372
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 59.000000 0.009372
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 60.000000 0.000259
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 120.000000 0.001036
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 240.000000 0.004144
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 59.940060 0.000285
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] rfps: 59.940060 0.000285
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x562e0207f440] After
avformat_find_stream_info() pos: 325855 bytes read:671894 seeks:2
frames:21
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2021-07-23T10:29:14.000000Z
Duration: 00:33:21.03, start: 2000.033000, bitrate: 2 kb/s
Stream #0:0(und), 21, 1/90000: Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 2 kb/s, 60
fps, 60 tbr, 90k tbn, 120 tbc (default)
Metadata:
creation_time : 2021-07-23T10:29:14.000000Z
handler_name : ISO Media file produced by Google Inc. Created on:
07/23/2021.
vendor_id : [0][0][0][0]
Successfully opened the file.
Parsing a group of options: output url out.mkv.
Applying option c (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: out.mkv.
[file @ 0x562e021a7b40] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
[matroska @ 0x562e020a9140] get_metadata_duration returned: 0
Output #0, matroska, to 'out.mkv':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
encoder : Lavf58.76.100
Stream #0:0(und), 0, 1/1000: Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 2
kb/s, 60 fps, 60 tbr, 1k tbn, 90k tbc (default)
Metadata:
creation_time : 2021-07-23T10:29:14.000000Z
handler_name : ISO Media file produced by Google Inc. Created on:
07/23/2021.
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[matroska @ 0x562e020a9140] Starting new cluster with timestamp 0 at
offset 813 bytes
[matroska @ 0x562e020a9140] Writing block of size 237899 with pts 0, dts
0, duration 17 at relative offset 9 in cluster at offset 813. TrackNumber
1, keyframe 1
frame= 1 fps=0.0 q=-1.0 size= 1kB time=00:00:00.00
bitrate=6504.0kbits/s speed=N/A
[matroska @ 0x562e020a9140] Writing block of size 3299 with pts 17, dts
17, duration 17 at relative offset 237916 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 3590 with pts 34, dts
34, duration 17 at relative offset 241222 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5085 with pts 50, dts
50, duration 17 at relative offset 244819 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5473 with pts 67, dts
67, duration 17 at relative offset 249911 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 450 with pts 84, dts 84,
duration 17 at relative offset 255391 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5351 with pts 100, dts
100, duration 17 at relative offset 255848 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 2725 with pts 117, dts
117, duration 17 at relative offset 261206 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5392 with pts 134, dts
134, duration 17 at relative offset 263938 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4868 with pts 150, dts
150, duration 17 at relative offset 269337 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6532 with pts 167, dts
167, duration 17 at relative offset 274212 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5220 with pts 184, dts
184, duration 17 at relative offset 280751 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4625 with pts 200, dts
200, duration 17 at relative offset 285978 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6163 with pts 217, dts
217, duration 17 at relative offset 290610 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4404 with pts 234, dts
234, duration 17 at relative offset 296780 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 2283 with pts 250, dts
250, duration 17 at relative offset 301191 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5051 with pts 267, dts
267, duration 17 at relative offset 303481 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 2612 with pts 284, dts
284, duration 17 at relative offset 308539 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4273 with pts 300, dts
300, duration 17 at relative offset 311158 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5313 with pts 317, dts
317, duration 17 at relative offset 315438 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 906 with pts 334, dts
334, duration 17 at relative offset 320758 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5078 with pts 350, dts
350, duration 17 at relative offset 321671 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6375 with pts 367, dts
367, duration 17 at relative offset 326756 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4300 with pts 384, dts
384, duration 17 at relative offset 333138 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5380 with pts 400, dts
400, duration 17 at relative offset 337445 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5098 with pts 417, dts
417, duration 17 at relative offset 342832 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6783 with pts 434, dts
434, duration 17 at relative offset 347937 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 10311 with pts 450, dts
450, duration 17 at relative offset 354727 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 8328 with pts 467, dts
467, duration 17 at relative offset 365045 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6470 with pts 484, dts
484, duration 17 at relative offset 373380 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5430 with pts 500, dts
500, duration 17 at relative offset 379857 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5271 with pts 517, dts
517, duration 17 at relative offset 385294 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4991 with pts 534, dts
534, duration 17 at relative offset 390572 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6380 with pts 550, dts
550, duration 17 at relative offset 395570 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5495 with pts 567, dts
567, duration 17 at relative offset 401957 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4340 with pts 584, dts
584, duration 17 at relative offset 407459 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5432 with pts 600, dts
600, duration 17 at relative offset 411806 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5549 with pts 617, dts
617, duration 17 at relative offset 417245 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4001 with pts 634, dts
634, duration 17 at relative offset 422801 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 3842 with pts 650, dts
650, duration 17 at relative offset 426809 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 3661 with pts 667, dts
667, duration 17 at relative offset 430658 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5283 with pts 684, dts
684, duration 17 at relative offset 434326 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5755 with pts 700, dts
700, duration 17 at relative offset 439616 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5392 with pts 717, dts
717, duration 17 at relative offset 445378 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 3386 with pts 734, dts
734, duration 17 at relative offset 450777 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6487 with pts 750, dts
750, duration 17 at relative offset 454170 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6699 with pts 767, dts
767, duration 17 at relative offset 460664 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5304 with pts 784, dts
784, duration 17 at relative offset 467370 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6309 with pts 800, dts
800, duration 17 at relative offset 472681 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6159 with pts 817, dts
817, duration 17 at relative offset 478997 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4314 with pts 834, dts
834, duration 17 at relative offset 485163 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4979 with pts 850, dts
850, duration 17 at relative offset 489484 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5891 with pts 867, dts
867, duration 17 at relative offset 494470 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4320 with pts 884, dts
884, duration 17 at relative offset 500368 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 6222 with pts 900, dts
900, duration 17 at relative offset 504695 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 3915 with pts 917, dts
917, duration 17 at relative offset 510924 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5739 with pts 934, dts
934, duration 17 at relative offset 514846 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 5626 with pts 950, dts
950, duration 17 at relative offset 520592 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4426 with pts 967, dts
967, duration 17 at relative offset 526225 in cluster at offset 813.
TrackNumber 1, keyframe 0
[matroska @ 0x562e020a9140] Writing block of size 4215 with pts 984, dts
984, duration 17 at relative offset 530658 in cluster at offset 813.
TrackNumber 1, keyframe 0
No more output streams to write to, finishing.
[matroska @ 0x562e020a9140] end duration = 1001
[matroska @ 0x562e020a9140] stream 0 end duration = 1001
frame= 60 fps=0.0 q=-1.0 Lsize= 523kB time=00:00:00.98
bitrate=4351.1kbits/s speed= 437x
video:522kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.239124%
Input file #0 (1.mp4):
Input stream #0:0 (video): 60 packets read (534450 bytes);
Total: 60 packets (534450 bytes) demuxed
Output file #0 (out.mkv):
Output stream #0:0 (video): 60 packets muxed (534450 bytes);
Total: 60 packets (534450 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x562e021aba40] Statistics: 2 seeks, 4 writeouts
[AVIOContext @ 0x562e02088480] Statistics: 876513 bytes read, 2 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9346>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
13
29 Jan '25
#4954: joint stereo indicator missing from mp3 headers
-------------------------------------+-------------------------------------
Reporter: pico4743 | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-
Keywords: mp3 | master
joint_stereo header | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
mp3 header files created by ffmpeg do not specify a channel mode of
joint_stereo when joint_stereo is performed by libmp3lame.
Details:
libmp3lame provides a switch (-joint_stereo) to select either joint_stereo
or plain stereo. The interface to lame works correctly so that the audio
frames are fine, but ffmpeg doesn't use the lame library to write the mp3
header.
Instead libavformat/mp3enc.c sets the channel mode to either MONO or
STEREO based on how many channels there are.
{{{
switch (codec->channels) {
case 1: channels = MPA_MONO;
break;
case 2: channels = MPA_STEREO;
break;
default: av_log(s, AV_LOG_WARNING, "Unsupported number of channels, "
"not writing Xing header.\n");
return -1;
}
...
header |= channels << 6;
}}}
MPA_JSTEREO should be used when appropriate. The repair doesn't seem
simple, but I'd be willing to help if someone wants to discuss approaches.
How to reproduce:
{{{
use a version with libmp3lame enabled
% ffmpeg -i input.mp3 -joint_stereo 1 output.mp3
The relevant bits of the output.mp3 header will be 0 == MPA_STEREO
ffmpeg version -- git master fb4d350
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4954>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
19
26 Jan '25
#8515: vc1_parser erroneously flagged every packet as keyframe
-------------------------------------+-------------------------------------
Reporter: HolyWu | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: git-
| master
Keywords: vc-1 parser | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Since the commit of
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/701e8b42e12ad625c64ceae2252…,
vc-1 parser erroneously flagged every packet as keyframe. If you recompile
the tool with that commit reverted, you will get the expected result.
The first shows the result with that commit. The second shows the result
without that commit.
{{{
$ ffprobe -pretty -show_packets vc1_sample.mkv
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=959
dts_time=0:00:00.959000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=9.016602 Kibyte
pos=5494
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1001
dts_time=0:00:01.001000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=14734
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1043
dts_time=0:00:01.043000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=16302
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1084
dts_time=0:00:01.084000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=17869
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1126
dts_time=0:00:01.126000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=17881
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1168
dts_time=0:00:01.168000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=19449
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1210
dts_time=0:00:01.210000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=21016
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1251
dts_time=0:00:01.251000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=21028
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1293
dts_time=0:00:01.293000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=22596
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1335
dts_time=0:00:01.335000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=24163
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1376
dts_time=0:00:01.376000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=24175
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1418
dts_time=0:00:01.418000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=25743
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1460
dts_time=0:00:01.460000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=27310
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1502
dts_time=0:00:01.502000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=27322
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1543
dts_time=0:00:01.543000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=28890
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1585
dts_time=0:00:01.585000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=30457
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1627
dts_time=0:00:01.627000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=30469
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1668
dts_time=0:00:01.668000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=32037
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1710
dts_time=0:00:01.710000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=33604
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1752
dts_time=0:00:01.752000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=33616
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1793
dts_time=0:00:01.793000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=35184
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1835
dts_time=0:00:01.835000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=36751
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1877
dts_time=0:00:01.877000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=36763
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1919
dts_time=0:00:01.919000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=38331
flags=K_
[/PACKET]
ffprobe version 4.2.git Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --disable-doc --disable-
debug
libavutil 56. 39.100 / 56. 39.100
libavcodec 58. 68.100 / 58. 68.100
libavformat 58. 38.100 / 58. 38.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 75.100 / 7. 75.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, matroska,webm, from 'vc1_sample.mkv':
Metadata:
encoder : libebml v1.3.10 + libmatroska v1.5.2
creation_time : 2020-02-09T07:04:30.000000Z
Duration: 00:00:01.00, bitrate: 321 kb/s
Stream #0:0: Video: vc1 (Advanced) (WVC1 / 0x31435657),
yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr,
1k tbn, 47.95 tbc (default)
Metadata:
BPS-eng : 273405
DURATION-eng : 00:00:01.002000000
NUMBER_OF_FRAMES-eng: 24
NUMBER_OF_BYTES-eng: 34244
_STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster')
64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2020-02-09 07:04:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
}}}
{{{
$ ffprobe -pretty -show_packets vc1_sample.mkv
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=959
dts_time=0:00:00.959000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=9.016602 Kibyte
pos=5494
flags=K_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1001
pts_time=0:00:01.001000
dts=1001
dts_time=0:00:01.001000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=14734
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1043
pts_time=0:00:01.043000
dts=1043
dts_time=0:00:01.043000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=16302
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1084
dts_time=0:00:01.084000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=17869
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1126
pts_time=0:00:01.126000
dts=1126
dts_time=0:00:01.126000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=17881
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1168
pts_time=0:00:01.168000
dts=1168
dts_time=0:00:01.168000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=19449
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1210
dts_time=0:00:01.210000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=21016
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1251
pts_time=0:00:01.251000
dts=1251
dts_time=0:00:01.251000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=21028
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1293
pts_time=0:00:01.293000
dts=1293
dts_time=0:00:01.293000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=22596
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1335
dts_time=0:00:01.335000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=24163
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1376
pts_time=0:00:01.376000
dts=1376
dts_time=0:00:01.376000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=24175
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1418
pts_time=0:00:01.418000
dts=1418
dts_time=0:00:01.418000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=25743
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1460
dts_time=0:00:01.460000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=27310
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1502
pts_time=0:00:01.502000
dts=1502
dts_time=0:00:01.502000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=27322
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1543
pts_time=0:00:01.543000
dts=1543
dts_time=0:00:01.543000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=28890
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1585
dts_time=0:00:01.585000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=30457
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1627
pts_time=0:00:01.627000
dts=1627
dts_time=0:00:01.627000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=30469
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1668
pts_time=0:00:01.668000
dts=1668
dts_time=0:00:01.668000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=32037
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1710
dts_time=0:00:01.710000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=33604
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1752
pts_time=0:00:01.752000
dts=1752
dts_time=0:00:01.752000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=33616
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1793
pts_time=0:00:01.793000
dts=1793
dts_time=0:00:01.793000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=35184
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=N/A
pts_time=N/A
dts=1835
dts_time=0:00:01.835000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=5 byte
pos=36751
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1877
pts_time=0:00:01.877000
dts=1877
dts_time=0:00:01.877000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=36763
flags=__
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=1919
pts_time=0:00:01.919000
dts=1919
dts_time=0:00:01.919000
duration=41
duration_time=0:00:00.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=1.524414 Kibyte
pos=38331
flags=__
[/PACKET]
ffprobe version 4.2.git Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --disable-doc --disable-
debug
libavutil 56. 39.100 / 56. 39.100
libavcodec 58. 68.100 / 58. 68.100
libavformat 58. 38.100 / 58. 38.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 75.100 / 7. 75.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, matroska,webm, from 'vc1_sample.mkv':
Metadata:
encoder : libebml v1.3.10 + libmatroska v1.5.2
creation_time : 2020-02-09T07:04:30.000000Z
Duration: 00:00:01.00, bitrate: 321 kb/s
Stream #0:0: Video: vc1 (Advanced) (WVC1 / 0x31435657),
yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr,
1k tbn, 47.95 tbc (default)
Metadata:
BPS-eng : 273405
DURATION-eng : 00:00:01.002000000
NUMBER_OF_FRAMES-eng: 24
NUMBER_OF_BYTES-eng: 34244
_STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster')
64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2020-02-09 07:04:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8515>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
8
#7916: Incorrect seeking for modplug formats
-------------------------------------+-------------------------------------
Reporter: _abjd_ | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-
Keywords: modplug, | master
seeking | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
ffmpeg -ss 00:01:25.00 -i BUTTERFL.XM render.mp3
}}}
Output:
{{{
Input #0, libopenmpt, from 'BUTTERFL.XM':
Metadata:
title : Butterfly Flew Away
encoder : FastTracker 2 or compatible
Duration: 00:02:53.19, bitrate: 15 kb/s
Stream #0:0: Audio: pcm_f32le, 48000 Hz, stereo, flt, 3072 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_f32le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'render.mp3':
Metadata:
TIT2 : Butterfly Flew Away
TSSE : Lavf58.26.101
Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp
Metadata:
encoder : Lavc58.47.102 libmp3lame
size= 55kB time=00:00:03.40 bitrate= 131.5kbits/s speed=7.29x
}}}
Seeking to 1:25 in a 2:53 length file results in a 3.4 second output. This
has happened with every modplug format I've tried so far.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7916>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
5