Opened 4 years ago
Closed 22 months ago
#10213 closed defect (needs_more_info)
Fails to copy 4K H264 source, with no indication of any errors.
| Reported by: | lkondor | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | 4K H264 |
| Cc: | lkondor | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug: Fails to copy 4K h264 source without any error messages. However it works flawlessly if I force re-encoding by specifying output resolution different from the source resolution.
How to reproduce:
% ffmpeg -i input.mov -c copy output.mov
ffmpeg version N-109874-gaeceefa622 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
configuration: --enable-gpl --enable-libx264 --enable-libx265 --enable-nonfree --enable-libfreetype --enable-filter=drawtext --enable-filter=drawbox --enable-cuda-nvcc --nvcc=/usr/local/cuda-10.2/bin/nvcc --enable-static --prefix=/home/lkondor/transwrap_libs/ffmpeg --disable-opencl --pkg-config-flags=--static --extra-libs=-lpthread
libavutil 58. 1.100 / 58. 1.100
libavcodec 60. 2.100 / 60. 2.100
libavformat 60. 2.100 / 60. 2.100
libavdevice 60. 0.100 / 60. 0.100
libavfilter 9. 2.100 / 9. 2.100
libswscale 7. 0.100 / 7. 0.100
libswresample 4. 9.100 / 4. 9.100
libpostproc 57. 0.100 / 57. 0.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
Metadata:
major_brand : qt
minor_version : 537986816
compatible_brands: qt pana
creation_time : 2022-10-26T13:42:42.000000Z
Duration: 00:00:54.00, start: 0.000000, bitrate: 152040 kb/s
Stream #0:0[0x1](und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(tv, bt709, progressive), 4096x2160 [SAR 1:1 DAR 256:135], 148911 kb/s, 24 fps, 24 tbr, 24k tbn (default)
Metadata:
creation_time : 2022-10-26T13:42:42.000000Z
vendor_id : [0][0][0][0]
timecode : 13:43:25:11
Stream #0:1[0x2](und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
creation_time : 2022-10-26T13:42:42.000000Z
vendor_id : pana
timecode : 13:43:25:11
Stream #0:2[0x3](und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2022-10-26T13:42:42.000000Z
timecode : 13:43:25:11
Output #0, mov, to 'output.mov':
Metadata:
major_brand : qt
minor_version : 537986816
compatible_brands: qt pana
encoder : Lavf60.2.100
Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(tv, bt709, progressive), 4096x2160 [SAR 1:1 DAR 256:135], q=2-31, 148911 kb/s, 24 fps, 24 tbr, 24k tbn (default)
Metadata:
creation_time : 2022-10-26T13:42:42.000000Z
vendor_id : [0][0][0][0]
timecode : 13:43:25:11
Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2022-10-26T13:42:42.000000Z
vendor_id : pana
timecode : 13:43:25:11
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s frame= 1224 fps=0.0 q=-1.0 size= 929024kB time=00:00:50.95 bitrate=149348.8kbits/s speframe= 1296 fps=325 q=-1.0 Lsize= 991740kB time=00:00:53.99 bitrate=150476.6kbits/s speed=13.5x
video:981595kB audio:10125kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002013%
Checking with ffprobe:
ffprobe output.mov ffprobe version N-109874-gaeceefa622 Copyright (c) 2007-2023 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36) configuration: --enable-gpl --enable-libx264 --enable-libx265 --enable-nonfree --enable-libfreetype --enable-filter=drawtext --enable-filter=drawbox --enable-cuda-nvcc --nvcc=/usr/local/cuda-10.2/bin/nvcc --enable-static --prefix=/home/lkondor/transwrap_libs/ffmpeg --disable-opencl --pkg-config-flags=--static --extra-libs=-lpthread libavutil 58. 1.100 / 58. 1.100 libavcodec 60. 2.100 / 60. 2.100 libavformat 60. 2.100 / 60. 2.100 libavdevice 60. 0.100 / 60. 0.100 libavfilter 9. 2.100 / 9. 2.100 libswscale 7. 0.100 / 7. 0.100 libswresample 4. 9.100 / 4. 9.100 libpostproc 57. 0.100 / 57. 0.100 [h264 @ 0x2f3e200] missing picture in access unit with size 1712378 [extract_extradata @ 0x2f447c0] No start code is found. output.mov: Invalid data found when processing input
Change History (3)
follow-up: 2 comment:1 by , 4 years ago
comment:2 by , 4 years ago
Replying to quinkblack:
Could you share the sample file for testing?
I'm working on getting a sample shot.
comment:3 by , 22 months ago
| Priority: | important → normal |
|---|---|
| Resolution: | → needs_more_info |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Could you share the sample file for testing?