[FFmpeg-trac] #2568(FFprobe:new): ffprobe is unreliable when processing random text files
FFmpeg
trac at avcodec.org
Tue May 14 20:19:53 CEST 2013
#2568: ffprobe is unreliable when processing random text files
-------------------------------------+-------------------------------------
Reporter: | Type: defect
ahthovaikied | Priority: normal
Status: new | Version:
Component: FFprobe | unspecified
Keywords: ffprobe | Blocked By:
text | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
FFprobe is unreliable when processing small text files that are not media
files: it reports random codecs instead of rejecting the files.
For example with a text file containing the lines:
{{{
1. Restless
2. Enter
3. Pearls of light
4. Deep Within
5. Gatekeeper
6. Grace
7. Blooded
8. Candles
}}}
I get:
{{{
$ ./ffprobe -loglevel debug text_file.txt
ffprobe version N-53047-ge751481 Copyright (c) 2007-2013 the FFmpeg
developers
built on May 14 2013 19:38:50 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
x11grab --disable-encoder=vorbis --disable-encoder=aac --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-
libfdk-aac --enable-librtmp --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
--enable-libopus --disable-runtime-cpudetect --disable-ffserver --disable-
debug --cpu=corei7
libavutil 52. 31.100 / 52. 31.100
libavcodec 55. 9.100 / 55. 9.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 65.100 / 3. 65.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[tty @ 0x28fa260] Format tty probed with size=2048 and score=50
[tty @ 0x28fa260] File position before avformat_find_stream_info() is 0
[tty @ 0x28fa260] File position after avformat_find_stream_info() is 106
Input #0, tty, from 'text_file.txt':
Duration: 00:00:00.04, bitrate: 21 kb/s
Stream #0:0, 1, 1/25: Video: ansi, pal8, 640x400, 1/25, 25 fps, 25
tbr, 25 tbn, 25 tbc
[AVIOContext @ 0x2902920] Statistics: 106 bytes read, 0 seeks
}}}
I tried with ffmpeg:
- 1.2.1
- from git today (version.sh outputs N-53047-ge751481).
I'm on Ubuntu 12.04 64bits, the configure options I use for the custom
build can be found above.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2568>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list