[FFmpeg-trac] #10118(undetermined:new): AC3 decoding throws error number -16976906 ... vlc plays well
FFmpeg
trac at avcodec.org
Sat Dec 24 16:02:01 EET 2022
#10118: AC3 decoding throws error number -16976906 ... vlc plays well
-------------------------------------+-------------------------------------
Reporter: mvelanka | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mvelanka):
Replying to [comment:8 Balling]:
> >Are you saying this issue is not happening/will not happen in one of
those builds? Okay
>
> Yes.
I downloaded ffmpeg-n4.4.3-3-gb48951bd29-linux64-gpl-4.4 to verify that.
Here is what I tried on that input file
-----------------------
{{{
./ffmpeg -i orig_file.ts -vcodec copy -acodec aac -map 0:v:0 -map 0:a:1
ff_vlc_aac_1.ts
}}}
I got this
{{{
ffmpeg version n4.4.3-3-gb48951bd29-20221224 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-ffbuild-linux-gnu-
--arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-
debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype
--enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig
--enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf
--enable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-
libaribb24 --enable-avisynth --disable-chromaprint --enable-libdav1d
--enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-
llvm --disable-frei0r --enable-libgme --enable-libkvazaar --enable-libass
--enable-libbluray --enable-libmp3lame --enable-libopus --enable-mbedtls
--enable-librist --enable-libssh --enable-libtheora --enable-libvpx
--enable-libwebp --enable-lv2 --enable-libmfx --disable-openal --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
--enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-
librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-
libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-
libdrm --enable-vaapi --enable-libvidstab --disable-vulkan --enable-
libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-
libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-
cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-
libs='-ldl -lgomp' --extra-version=20221224
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
[mpegts @ 0x55dc206ade40] start time for stream 4 is not set in
estimate_timings_from_pts
[mpegts @ 0x55dc206ade40] PES packet size mismatch
[mpegts @ 0x55dc206ade40] Packet corrupt (stream = 1, dts = 24133680).
Input #0, mpegts, from 'orig_file.ts':
Duration: 00:00:16.52, start: 251.672000, bitrate: 2479 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, progressive), 856x480 [SAR 320:321 DAR 16:9], 30 fps,
59.94 tbr, 90k tbn, 60 tbc
Stream #0:1[0x101](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 384 kb/s
Stream #0:2[0x102](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 128 kb/s
Stream #0:3[0x103](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 192 kb/s (visual impaired) (descriptions)
Stream #0:4[0x104]: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:2: Error number -16976906 occurred
Last message repeated 512 times
Output #0, mpegts, to 'ff_vlc_aac_1.ts':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv,
bt709, progressive), 856x480 [SAR 320:321 DAR 16:9], q=2-31, 30 fps, 59.94
tbr, 90k tbn, 90k tbc
Stream #0:1(spa): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc58.134.100 aac
frame= 495 fps=0.0 q=-1.0 Lsize= 3243kB time=00:00:16.50
bitrate=1609.4kbits/s speed= 985x
video:3056kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 6.115911%
[aac @ 0x55dc209bf0c0] Qavg: nan
Conversion failed!
}}}
It created output file ff_vlc_aac_1.ts. I tried ffprobe on that file as
follows:
{{{
./ffprobe ff_vlc_aac_1.ts
}}}
I got
{{{
ffprobe version n4.4.3-3-gb48951bd29-20221224 Copyright (c) 2007-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-ffbuild-linux-gnu-
--arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-
debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype
--enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig
--enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf
--enable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-
libaribb24 --enable-avisynth --disable-chromaprint --enable-libdav1d
--enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-
llvm --disable-frei0r --enable-libgme --enable-libkvazaar --enable-libass
--enable-libbluray --enable-libmp3lame --enable-libopus --enable-mbedtls
--enable-librist --enable-libssh --enable-libtheora --enable-libvpx
--enable-libwebp --enable-lv2 --enable-libmfx --disable-openal --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
--enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-
librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-
libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-
libdrm --enable-vaapi --enable-libvidstab --disable-vulkan --enable-
libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-
libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-
cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-
libs='-ldl -lgomp' --extra-version=20221224
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
[mpegts @ 0x55b96a0a4580] start time for stream 1 is not set in
estimate_timings_from_pts
[mpegts @ 0x55b96a0a4580] stream 1 : no TS found at start of file,
duration not set
[mpegts @ 0x55b96a0a4580] Could not find codec parameters for stream 1
(Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample
format
Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options
Input #0, mpegts, from 'ff_vlc_aac_1.ts':
Duration: 00:00:16.48, start: 1.438678, bitrate: 1611 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, progressive), 856x480 [SAR 320:321 DAR 16:9], 30 fps,
59.94 tbr, 90k tbn, 60 tbc
Stream #0:1[0x101](spa): Audio: aac ([15][0][0][0] / 0x000F), 0 channels
}}}
I tried to play the output file in VLC... I did not have any sound ... nor
it could show any detailed codec info
I tried the exact same procedure with other two audio streams ... The
results are successful.
Please see.
Thanks for the support you are trying to offer.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10118#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list