[FFmpeg-trac] #6430(avformat:open): Ogg audio file not detected
FFmpeg
trac at avcodec.org
Fri Jun 2 05:08:00 EEST 2017
#6430: Ogg audio file not detected
-------------------------------------+------------------------------------
Reporter: cgbug | Owner:
Type: enhancement | Status: open
Priority: wish | Component: avformat
Version: git-master | Resolution:
Keywords: ogg wav | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
-------------------------------------+------------------------------------
Changes (by jamrial):
* analyzed: 0 => 1
* keywords: ogg => ogg wav
Comment:
This file is a pcm WAV file and a Vorbis OGG file stitched together with
some custom header at the beginning, probably telling whatever handles
this file (XCom it seems) where to look for either of them.
ffmpeg is able to parse the ogg part if you force the ogg demuxer because
ogg_read_header() will search the whole file until it finds the first OggS
tag, something ogg_probe() does not.
The chances for this kind of file to ever be properly supported are low to
null. The ogg probe function could perhaps parse the entire probe buffer
until it finds the first OggS tag, but even then the pcm WAV part comes
first so you'd need a big probe buffer for it.
Just force the ogg demuxer for these files.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6430#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list