Opened 18 months ago

Last modified 18 months ago

#10036 open defect

FFmpeg's output file isn't playable

Reported by: Michael Koch Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

This 4K 10-bit video was recorded with a Panasonic GH5S camera. The video plays fine in VLC and FFplay. It's less than 1 second, but the bitrate is 400Mbps and the filesize is about 53MB. In this camera mode, it's the shortest video I was able to record:

http://www.astro-electronic.de/P1001010.MOV

Now I'm doing a simple re-encode:

ffmpeg -i P1001010.mov -y out.mov

There is no error message during re-encoding, but the output file doesn't play in VLC or FFplay.

Here is the console output:

C:\Users\astro\Desktop\utz>ffmpeg -i P1001010.mov -y out.mov
ffmpeg version 2022-11-03-git-5ccd4d3060-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers

built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
libavutil 57. 40.100 / 57. 40.100
libavcodec 59. 51.101 / 59. 51.101
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 49.101 / 8. 49.101
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100

Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1001010.mov':

Metadata:

major_brand : qt
minor_version : 537986816
compatible_brands: qt pana
creation_time : 2022-11-14T15:07:16.000000Z
com.panasonic.Semi-Pro.metadata.xml: <?xml version="1.0" encoding="UTF-8" standalone="no" ?>

: <ClipMain xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0">
: <ClipContent>
: <GlobalClipID>060A2B340101010501010D211300000027C3E14950BF56344D0A1060C1650131</GlobalClipID>
: <Duration>24</Duration>
: <EditUnit>1/25</EditUnit>
: <EssenceList>
: <Video>
: <Codec BitRate="400">H264_422_Intra</Codec>
: <ActiveLine>2160</ActiveLine>
: <ActivePixel>3840</ActivePixel>
: <BitDepth>10</BitDepth>
: <FrameRate>25p</FrameRate>
: <TimecodeType>NonDrop</TimecodeType>
: <StartTimecode>18:37:12:14</StartTimecode>
: </Video>
: <Audio>
: <Channel>2</Channel>
: <SamplingRate>48000</SamplingRate>
: <BitsPerSample>16</BitsPerSample>
: </Audio>
: </EssenceList>
: <ClipMetadata>
: <Rating>0</Rating>
: <Access>
: <CreationDate>2022-11-14T15:07:16+02:00</CreationDate>
: <LastUpdateDate>2022-11-14T15:07:16+02:00</LastUpdateDate>
: </Access>
: <Device>
: <Manufacturer>Panasonic</Manufacturer>
: <ModelName>DC-GH5S</ModelName>
: </Device>
: <Shoot>
: <StartDate>2022-11-14T15:07:16+02:00</StartDate>
: </Shoot>
: </ClipMetadata>
: </ClipContent>
: <UserArea>
: <AcquisitionMetadata xmlns="urn:schemas-Professional-Plug-in:P2:CameraMetadata:v1.2">
: <CameraUnitMetadata>
: <Gamma>
: <CaptureGamma>STANDARD</CaptureGamma>
: </Gamma>
: <Gamut>
: <CaptureGamut>BT.709</CaptureGamut>
: </Gamut>
: </CameraUnitMetadata>
: </AcquisitionMetadata>
: </UserArea>
: </ClipMain>
:

Duration: 00:00:00.96, start: 0.000000, bitrate: 462094 kb/s
Stream #0:0[0x1](und): Video: h264 (High 4:2:2 Intra) (avc1 / 0x31637661), yuv422p10le(pc, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 370992 kb/s, 25 fps, 25 tbr, 90k tbn (default)

Metadata:

creation_time : 2022-11-14T15:07:16.000000Z
vendor_id : [0][0][0][0]
timecode : 18:37:12:14

Stream #0:1[0x2](und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)

Metadata:

creation_time : 2022-11-14T15:07:16.000000Z
vendor_id : pana
timecode : 18:37:12:14

Stream #0:2[0x3](und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)

Metadata:

creation_time : 2022-11-14T15:07:16.000000Z
timecode : 18:37:12:14

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_s16be (native) -> aac (native))

Press [q] to stop, ? for help
[libx264 @ 000001af0db9e600] using SAR=1/1
[libx264 @ 000001af0db9e600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001af0db9e600] profile High 4:2:2, level 5.1, 4:2:2, 10-bit
[libx264 @ 000001af0db9e600] 264 - core 164 r3101 b093bbe - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'out.mov':

Metadata:

major_brand : qt
minor_version : 537986816
compatible_brands: qt pana
com.panasonic.Semi-Pro.metadata.xml: <?xml version="1.0" encoding="UTF-8" standalone="no" ?>

: <ClipMain xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0">
: <ClipContent>
: <GlobalClipID>060A2B340101010501010D211300000027C3E14950BF56344D0A1060C1650131</GlobalClipID>
: <Duration>24</Duration>
: <EditUnit>1/25</EditUnit>
: <EssenceList>
: <Video>
: <Codec BitRate="400">H264_422_Intra</Codec>
: <ActiveLine>2160</ActiveLine>
: <ActivePixel>3840</ActivePixel>
: <BitDepth>10</BitDepth>
: <FrameRate>25p</FrameRate>
: <TimecodeType>NonDrop</TimecodeType>
: <StartTimecode>18:37:12:14</StartTimecode>
: </Video>
: <Audio>
: <Channel>2</Channel>
: <SamplingRate>48000</SamplingRate>
: <BitsPerSample>16</BitsPerSample>
: </Audio>
: </EssenceList>
: <ClipMetadata>
: <Rating>0</Rating>
: <Access>
: <CreationDate>2022-11-14T15:07:16+02:00</CreationDate>
: <LastUpdateDate>2022-11-14T15:07:16+02:00</LastUpdateDate>
: </Access>
: <Device>
: <Manufacturer>Panasonic</Manufacturer>
: <ModelName>DC-GH5S</ModelName>
: </Device>
: <Shoot>
: <StartDate>2022-11-14T15:07:16+02:00</StartDate>
: </Shoot>
: </ClipMetadata>
: </ClipContent>
: <UserArea>
: <AcquisitionMetadata xmlns="urn:schemas-Professional-Plug-in:P2:CameraMetadata:v1.2">
: <CameraUnitMetadata>
: <Gamma>
: <CaptureGamma>STANDARD</CaptureGamma>
: </Gamma>
: <Gamut>
: <CaptureGamut>BT.709</CaptureGamut>
: </Gamut>
: </CameraUnitMetadata>
: </AcquisitionMetadata>
: </UserArea>
: </ClipMain>
:

encoder : Lavf59.34.101

Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv422p10le(pc, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn (default)

Metadata:

creation_time : 2022-11-14T15:07:16.000000Z
vendor_id : [0][0][0][0]
timecode : 18:37:12:14
encoder : Lavc59.51.101 libx264

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)

Metadata:

creation_time : 2022-11-14T15:07:16.000000Z
vendor_id : pana
timecode : 18:37:12:14
encoder : Lavc59.51.101 aac

frame= 24 fps=6.8 q=-1.0 Lsize= 4379kB time=00:00:00.93 bitrate=38219.1kbits/s speed=0.268x
video:4363kB audio:13kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.062143%
[libx264 @ 000001af0db9e600] frame I:1 Avg QP:35.19 size:1490212
[libx264 @ 000001af0db9e600] frame P:6 Avg QP:37.07 size:405213
[libx264 @ 000001af0db9e600] frame B:17 Avg QP:40.21 size: 32105
[libx264 @ 000001af0db9e600] consecutive B-frames: 4.2% 0.0% 12.5% 83.3%
[libx264 @ 000001af0db9e600] mb I I16..4: 14.1% 21.2% 64.7%
[libx264 @ 000001af0db9e600] mb P I16..4: 3.3% 2.8% 0.4% P16..4: 30.7% 18.2% 18.4% 0.0% 0.0% skip:26.2%
[libx264 @ 000001af0db9e600] mb B I16..4: 0.2% 0.5% 0.0% B16..8: 19.5% 2.1% 1.1% direct: 3.5% skip:73.0% L0:34.6% L1:49.5% BI:15.9%
[libx264 @ 000001af0db9e600] 8x8 transform intra:30.9% inter:31.2%
[libx264 @ 000001af0db9e600] coded y,uvDC,uvAC intra: 55.7% 78.0% 44.8% inter: 14.2% 17.6% 3.2%
[libx264 @ 000001af0db9e600] i16 v,h,dc,p: 18% 47% 29% 5%
[libx264 @ 000001af0db9e600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 13% 67% 3% 2% 2% 2% 2% 4%
[libx264 @ 000001af0db9e600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 17% 14% 10% 9% 9% 9% 9% 11%
[libx264 @ 000001af0db9e600] i8c dc,h,v,p: 58% 19% 18% 4%
[libx264 @ 000001af0db9e600] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001af0db9e600] ref P L0: 66.5% 22.7% 10.8%
[libx264 @ 000001af0db9e600] ref B L0: 84.7% 12.0% 3.3%
[libx264 @ 000001af0db9e600] ref B L1: 94.1% 5.9%
[libx264 @ 000001af0db9e600] kb/s:37227.34
[aac @ 000001af0db9fbc0] Qavg: 14962.555

Change History (10)

comment:1 by Elon Musk, 18 months ago

with ffplay or?

in reply to:  1 comment:2 by Michael Koch, 18 months ago

Replying to Elon Musk:

with ffplay or?

The input file plays with VLC and FFplay, the output file plays with none of them.

comment:3 by Carl Eugen Hoyos, 18 months ago

Works fine here and I wonder what kind of issue you are trying to show: Is ffmpeg able to read the output file?

in reply to:  3 comment:4 by Michael Koch, 18 months ago

Replying to Carl Eugen Hoyos:

Works fine here and I wonder what kind of issue you are trying to show: Is ffmpeg able to read the output file?

This is the console output when I try to open the output file with ffmpeg:

C:\Users\astro\Desktop\utz>ffmpeg -i out.mov
ffmpeg version 2022-11-03-git-5ccd4d3060-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers

built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
libavutil 57. 40.100 / 57. 40.100
libavcodec 59. 51.101 / 59. 51.101
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 49.101 / 8. 49.101
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100

[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[h264 @ 0000025cf35fb940] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0000025cf35fb940] decode_slice_header error
[h264 @ 0000025cf35fb940] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000025cf35fd340] Could not find codec parameters for stream 0 (Video: h264 (aivx / 0x78766961), none(bt709), 3840x2160, 37233 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov':

Metadata:

major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf59.34.101

Duration: 00:00:00.96, start: 0.000000, bitrate: 37369 kb/s
Stream #0:0[0x1]: Video: h264 (aivx / 0x78766961), none(bt709), 3840x2160, 37233 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 12800 tbn (default)

Metadata:

handler_name : VideoHandler
vendor_id : FFMP
encoder : Lavc59.51.101 libx264
timecode : 18:37:12:14

Stream #0:1[0x2]: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 111 kb/s (default)

Metadata:

handler_name : SoundHandler
vendor_id : [0][0][0][0]

Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74), 0 kb/s

Metadata:

handler_name : TimeCodeHandler
timecode : 18:37:12:14

At least one output file must be specified

C:\Users\astro\Desktop\utz>pause
Press any key to continue . . .

comment:5 by Carl Eugen Hoyos, 18 months ago

Please test with:
$ ffmpeg -i P1001010.mov -vcodec mpeg4 -qscale 2 out.mp4
This will allow to eliminate the possibility of a miscompiled external library.

in reply to:  5 comment:6 by Michael Koch, 18 months ago

Replying to Carl Eugen Hoyos:

Please test with:
$ ffmpeg -i P1001010.mov -vcodec mpeg4 -qscale 2 out.mp4
This will allow to eliminate the possibility of a miscompiled external library.

That works fine and the output file is playable with VLC and FFplay.

comment:7 by Balling, 18 months ago

in reply to:  7 comment:8 by Michael Koch, 18 months ago

Replying to Balling:

Try other official binary: https://github.com/BtbN/FFmpeg-Builds/releases

just tested, but the output file has the same problem.

C:\Users\astro\Desktop\utz>ffmpeg -i out.mov
ffmpeg version N-109079-g3ab11dc5bb-20221114 Copyright (c) 2000-2022 the FFmpeg developers

built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221114
libavutil 57. 42.100 / 57. 42.100
libavcodec 59. 52.102 / 59. 52.102
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.100 / 8. 50.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100

[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[h264 @ 00000277fb1cc200] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 00000277fb1cc200] decode_slice_header error
[h264 @ 00000277fb1cc200] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000277fb1c7e80] Could not find codec parameters for stream 0 (Video: h264 (aivx / 0x78766961), none(bt709), 3840x2160, 37232 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov':

Metadata:

major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf59.34.101

Duration: 00:00:00.96, start: 0.000000, bitrate: 37369 kb/s
Stream #0:0[0x1]: Video: h264 (aivx / 0x78766961), none(bt709), 3840x2160, 37232 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 12800 tbn (default)

Metadata:

handler_name : VideoHandler
vendor_id : FFMP
encoder : Lavc59.52.102 libx264
timecode : 18:37:12:14

Stream #0:1[0x2]: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 111 kb/s (default)

Metadata:

handler_name : SoundHandler
vendor_id : [0][0][0][0]

Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74), 0 kb/s

Metadata:

handler_name : TimeCodeHandler
timecode : 18:37:12:14

At least one output file must be specified

comment:9 by Michael Koch, 18 months ago

I just realized that there are two versions available, gpl and lgpl:

This version works:

C:\Users\astro\Desktop\utz>ffmpeg -i P1001010.MOV -y out.mov
ffmpeg version N-109088-g52f7adfbde-20221115 Copyright (c) 2000-2022 the FFmpeg developers

built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --disable-avisynth --enable-chromaprint --enable-libdav1d --disable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --disable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --disable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --disable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221115
libavutil 57. 42.100 / 57. 42.100
libavcodec 59. 52.102 / 59. 52.102
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.100 / 8. 50.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100

This version doesn't work:

C:\Users\astro\Desktop\utz>ffmpeg -i P1001010.MOV -y out.mov
ffmpeg version N-109088-g52f7adfbde-20221115 Copyright (c) 2000-2022 the FFmpeg developers

built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221115
libavutil 57. 42.100 / 57. 42.100
libavcodec 59. 52.102 / 59. 52.102
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.100 / 8. 50.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100

comment:10 by Balling, 18 months ago

Status: newopen

Issue with gpl enabled.

what happens is it encodes aivx. Why? aivx refers to (Sony) XAVC, x264 prefers it. Yet ffmpeg cannot decode it.

Well, just use libx265 instead. We are in 2022. Or libx264rgb.

Compressor ID : aivx
Vendor ID : FFmpeg

Related https://github.com/FFmpeg/FFmpeg/commit/dceb8b12525c8236ffb389bbd9bf04423a570c1a
https://github.com/FFmpeg/FFmpeg/commit/6e65e3483706d969d176909fae9e216919f59277

https://video.stackexchange.com/questions/21330/ffmpeg-h264-vlc-could-not-decode-the-format-aivx

Last edited 18 months ago by Balling (previous) (diff)
Note: See TracTickets for help on using tickets.