[Libav-user] Demuxers and probing

valentinoffner at free.fr valentinoffner at free.fr
Tue Feb 19 09:22:09 CET 2013


Hi,

I'm actually working on Libavformat for an internship and i have one question. 

I'd to integrate 2 specific-demuxers (audio et video) in libavformat, i didn't have to code them so I did it without any problem. 
 But now, if i try to open a specific audio file, both demuxers send AVPROBE_SCORE_MAX and probing fails :

Command line:
"d:\\Projet\\ffmpeg\\ffprobe.exe" ../audiofile.00 -report
ffprobe version 1.1.git Copyright (c) 2007-2013 the FFmpeg developers
  built on Feb 18 2013 15:44:34 with gcc 4.7.1 (tdm-1)
  configuration: --prefix=buildCCC
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.102 / 54. 91.102
  libavformat    54. 62.100 / 54. 62.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 37.101 /  3. 37.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102 

audio probe: recognized NG format.  -- v1.1.1.4
video probe: recognized NG format.  -- v1.1.1.4

… (8 times)

audio probe: recognized NG format.  -- v1.1.1.4
video probe: recognized NG format.  -- v1.1.1.4

[AVIOContext @ 003f2e20] Statistics: 1048576 bytes read, 0 seeks
../audiofile.00: Invalid data found when processing input

So, my questions are :
-my problem can come from other thing that this 2 demuxers ?
-what happen if 2 demuxers get same score ? I've to recode demuxers to get 2 different scores or ffprobe can choose one of them ?

Thank you for the answer !


More information about the Libav-user mailing list