[Solved]VLC embedded in wxWidget

This forum is about all development around libVLC.
Rahzm
New Cone
New Cone
Posts: 5
Joined: 10 Sep 2012 20:56

[Solved]VLC embedded in wxWidget

Postby Rahzm » 10 Sep 2012 21:23

I'm trying to embed VLC in a wxWidget application.

If i don't put the line :

libvlc_media_player_set_hwnd(mp, (void*)ihmService->getHWND());

a second window appears and my avi is displayed. The length of the avi is 2 second.

But if i put the line : my main window become black for 2 second and then become normal (i can listen the sound of the avi).

I dont know why but the video isn't displayed. Just black screen and sound.

Can somebody help me ?
Last edited by Rahzm on 11 Sep 2012 03:32, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC embedded in wxWidget

Postby Jean-Baptiste Kempf » 10 Sep 2012 22:03

You need the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rahzm
New Cone
New Cone
Posts: 5
Joined: 10 Sep 2012 20:56

Re: VLC embedded in wxWidget

Postby Rahzm » 11 Sep 2012 01:38

Best log i never seen :

Code: Select all

-- logger module started -- main error: Failed to set on top -- logger module stopped --

Rahzm
New Cone
New Cone
Posts: 5
Joined: 10 Sep 2012 20:56

Re: VLC embedded in wxWidget

Postby Rahzm » 11 Sep 2012 01:52

Code: Select all

-- logger module started -- main debug: using interface module "logger" main debug: TIMER module_need() : 23.543 ms - Total 23.543 ms / 1 intvls (Avg 23.543 ms) main debug: looking for interface module: 1 candidate main debug: using interface module "hotkeys" main debug: TIMER module_need() : 3.409 ms - Total 3.409 ms / 1 intvls (Avg 3.409 ms) main debug: looking for interface module: 1 candidate logger: VLC media player - 2.0.3 Twoflower logger: Copyright © 1996-2012 VLC authors and VideoLAN logger: Attention : si vous n'avez plus accès à l'interface graphique, ouvrez une invite de commande, allez dans le dossier où vous avez installé VLC, et lancez « vlc -I qt ». logger: using logger. logger warning: no log filename provided, using `vlc-log.txt' logger debug: opening logfile `vlc-log.txt' -- logger module started -- main debug: using interface module "logger" main debug: using interface module "logger" main debug: TIMER module_need() : 10.532 ms - Total 10.532 ms / 1 intvls (Avg 10.532 ms) main debug: TIMER module_need() : 10.532 ms - Total 10.532 ms / 1 intvls (Avg 10.532 ms) main debug: Creating an input for '/Media/video/test2.avi' main debug: Creating an input for '/Media/video/test2.avi' main debug: find .hosts in dir=C:\VLC\vlc-2.0.3\lua\http/.hosts main debug: fain debnud .hosts in deshi:\V granula2.0.3\lua\httpB, hosts h 'C:\Users\Rahzym\AppData\Local\Temp' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Rahzym\AppData\Local\Temp' main debug: `file:///D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideom%a2iFnt edsetb2u.ga:v ir'e sgtirviecst eadc cteos s: :`1f imain debug:' athestricted to ::1 eveloppement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' main debug: `file:///D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' gives access `file' demux `' path `/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2mvain d2Fbtegst 2restri cted to 127.0.0.1 main debug: restricted to 127.0.0.1 main debug: creating demux: access='file' demux='' location='/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' file='D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: creating demux: access='file' demux='' location='/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' file='D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: looking for access_demux module: 3 candidates main debug: looking for access_demux module: 3 candidates main debug: find .hosts in dir=C:\VLC\vlc-2.0.3\lua\http/dialogs/.hosts main debug: find .hosts in dir=C:\VLC\vlc-2.0.3\lua\http/dialogs/.hosts main debug: no access_demux module matching "file" could be loaded main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 6.942 ms - Total 6.942 ms / 1 intvls (Avg 6.942 ms) main debug: TIMER module_need() : 6.942 ms - Total 6.942 ms / 1 intvls (Avg 6.942 ms) main debug: creating access 'file' location='/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi', path='D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: creating access 'file' location='/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi', path='D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: looking for access module: 3 candidates main debug: looking for access module: 3 candidates filesystem debug: opening file `D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' filesystem debug: opening file `D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: using access module "filesystem" main debug: using access module "filesystem" main debug: TIMER module_need() : 6.012 ms - Total 6.012 ms / 1 intvls (Avg 6.012 ms) main debug: TIMER module_need() : 6.012 ms - Total 6.012 ms / 1 intvls (Avg 6.012 ms) main debug: Using stream method for AStream* main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: starting pre-buffering main debug: received first data after 0 ms main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1020 KiB/s main debug: pre-buffering done 1024 bytes in 0s - 1020 KiB/s main debug: looking for stream_filter module: 4 candidates main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 7.338 ms - Total 7.338 ms / 1 intvls (Avg 7.338 ms) main debug: TIMER module_need() : 7.338 ms - Total 7.338 ms / 1 intvls (Avg 7.338 ms) main debug: looking for stream_filter module: 1 candidate main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 3.246 ms - Total 3.246 ms / 1 intvls (Avg 3.246 ms) main debug: TIMER module_need() : 3.246 ms - Total 3.246 ms / 1 intvls (Avg 3.246 ms) main debug: creating demux: access='file' demux='' location='/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' file='D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: creating demux: access='file' demux='' location='/D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' file='D:\Documents\Developpement\Magworld\MWClient\\Media\video\test2.avi' main debug: looking for demux module: 55 candidates main debug: looking for demux module: 55 candidates avi debug: <list 'AVI '> avi debug: <list 'AVI '> avi debug: <list 'hdrl'> avi debug: <list 'hdrl'> avi debug: <list 'strl'> avi debug: <list 'strl'> avi debug: </list 'strl'> avi debug: </list 'strl'> avi debug: <list 'strl'> avi debug: <list 'strl'> avi debug: </list 'strl'> avi debug: </list 'strl'> avi debug: </list 'hdrl'> avi debug: </list 'hdrl'> avi debug: skipping movi chunk avi debug: skipping movi chunk avi debug: </list 'AVI '> avi debug: </list 'AVI '> avi debug: * LIST-root size:208966176 pos:0 avi debug: * LIST-root size:208966176 pos:0 avi debug: + RIFF-AVI size:208966168 pos:0 avi debug: + RIFF-AVI size:208966168 pos:0 avi debug: | + LIST-hdrl size:334 pos:12 avi debug: | + LIST-hdrl size:334 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:116 pos:88 avi debug: | | + LIST-strl size:116 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:40 pos:164 avi debug: | | | + strf size:40 pos:164 avi debug: | | + LIST-strl size:134 pos:212 avi debug: | | + LIST-strl size:134 pos:212 avi debug: | | | + strh size:56 pos:224 avi debug: | | | + strh size:56 pos:224 avi debug: | | | + strf size:58 pos:288 avi debug: | | | + strf size:58 pos:288 avi debug: | + LIST-movi size:208389790 pos:354 avi debug: | + LIST-movi size:208389790 pos:354 avi debug: | + idx1 size:576016 pos:208390152 avi debug: | + idx1 size:576016 pos:208390152 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE avi debug: stream[0] rate:30 scale:1 samplesize:0 avi debug: stream[0] rate:30 scale:1 samplesize:0 avi debug: stream[0] video(XVID) 640x480 24bpp 30.000000fps avi debug: stream[0] video(XVID) 640x480 24bpp 30.000000fps main debug: selecting program id=0 main debug: selecting program id=0 avi debug: stream[1] rate:22179 scale:1024 samplesize:1 avi debug: stream[1] rate:22179 scale:1024 samplesize:1 avi warning: track[1] samplesize=1 and blocksize=1024 are not equal.Using blocksize as a workaround. avi warning: track[1] samplesize=1 and blocksize=1024 are not equal.Using blocksize as a workaround. avi debug: stream[1] audio(0x2 - MS ADPCM audio) 1 channels 44100Hz 4bits avi debug: stream[1] audio(0x2 - MS ADPCM audio) 1 channels 44100Hz 4bits avi debug: selected standard index for stream[0] avi debug: selected standard index for stream[0] avi debug: selected standard index for stream[1] avi debug: selected standard index for stream[1] avi debug: stream[0] created 20903 index entries avi debug: stream[0] created 20903 index entries avi debug: stream[1] created 15098 index entries avi debug: stream[1] created 15098 index entries avi debug: stream[0] length:696 (based on index) avi debug: stream[0] length:696 (based on index) avi debug: stream[1] length:697 (based on index) avi debug: stream[1] length:697 (based on index) main debug: using demux module "avi" main debug: using demux module "avi" main debug: TIMER module_need() : 41.816 ms - Total 41.816 ms / 1 intvls (Avg 41.816 ms) main debug: TIMER module_need() : 41.816 ms - Total 41.816 ms / 1 intvls (Avg 41.816 ms) main debug: looking for a subtitle file in D:\Documents\Developpement\Magworld\MWClient\\Media\video\ main debug: looking for a subtitle file in D:\Documents\Developpement\Magworld\MWClient\\Media\video\ main debug: looking for decoder module: 31 candidates main debug: looking for decoder module: 31 candidates avcodec debug: libavcodec initialized (interface 0x361100) avcodec debug: libavcodec initialized (interface 0x361100) avcodec debug: trying to use direct rendering avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: allowing 4 thread(s) for decoding avcodec debug: ffmpeg codec (MPEG-4 Video) started avcodec debug: ffmpeg codec (MPEG-4 Video) started avcodec debug: using frame thread mode with 4 threads avcodec debug: using frame thread mode with 4 threads main debug: using decoder module "avcodec" main debug: using decoder module "avcodec" main debug: TIMER module_need() : 31.488 ms - Total 31.488 ms / 1 intvls (Avg 31.488 ms) main debug: TIMER module_need() : 31.488 ms - Total 31.488 ms / 1 intvls (Avg 31.488 ms) main debug: looking for decoder module: 31 candidates main debug: looking for decoder module: 31 candidates avcodec debug: libavcodec already initialized avcodec debug: libavcodec already initialized avcodec debug: ffmpeg codec (MS ADPCM audio) started avcodec debug: ffmpeg codec (MS ADPCM audio) started avcodec debug: Using 192000 bytes output buffer avcodec debug: Using 192000 bytes output buffer main debug: using decoder module "avcodec" main debug: using decoder module "avcodec" main debug: TIMER module_need() : 5.726 ms - Total 5.726 ms / 1 intvls (Avg 5.726 ms) main debug: TIMER module_need() : 5.726 ms - Total 5.726 ms / 1 intvls (Avg 5.726 ms) main debug: looking for packetizer module: 21 candidates main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_copy" main debug: using packetizer module "packetizer_copy" main debug: TIMER module_need() : 13.974 ms - Total 13.974 ms / 1 intvls (Avg 13.974 ms) main debug: TIMER module_need() : 13.974 ms - Total 13.974 ms / 1 intvls (Avg 13.974 ms) main debug: looking for meta reader module: 2 candidates main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Rahzym\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Users\Rahzym\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\VLC\vlc-2.0.3\lua\meta\reader lua debug: Trying Lua scripts in C:\VLC\vlc-2.0.3\lua\meta\reader lua debug: Trying Lua playlist script C:\VLC\vlc-2.0.3\lua\meta\reader\filename.luac lua debug: Trying Lua playlist script C:\VLC\vlc-2.0.3\lua\meta\reader\filename.luac main debug: no meta reader module matching "any" could be loaded main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 9.832 ms - Total 9.832 ms / 1 intvls (Avg 9.832 ms) main debug: TIMER module_need() : 9.832 ms - Total 9.832 ms / 1 intvls (Avg 9.832 ms) main debug: `file:///D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' successfully opened main debug: `file:///D:/Documents/Developpement/Magworld/MWClient/%2FMedia%2Fvideo%2Ftest2.avi' successfully opened main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 8% main debug: Buffering 8% main debug: Buffering 16% main debug: Buffering 16% main debug: looking for text renderer module: 2 candidates main debug: looking for text renderer module: 2 candidates main debug: Buffering 25% main debug: Buffering 25% main debug: Buffering 33% main debug: Buffering 33% freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf freetype debugm aUsinebu g: ial as fing 41% m mfaiilne dCe:b\uWgin:d oBauscf\fFeowanitnsg: \h a4rcal c hanntfl configuration not set : guessing avcodec warning: Physical channel configuration not set : guessing main debug: Buffering 50% main debug: Buffering 50% freetype debug: using fontsize: 2 freetype debug: usinm finn dsebze: 2 Buffering 58% main debug: Buffering 58% main debug: using text renderer module "freetype" main debug: using text remderen meodug: Buffetyng 66 % main debug: Buffering 66% main debug: TIMER module_need() : 10.262 ms - Total 10.262 msm a/i n1 dienbtuvgl:s B(uAfvfge r1i0n.g2 6725 % mma n dmeabiung :d eBbuufgf:e rTiInMgE R7 5m% odule_need() : 10.262 ms - Total 10.262 ms / 1 intvls (Avg 10.262 ms) main debug: looking for video filter2 module: 18 candidates maim debnug: blooking foring 83% fimlatienr 2d emboudgu:l eB:u f1f8e rcianngd i8d3a% tes main debug: Buffering 91% main debug: Buffering 91% main debug: Buffering 100% main debug: Buffering 100% main debug: Stream buffering done (325 ms in 18 ms) main debug: Stream buffering done (325 ms in 18 ms) swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 8.139 ms - Total 8.139 ms / 1 intvls (Avg 8.139 ms) main debug: TIMER module_need() : 8.139 ms - Total 8.139 ms / 1 intvls (Avg 8.139 ms) main debug: looking for video filter2 module: 18 candidates main debug: looking for video filter2 module: 18 candidates yuvp debug: YUVP to YUVA converter yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: using video filter2 module "yuvp" main debug: TIMER module_need() : 15.828 ms - Total 15.828 ms / 1 intvls (Avg 15.828 ms) main debug: TIMER module_need() : 15.828 ms - Total 15.828 ms / 1 intvls (Avg 15.828 ms) main debug: Deinterlacing available main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: deinterlace 0, mode blend, is_needed 0 main debug: Opening vout display wrapper main debug: Opening vout display wrapper main debug: looking for vout display module: 6 candidates main debug: looking for vout display module: 6 candidates direct3d debug: creating Vout EventThread direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module: 2 candidates main debug: looking for vout window hwnd module: 2 candidates main debug: using vout window hwnd module "drawable" main debug: using vout window hwnd module "drawable" main debug: TIMER module_need() : 3.476 ms - Total 3.476 ms / 1 intvls (Avg 3.476 ms) main debug: TIMER module_need() : 3.476 ms - Total 3.476 ms / 1 intvls (Avg 3.476 ms) direct3d debug: created video sub-window direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 480 4318 1728 163 direct3d debug: Direct3d Device: NVIDIA GeForce GTX 480 4318 1728 163 main debug: VoutDisplayEvent 'resize' 648x507 window main debug: VoutDisplayEvent 'resize' 648x507 window direct3d warning: trying surface pixel format: YV12 direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: using vout display module "direct3d" main debug: TIMER module_need() : 66.197 ms - Total 66.197 ms / 1 intvls (Avg 66.197 ms) main debug: TIMER module_need() : 66.197 ms - Total 66.197 ms / 1 intvls (Avg 66.197 ms) main debug: original format sz 640x480, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: original format sz 640x480, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main debug: removain debug: VoutDig module "freetize' 5 93x427 window main debug: VoutDisplayEvent 'resize' 593x427 window main debug: looking for text renderer module: 2 candidates main debug: looking for text renderer module: 2 candidates freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf main error: Failed to set on top main error: Failed to set on top freetype debug: using fontsize: 2 freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: using text renderer module "freetype" main debug: TIMER module_need() : 5.815 ms - Total 5.815 ms / 1 intvls (Avg 5.815 ms) main debug: TIMER module_need() : 5.815 ms - Total 5.815 ms / 1 intvls (Avg 5.815 ms) main debug: creating audio output main debug: creating audio outputa vcodec debug: using direct rendering avcodec debug: using direct rendering main debug: looking for audio output module: 2 candidates main debug: looking for audio output module: 2 candidates aout_directx debug: Opening DirectSound Audio Output aout_dimeain debbug: Opening DirectSreund Au dimoa iOnu tdpeubt ug: End of video preroll main debug: Received first picture main debug: Received first picture main debug: Post-processing available main debug: Post-processing available aout_directx debug: found device: Périphérique audio principal aout_directx debug: found device: Périphérique audio principal aout_directx debug: found device: Haut-parleurs (Realtek High Definition Audio) aout_directx debug: found device: Haut-parleurs (Realtek High Definition Audio) aout_directx debug: found device: VE248-0 (NVIDIA High Definition Audio) aout_directx debug: found device: VE248-0 (NVIDIA High Definition Audio) aout_directx debug: found device: Realtek Digital Output(Optical) (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output(Optical) (Realtek High Definition Audio) aout_directx debug: found device: VE248-3 (2- NVIDIA High Definition Audio) aout_directx debug: found device: VE248-3 (2- NVIDIA High Definition Audio) aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio) aout_directx debug: device supports 2 channels (DEFAULT!) aout_directx debug: device supports 2 channels (DEFAULT!) aout_directx debug: device supports 1 channel aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread aout_directx debug: creating DirectSoundThread main debug: using audio output module "aout_directx" main debug: asing aurectx deput modDirecaout_directx" ready aout_directx debug: DirectSoundThread ready main debug: TIMER module_need() : 67.808 ms - Total 67.808 ms / 1 intvls (Avg 67.808 ms) main debug: TIMER module_need() : 67.808 ms - Total 67.808 ms / 1 intvls (Avg 67.808 ms) main debug: output 's16l' 44100 Hz Stereo/Left frame=1 samples/4 bytes main debug: output 's16l' 44100 Hz Stereo/Left frame=1 samples/4 bytes main debug: mixer 'f32l' 44100 Hz Stereo/Left frame=1 samples/8 bytes main debug: mixer 'f32l' 44100 Hz Stereo/Left frame=1 samples/8 bytes main debug: filter(s) 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo/Left->Stereo/Left main debug: filter(s) 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo/Left->Stereo/Left main debug: looking for audio filter module: 14 candidates main debug: looking for audio filter module: 14 candidates audio_format debug: f32l->s16l, bits per sample: 32->16 audio_format debug: f32l->s16l, bits per sample: 32->16 main debug: using audio filter module "audio_format" main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 17.709 ms - Total 17.709 ms / 1 intvls (Avg 17.709 ms) main debug: TIMER module_need() : 17.709 ms - Total 17.709 ms / 1 intvls (Avg 17.709 ms) main debug: conversion pipeline completed main debug: conversion pipeline completed main debug: looking for audio mixer module: 2 candidates main debug: looking for audio mixer module: 2 candidates main debug: using audio mixer module "float32_mixer" main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 3.494 ms - Total 3.494 ms / 1 intvls (Avg 3.494 ms) main debug: TIMER module_need() : 3.494 ms - Total 3.494 ms / 1 intvls (Avg 3.494 ms) main debug: input 's16l' 44100 Hz Mono frame=1 samples/2 bytes main debug: input 's16l' 44100 Hz Mono frame=1 samples/2 bytes main debug: looking for audio filter module: 1 candidate main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 7.615 ms - Total 7.615 ms / 1 intvls (Avg 7.615 ms) main debug: TIMER module_need() : 7.615 ms - Total 7.615 ms / 1 intvls (Avg 7.615 ms) main debug: filter(s) 's16l'->'f32l' 44100 Hz->44100 Hz Mono->Stereo/Left main debug: filter(s) 's16l'->'f32l' 44100 Hz->44100 Hz Mono->Stereo/Left main debug: looking for audio filter module: 14 candidates main debug: looking for audio filter module: 14 candidates main debug: no audio filter module matching "any" could be loaded main debug: no audio filter module matching "any" could be loaded main debug: TIMER module_need() : 2.641 ms - Total 2.641 ms / 1 intvls (Avg 2.641 ms) main debug: TIMER module_need() : 2.641 ms - Total 2.641 ms / 1 intvls (Avg 2.641 ms) main debug: looking for audio filter module: 14 candidates main debug: looking for audio filter module: 14 candidates main debug: using audio filter module "trivial_channel_mixer" main debug: using audio filter module "trivial_channel_mixer" main debug: TIMER module_need() : 2.427 ms - Total 2.427 ms / 1 intvls (Avg 2.427 ms) main debug: TIMER module_need() : 2.427 ms - Total 2.427 ms / 1 intvls (Avg 2.427 ms) main debug: looking for audio filter module: 14 candidates main debug: looking for audio filter module: 14 candidates audio_format debug: s16l->f32l, bits per sample: 16->32 audio_format debug: s16l->f32l, bits per sample: 16->32 main debug: using audio filter module "audio_format" main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 3.441 ms - Total 3.441 ms / 1 intvls (Avg 3.441 ms) main debug: TIMER module_need() : 3.441 ms - Total 3.441 ms / 1 intvls (Avg 3.441 ms) main debug: conversion pipeline completed main debug: conversion pipeline completed main debug: filter(s) 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo/Left->Stereo/Left main debug: filter(s) 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo/Left->Stereo/Left main debug: conversion pipeline completed main debug: conversion pipeline completed main debug: filter(s) 'f32l'->'f32l' 48510 Hz->44100 Hz Stereo/Left->Stereo/Left main debug: filter(s) 'f32l'->'f32l' 48510 Hz->44100 Hz Stereo/Left->Stereo/Left main debug: looking for audio filter module: 14 candidates main debug: looking for audio filter module: 14 candidates main debug: using audio filter module "samplerate" main debug: using audio filter module "samplerate" main debug: TIMER module_need() : 2.353 ms - Total 2.353 ms / 1 intvls (Avg 2.353 ms) main debug: TIMER module_need() : 2.353 ms - Total 2.353 ms / 1 intvls (Avg 2.353 ms) main debug: conversion pipeline completed main debug: conversion pipeline completed main debug: End of audio preroll main debug: End of audio preroll main debug: Decoder buffering done in 242 ms main debug: Decoder buffering done in 242 ms main warning: PTS is out of range (-9991), dropping buffer main warning: PTS is out of range (-9991), dropping buffer main warning: audio output out of sync, adjusting dates (76231 us) main warning: audio output out of sync, adjusting dates (76231 us) main warning: not synchronized (76231 us), resampling main warning: not synchronized (76231 us), resampling main warning: buffer too late (75753), up-sampling main warning: buffer too late (75753), up-sampling main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: control: stopping input main debug: control: stopping input main debug: removing module "avcodec" main debug: removing module "avcodec" avcodec debug: ffmpeg codec (MPEG-4 Video) stopped avcodec debug: ffmpeg codec (MPEG-4 Video) stopped main debug: killing decoder fourcc `mp4v', 0 PES in FIFO main debug: killing decoder fourcc `mp4v', 0 PES in FIFO main debug: saving a free vout main debug: saving a free vout main debug: reusing provided vout main debug: reusing provided vout main debug: removing module "avcodec" main debug: removing module "avcodec" avcodec debug: ffmpeg codec (MS ADPCM audio) stopped avcodec debug: ffmpeg codec (MS ADPCM audio) stopped main debug: killing decoder fourcc ` ms', 0 PES in FIFO main debug: killing decoder fourcc ` ms', 0 PES in FIFO main debug: removing module "audio_format" main debug: removing module "audio_format" main debug: removing module "trivial_channel_mixer" main debug: removing module "trivial_channel_mixer" main debug: removing module "scaletempo" main debug: removing module "scaletempo" main debug: removing module "samplerate" main debug: removing module "samplerate" main debug: removing module "aout_directx" main debug: removing module "aout_directx" aout_directx debug: closing audio device aout_directx debug: closing audio device aout_directx debug: DirectSoundThread exiting aout_directx debug: DirectSoundThread exiting main debug: removing module "audio_format" main debug: removing module "audio_format" main debug: removing module "float32_mixer" main debug: removing module "float32_mixer" main debug: releasing audio output main debug: releasing audio output main debug: removing module "packetizer_copy" main debug: removing module "packetizer_copy" main debug: removing module "avi" main debug: removing module "avi" main debug: removing module "stream_filter_record" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: Program doesn't contain anymore ES main debug: TIMER input launching for '/Media/video/test2.avi' : 160.423 ms - Total 160.423 ms / 1 intvls (Avg 160.423 ms) main debug: TIMER input launching for '/Media/video/test2.avi' : 160.423 ms - Total 160.423 ms / 1 intvls (Avg 160.423 ms) main debug: destroying useless vout main debug: destroying useless vout main debug: removing module "direct3d" main debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: Direct3D scene released successfully direct3d debug: DirectXEventThread terminating direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY direct3d debug: WinProc WM_DESTROY main debug: removing module "freetype" main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "yuvp" main debug: removing module "swscale" main debug: removing module "swscale" main debug: deactivating the playlist main debug: deactivating the playlist main debug: removing all services discovery tasks main debug: removing all services discovery tasks main debug: removing all interfaces main debug: removing all interfaces main debug: exiting main debug: exiting main debug: removing module "logger" main debug: removing module "logger" -- logger module stopped -- main debug: removing module "hotkeys" main debug: removing module "logger" -- logger module stopped --

Rahzm
New Cone
New Cone
Posts: 5
Joined: 10 Sep 2012 20:56

Re: VLC embedded in wxWidget

Postby Rahzm » 11 Sep 2012 02:07

Code: Select all

-- logger module started -- avi warning: track[1] samplesize=1 and blocksize=1024 are not equal.Using blocksize as a workaround. avcodec warning: Physical channel configuration not set : guessing main error: Failed to set on top main warning: PTS is out of range (-9993), dropping buffer main warning: audio output out of sync, adjusting dates (66184 us) main warning: not synchronized (66184 us), resampling main warning: buffer too late (65706), up-sampling -- logger module stopped --

Rahzm
New Cone
New Cone
Posts: 5
Joined: 10 Sep 2012 20:56

Re: VLC embedded in wxWidget

Postby Rahzm » 11 Sep 2012 03:32

Ok i find solution to this issue : I'm guilty ! The Sleep function using to allow VLC player play the avi. was frozing the main Window. So i launch VLC reading file method in a thread and avi is displayed fine and embedded :)

Baghdad_boy
New Cone
New Cone
Posts: 4
Joined: 25 Nov 2015 10:25

Re: VLC embedded in wxWidget

Postby Baghdad_boy » 25 Nov 2015 10:44

Ok i find solution to this issue : I'm guilty ! The Sleep function using to allow VLC player play the avi. was frozing the main Window. So i launch VLC reading file method in a thread and avi is displayed fine and embedded :)
Thank you Rahzm....thank you. Now I can go get some sleep :lol:


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 1 guest