[FFmpeg-trac] #1919(FFmpeg:new): audio file is treated as video
FFmpeg
trac at avcodec.org
Thu Nov 15 11:05:18 CET 2012
#1919: audio file is treated as video
-------------------------------------+-------------------------------------
Reporter: henry | Type: defect
Status: new | Priority: normal
Component: FFmpeg | Version: 1.0
Keywords: audio video | Blocked By:
cover | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
user lastest ffmpeg to check a FLAC audio file , and it detected file
include five video streams , actually they are cover graphs . [[BR]]
and usually , ffmpeg will convert first video stream , this may cause real
video stream(if list in posterior, like #0:3,#0:4..etc.) can't be
converted. [[BR]]
How to reproduce:
{{{
% ffmpeg -i diatonis_trajectories_08_the-secret-
universe_4424_6-chan.flac
ffmpeg version
built on ... built on Sep 29 2012 16:12:43 with gcc 4.4.6 (GCC) 20120305
(Red Hat 4.4.6-4)
configuration: --prefix=/usr/local/ffmpeg-1.0 --enable-postproc --
enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb -
-enable-version3 --enable-libmp3lame --disable-shared --enable-libx264
--enable-pthreads --enable-libfaac --enable-nonfree --enable-gpl --
enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --
enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib -
-enable-libschroedinger --enable-zlib --enable-libvpx --enable-libxavs
--extra-cflags=-I/usr/local/enctools/include --extra-
ldflags=-L/usr/local/enctools/lib
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[flac @ 0x1e37240] Stream #0: not enough frames to estimate rate; consider
increasing probesize
[flac @ 0x1e37240] Stream #1: not enough frames to estimate rate; consider
increasing probesize
[flac @ 0x1e37240] Stream #2: not enough frames to estimate rate; consider
increasing probesize
[flac @ 0x1e37240] Stream #3: not enough frames to estimate rate; consider
increasing probesize
[flac @ 0x1e37240] Stream #4: not enough frames to estimate rate; consider
increasing probesize
[flac @ 0x1e37240] Stream #5: not enough frames to estimate rate; consider
increasing probesize
[flac @ 0x1e37240] Could not find codec parameters for stream 4 (Video:
mjpeg, 1509x1234): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[flac @ 0x1e37240] Could not find codec parameters for stream 5 (Video:
mjpeg, 720x480): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, flac, from 'diatonis_trajectories_08_the-secret-
universe_4424_6-chan.flac':
Metadata:
ALBUM : Trajectories
ALBUM ARTIST : Diatonis
ARTIST : Diatonis
COMMENT : ©2003-2011 Stuart White
COMPOSER : Stuart White
DATE : 2003
disc : 1
GENRE : Ambient
PERFORMER : Stuart White
TITLE : The Secret Universe
TOTALDISCS : 1
TOTALTRACKS : 8
track : 8
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x003F
Duration: 00:06:47.54, bitrate: 3003 kb/s
Stream #0:0: Audio: flac, 44100 Hz, 5.1(side), s32
Stream #0:1: Video: mjpeg, yuvj444p, 1458x1494 [SAR 300:300 DAR
81:83], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (front)
Stream #0:2: Video: mjpeg, yuvj444p, 1000x780 [SAR 300:300 DAR 50:39],
90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (back)
Stream #0:3: Video: mjpeg, yuvj444p, 1476x1475 [SAR 300:300 DAR
1476:1475], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Media (e.g. label side of CD)
Stream #0:4: Video: mjpeg, 1509x1234, 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Artist/performer
Stream #0:5: Video: mjpeg, 720x480, 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Other file icon
At least one output file must be specified
}}}
but other version of ffmpeg no such issue(cover graph didn't be
detected/listed):
{{{
ffmpeg -i diatonis_trajectories_08_the-secret-universe_4424_6-chan.flac
ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 16 2012 15:16:29 with gcc 4.4.5 20101112 (Red Hat 4.4.5-2)
configuration: --prefix=/usr/local/enctools --enable-postproc --
enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb -
-enable-version3 --enable-libmp3lame --disable-shared --enable-libx264
--enable-pthreads --enable-libfaac --enable-nonfree --enable-gpl --
enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --
enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib -
-enable-libschroedinger --enable-zlib --enable-small --disable-network
--disable-debug --extra-cflags=-I/usr/local/enctools/include --extra-
ldflags=-L/usr/local/enctools/lib
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[flac @ 0x175f400] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from 'diatonis_trajectories_08_the-secret-
universe_4424_6-chan.flac':
Metadata:
ALBUM : Trajectories
ALBUM ARTIST : Diatonis
ARTIST : Diatonis
COMMENT : ©2003-2011 Stuart White
COMPOSER : Stuart White
DATE : 2003
disc : 1
GENRE : Ambient
PERFORMER : Stuart White
TITLE : The Secret Universe
TOTALDISCS : 1
TOTALTRACKS : 8
track : 8
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x003F
Duration: 00:06:47.54, bitrate: 3003 kb/s
Stream #0.0: Audio: flac, 44100 Hz, 5.1, s32
At least one output file must be specified
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1919>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list