[vlc-devel] linking libffmpeg.a under MSVC

Aaron Lee waifunlee at gmail.com
Tue Nov 2 00:13:03 CET 2004


Dear List,

I just downloaded the vlc-0.8.0-test2 package and compile it under
windows platform (using those dsp files under msvc subdirectory).
vlc.exe plays fine on most video files but failed under DIVX encoded
file. (The same file plays fine under the precompiled windows binary).
So I suspect I didn't link in the ffmpeg library. However I couldn't
find the libffmpeg_plugin.dll and only a static library there. Can
anyone tell me how to link the libffmpeg.lib into the windows vlc.exe
environment? Thanks!

-Aaron
P.S. The following is the verbose debug dump for my vlc.exe

[00000315] rc interface: VLC media player - version 0.8.0-test2 Janus
- (c) 1996-2004 VideoLAN
[00000315] rc interface:
Warning: if you can't access the GUI anymore, open a dos command box,
go to the directory where you installed VLC and run "vlc -I
wxwin"

Remote control interface initialized, `h' for help
[00000299] main module debug: using interface module "rc"
[00000315] main interface debug: interface initialized
[00000313] main playlist debug: creating new input thread
[00000316] main input debug: waiting for thread completion
[00000316] main input debug: thread 3936 (input) created at priority 1
(c:\vlc\src\vlc-0.8.0-test2\src\input\input.c:228)
[00000316] main input warning: drive letter c: found in source
[00000316] main input debug: `c:\vlc\samples\kb2.divx' gives access `'
demux `' path `c:\vlc\samples\kb2.divx'
[00000316] main input debug: demux2_New: access='' demux=''
path='c:\vlc\samples\kb2.divx'
[00000317] main demuxer debug: looking for access_demux module
[00000317] main demuxer debug: probing 0 candidates
[00000317] main demuxer warning: no access_demux module matched "any"
[00000316] main input debug: access2_New: access=''
path='c:\vlc\samples\kb2.divx'
[00000318] main access debug: looking for access2 module
[00000318] main access debug: probing 1 candidate
[00000318] access_file access debug: opening file `c:\vlc\samples\kb2.divx'
[00000315] main interface debug: thread 3940 (manager) created at
priority 0 (c:\vlc\src\vlc-0.8.0-test2\src\interface\interface.c
:194)
[00000255] main module debug: using access2 module "access_file"
[00000319] main private debug: pre buffering
[00000319] main private debug: received first data for our buffer
[00000319] main private debug: prebuffering done 1408981 bytes in 0s -
384991 kbytes/s
[00000316] main input debug: demux2_New: access='' demux=''
path='c:\vlc\samples\kb2.divx'
[00000320] main demuxer debug: looking for demux2 module
[00000320] main demuxer debug: probing 6 candidates
[00000320] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000319] avi private debug: found Chunk fourcc:46464952 (RIFF)
size:35394332 pos:0
[00000319] avi private debug: found LIST chunk: 'AVI '
[00000319] avi private debug: <list 'AVI '>
[00000319] avi private debug: found Chunk fourcc:5453494c (LIST)
size:8830 pos:12
[00000319] avi private debug: found LIST chunk: 'hdrl'
[00000319] avi private debug: <list 'hdrl'>
[00000319] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000319] avi private debug: avih: streams:2 flags: HAS_INDEX
IS_INTERLEAVED 640x360
[00000319] avi private debug: found Chunk fourcc:5453494c (LIST)
size:4244 pos:88
[00000319] avi private debug: found LIST chunk: 'strl'
[00000319] avi private debug: <list 'strl'>
[00000319] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000319] avi private debug: strh: type:vids handler:0x78766964
samplesize:0 29.97fps
[00000319] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000319] avi private debug: strf: video:DIVX 640x360 planes:1 24bpp
[00000319] avi private debug: found Chunk fourcc:4b4e554a (JUNK)
size:4120 pos:212
[00000319] avi private debug: </list 'strl'>
[00000319] avi private debug: found Chunk fourcc:5453494c (LIST)
size:4234 pos:4340
[00000319] avi private debug: found LIST chunk: 'strl'
[00000319] avi private debug: <list 'strl'>
[00000319] avi private debug: found Chunk fourcc:68727473 (strh)
size:56 pos:4352
[00000319] avi private debug: strh: type:auds handler:0x00000000
samplesize:1 11982.00fps
[00000319] avi private debug: found Chunk fourcc:66727473 (strf)
size:30 pos:4416
[00000319] avi private debug: strf: audio:0x0055 channels:2 44100Hz
0bits/sample 93kb/s
[00000319] avi private debug: found Chunk fourcc:4b4e554a (JUNK)
size:4120 pos:4454
[00000319] avi private debug: </list 'strl'>
[00000319] avi private debug: found Chunk fourcc:5453494c (LIST)
size:260 pos:8582
[00000319] avi private debug: found LIST chunk: 'odml'
[00000319] avi private debug: <list 'odml'>
[00000319] avi private debug: found Chunk fourcc:686c6d64 (dmlh)
size:248 pos:8594
[00000319] avi private warning: unknown chunk (not loaded)
[00000319] avi private debug: </list 'odml'>
[00000319] avi private debug: </list 'hdrl'>
[00000319] avi private debug: found Chunk fourcc:4b4e554a (JUNK)
size:1382 pos:8850
[00000319] avi private debug: found Chunk fourcc:5453494c (LIST)
size:35158356 pos:10240
[00000319] avi private debug: skipping movi chunk
[00000319] avi private debug: found Chunk fourcc:31786469 (idx1)
size:225728 pos:35168604
[00000319] avi private debug: idx1: index entry:14108
[00000319] avi private debug: </list 'AVI '>
[00000319] avi private debug: found Chunk fourcc:4b4e554a (JUNK)
size:1236 pos:35394340
[00000319] avi private debug: * LIST-root size:35395584 pos:0
[00000319] avi private debug:      + RIFF-AVI  size:35394332 pos:0
[00000319] avi private debug:      |    + LIST-hdrl size:8830 pos:12
[00000319] avi private debug:      |    |    + avih size:56 pos:24
[00000319] avi private debug:      |    |    + LIST-strl size:4244 pos:88
[00000319] avi private debug:      |    |    |    + strh size:56 pos:100
[00000319] avi private debug:      |    |    |    + strf size:40 pos:164
[00000319] avi private debug:      |    |    |    + JUNK size:4120 pos:212
[00000319] avi private debug:      |    |    + LIST-strl size:4234 pos:4340
[00000319] avi private debug:      |    |    |    + strh size:56 pos:4352
[00000319] avi private debug:      |    |    |    + strf size:30 pos:4416
[00000319] avi private debug:      |    |    |    + JUNK size:4120 pos:4454
[00000319] avi private debug:      |    |    + LIST-odml size:260 pos:8582
[00000319] avi private debug:      |    |    |    + dmlh size:248 pos:8594
[00000319] avi private debug:      |    + JUNK size:1382 pos:8850
[00000319] avi private debug:      |    + LIST-movi size:35158356 pos:10240
[00000319] avi private debug:      |    + idx1 size:225728 pos:35168604
[00000319] avi private debug:      + JUNK size:1236 pos:35394340
[00000320] avi demuxer debug: AVIH: 2 stream, flags  HAS_INDEX IS_INTERLEAVED
[00000320] avi demuxer debug: stream[0] rate:2997 scale:100 samplesize:0
[00000320] avi demuxer debug: stream[0] video(DIVX) 640x360 24bpp 29.970000fps
[00000316] main input debug: Selecting program id=0
[00000320] avi demuxer debug: stream[1] rate:11982 scale:1 samplesize:1
[00000320] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits
[00000320] avi demuxer debug: stream[0] created 13226 index entries
[00000320] avi demuxer debug: stream[1] created 882 index entries
[00000320] avi demuxer debug: stream[0] length:441 (based on index)
[00000320] avi demuxer debug: stream[1] length:441 (based on index)
[00000265] main module debug: using demux2 module "avi"
[00000000] main root error: option sub-fps does not exist
[00000316] main input debug: looking for a subtitle file in c:\vlc\samples\
[00000321] main decoder debug: looking for decoder module
[00000321] main decoder debug: probing 22 candidates
[00000321] main decoder error: no suitable decoder module for fourcc `DIVX'.
VLC probably does not support this sound or video format.
[00000321] main decoder debug: killing decoder fourcc `DIVX', 0 PES in FIFO
[00000322] main decoder debug: looking for decoder module
[00000322] main decoder debug: probing 22 candidates
[00000237] main module debug: using decoder module "mpeg_audio"
[00000322] main decoder debug: thread 4056 (decoder) created at
priority 2 (c:\vlc\src\vlc-0.8.0-test2\src\input\decoder.c:157)
[00000316] main input debug: meta information:
[00000316] main input debug:   - 'Setting' = ' HAS_INDEX IS_INTERLEAVED'
[00000316] main input debug: `c:\vlc\samples\kb2.divx' sucessfully opened
[00000316] main input debug: control type=1
[00000322] mpeg_audio decoder: MPGA channels:2 samplerate:44100 bitrate:96
[00000322] main decoder debug: no aout present, spawning one
[00000323] main audio output debug: looking for audio output module
[00000323] main audio output debug: probing 3 candidates
[00000323] aout_directx audio output debug: OpenAudio
[00000323] aout_directx audio output debug: device supports 2 channels
[00000323] aout_directx audio output debug: device supports 1 channel
[00000323] aout_directx audio output debug: creating DirectSoundThread
[00000324] main private debug: thread 4608 (DirectSound Notification
Thread) created at priority 15 (c:\vlc\src\vlc-0.8.0-test2\mo
dules\audio_output\directx.c:357)
[00000324] aout_directx private debug: DirectSoundThread ready
[00000262] main module debug: using audio output module "aout_directx"
[00000323] main audio output debug: output 'fl32' 44100 Hz Stereo
frame=1 samples/8 bytes
[00000323] main audio output debug: mixer 'fl32' 44100 Hz Stereo
frame=1 samples/8 bytes
[00000323] main audio output debug: no need for any filter
[00000323] main audio output debug: looking for audio mixer module
[00000323] main audio output debug: probing 2 candidates
[00000304] main module debug: using audio mixer module "trivial_mixer"
[00000323] main audio output debug: input 'mpga' 44100 Hz Stereo
frame=1152 samples/1053 bytes
[00000323] main audio output debug: filter(s) 'mpga'->'fl32' 44100
Hz->44100 Hz Stereo->Stereo
[00000325] main private debug: looking for audio filter module
[00000325] main private debug: probing 9 candidates
[00000323] main audio output error: couldn't find a filter for the conversion
[00000323] main audio output error: couldn't set an input pipeline

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list