[FFmpeg-user] ffmpeg not seeing past junk in ogg files
Silent Strider
silent.strider at gmx.de
Fri Dec 27 17:57:05 EET 2019
Am 27.12.2019 um 16:51 schrieb Carl Eugen Hoyos:
>
>> Am 27.12.2019 um 15:16 schrieb Silent Strider <silent.strider at gmx.de>:
>>
>> ffprobe version git-2019-12-26-b0d0d7e Copyright (c) 2007-2019 the
>> FFmpeg developers
>> built with gcc 9.2.1 (GCC) 20191125
>> configuration: --enable-gpl --enable-version3 --enable-sdl2
>> --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
>> --enable-libdav1d --enable-libbluray --enable-libfreetype
>> --enable-libmp3lame --enable-libopencore-amrnb
>> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
>> --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
>> --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
>> --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
>> --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab
>> --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
>> --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
>> --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc
>> --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
>> --enable-amf
>> libavutil 56. 37.100 / 56. 37.100
>> libavcodec 58. 65.100 / 58. 65.100
>> libavformat 58. 35.101 / 58. 35.101
>> libavdevice 58. 9.101 / 58. 9.101
>> libavfilter 7. 69.101 / 7. 69.101
>> libswscale 5. 6.100 / 5. 6.100
>> libswresample 3. 6.100 / 3. 6.100
>> libpostproc 55. 6.100 / 55. 6.100
>> ogg_padded: Invalid data found when processing input
> Does it work with the following command line?
> $ ffmpeg -f ogg -i ogg_padded
Interestingly, it does. There is no information about skipped bytes at
all though:
[ogg @ 000002403d7ebf40] 25 bytes of comment header remain
Input #0, ogg, from 'ogg_padded':
Duration: 00:00:09.62, start: 0.000000, bitrate: 41 kb/s
Stream #0:0: Audio: vorbis, 48000 Hz, mono, fltp, 70 kb/s
Even in debug log level it doesn't tell:
[ogg @ 0000019ea2ddc040] Opening 'ogg_padded' for reading
[file @ 0000019ea2ddc940] Setting default whitelist 'file,crypto'
[ogg @ 0000019ea2ddc040] 25 bytes of comment header remain
[ogg @ 0000019ea2ddc040] Before avformat_find_stream_info() pos: 8676
bytes read:82799 seeks:2 nb_streams:1
[ogg @ 0000019ea2ddc040] All info found
[ogg @ 0000019ea2ddc040] After avformat_find_stream_info() pos: 8676
bytes read:82799 seeks:2 frames:1
Input #0, ogg, from 'ogg_padded':
Duration: 00:00:09.62, start: 0.000000, bitrate: 41 kb/s
Stream #0:0, 1, 1/48000: Audio: vorbis, 48000 Hz, mono, fltp, 70 kb/s
[AVIOContext @ 0000019ea2de5c80] Statistics: 82799 bytes read, 2 seeks
Thank you for the possibility. In the files I currently manage there are
only mp3 or ogg inside.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list