libvlc 2.0 smem audio

This forum is about all development around libVLC.
jhinkle
New Cone
New Cone
Posts: 8
Joined: 17 Oct 2012 14:03

libvlc 2.0 smem audio

Postby jhinkle » 17 Oct 2012 14:28

Alex Skoruppa was nice enough to post a libvlc project on CodeProject.com.

http://www.codeproject.com/Articles/389 ... und-libvlc

I've compiled it and it works great.

I wanted to use it as a test bed to see how I could get access to PCM audio data - I need the pcm audio to do a synchronized audio light show with the video.

I found the smem example on the wiki and modified the VLC instance creation - per the wiki example;

Code: Select all

// VLC options char smem_options[256]; sprintf(smem_options, "#transcode{acodec=s16l}:smem{audio-postrender-callback=%lld,audio-prerender-callback=%lld}", // We are using transcode because smem only support raw audio and video formats (long long int)(intptr_t)(void*)&handleStream, (long long int)(intptr_t)(void*)&prepareRender); // We print (as a decimal value) the addresses. Note that you can also define smem-audio-data : this pointer // will be passed to your callbacks (it may be useful to retrive some extra informations) but isn't required at all. const char * const vlc_args[] = { "-I", "dummy", // No special interface "--ignore-config", // Don't use VLC's config "--plugin-path=./plugins", "--extraintf=logger", // Log anything "--verbose=2", // Be much more verbose then normal for debugging purpose "--sout", smem_options // Stream to memory };
I copied the callback functions --- empty contents except for assigning a valid byte buffer in the prepareRender function.

When I play a MP4 video, the libvlc crashes.

I have put breakpoints at the start of both callback functions --- neither are being called prior to the crash.

I comment out the line ""--sout", smem_options // Stream to memory" and all works well.

I noticed in the wiki that the smem example was specified for version 1x.

Has something changed moving to libvlc 2x?

Any insight would be appreciated. I've spent hours researching this issue with no avail.

Thanks in advance for any suggestions.

Joe

jhinkle
New Cone
New Cone
Posts: 8
Joined: 17 Oct 2012 14:03

Re: libvlc 2.0 smem audio

Postby jhinkle » 17 Oct 2012 15:06

I captured the logger info --- last important part below:

Code: Select all

[00b99030] main input debug: Stream buffering done (400 ms in 14 ms) [00bd9098] stream_out_transcode stream out debug: creating audio transcoding fro m fcc=`mp4a' to fcc=`s16l' [05862b08] main generic debug: looking for decoder module: 31 candidates [05862b08] main generic debug: using decoder module "faad" [05862b08] main generic debug: TIMER module_need() : 128.600 ms - Total 128.600 ms / 1 intvls (Avg 128.600 ms) [05855528] main encoder debug: looking for encoder module: 13 candidates [05855528] araw encoder debug: samplerate:44100Hz channels:2 bits/sample:16 [05855528] main encoder debug: using encoder module "araw" [05855528] main encoder debug: TIMER module_need() : 66.469 ms - Total 66.469 ms / 1 intvls (Avg 66.469 ms) [00bd9098] stream_out_transcode stream out debug: Looking for filter (f32l->s16l , channels 2->2, rate 44100->44100) [0585d2f8] main filter debug: looking for audio filter module: 14 candidates [0585d2f8] audio_format filter debug: f32l->s16l, bits per sample: 32->16 [0585d2f8] main filter debug: using audio filter module "audio_format" [0585d2f8] main filter debug: TIMER module_need() : 273.730 ms - Total 273.730 m s / 1 intvls (Avg 273.730 ms) [00bd9098] main stream out debug: Filter 'audio_format' (0585d2f8) appended to c hain [00bd9098] stream_out_transcode stream out debug: Got complete audio filter chai n [00bd9098] stream_out_transcode stream out debug: not transcoding a stream (fcc= `h264') [00bd88d8] stream_out_smem stream out debug: non raw video format detected (h264 ), buffers will contain compressed video [00b99030] main input debug: Decoder buffering done in 499 ms [05862b08] faad generic warning: decoded zero sample
I just want the audio data - but the log suggest that video is also attempting to be streamed out ...

Has smem changed now that both audio and video callback functions are required?

I ask because the last line of the logger states a warning about faad.

Thanks in advance for any comments and insights.

Joe

jhinkle
New Cone
New Cone
Posts: 8
Joined: 17 Oct 2012 14:03

Re: libvlc 2.0 smem audio

Postby jhinkle » 18 Oct 2012 06:13

If there is an expert - please take a look.

The implementation is right out of the Wiki.

Does that mean the Wiki example on smem is incorrect.

This post has gone a whole day without a comment.

I develop using VS2010 - so I don't have the tools chain to compile libvlc directly and then walk a debugger through it.


The issue has got to be with the initialization call where the smem parameters are passed because the two callback functions are never reached.

Has anything changed with Audio smem with the release of libvlc version 2x.

Thanks in advance for any insight.

Joe

jhinkle
New Cone
New Cone
Posts: 8
Joined: 17 Oct 2012 14:03

Re: libvlc 2.0 smem audio

Postby jhinkle » 18 Oct 2012 12:47

Since I can't debug the library - I attempted to debug the log file.

As I stated earlier, my application works great without the addition of the additional command line argument of "--sout", smem_options the creation of libvlc_new.

I found that libvlc takes two different paths with the audio - with and without smem.

I have identified some of the differences below in hope someone with more first hand knowledge can immediately stop the issue and make a suggestion on how to fix it.

With smem active: These logger lines are unique to WITH smem

logger interface: VLC media player - 2.0.3 Twoflower
logger interface: Copyright c 1996-2012 VLC authors and VideoLAN
the non smem execution does not report using this player

main stream out debug: looking for sout stream module: 1 candidate
main stream out debug: set config option: sout-transcode-acodec to s16l
stream_out_transcode stream out debug: codec audio=s16l 0Hz 0 channels 96Kb/s
main stream out debug: using sout stream module "stream_out_transcode"
I'm concerned with this statement since {acodec=s16l} was identified in the smem transcode command line.
I'm concerned because the decodere is for 0 hz, 0 channels, 96Kb/s when I expected to see 44100, 2, etc.

Do you think this is the issue as acodec s161l may not be valid?????


later in the smem application
creating audio transcoding from fcc=`mp4a' to fcc=`s16l
shortly after this it crashes

Is there another acodec besides s16l that I can try to see if indeed it is the issue.

Thanks in advance for any comments.

Joe

jhinkle
New Cone
New Cone
Posts: 8
Joined: 17 Oct 2012 14:03

Re: libvlc 2.0 smem audio

Postby jhinkle » 18 Oct 2012 12:57

Based on my previous post on acodec s16l

I replaced the smem arg line from

sprintf(smem_options, "#transcode{acodec=s16l}:smem{audio-postrender-callback=%lld,audio-prerender-callback=%lld}",

to

sprintf(smem_options, "#transcode{acodec=s16l,channels=2,ab=128,samplerate=44100}:smem{audio-postrender-callback=%lld,audio-prerender-callback=%lld}",


Still faults - but at least the logger is stating 44100 2 channels instead of 0 and 0

But - it still faults.

Rémi Denis-Courmont
Developer
Developer
Posts: 15272
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc 2.0 smem audio

Postby Rémi Denis-Courmont » 18 Oct 2012 17:17

Setting the bit rate for PCM is silly. If the code faults, it is most probably because your callbacks do not respect the convention, but I do not know smem.

For callbacks, it's much recommended to use the clean libvlc API. There are callbacks to get decoded audio already.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

holtakj
New Cone
New Cone
Posts: 3
Joined: 18 Oct 2012 21:30

Re: libvlc 2.0 smem audio

Postby holtakj » 18 Oct 2012 21:36

Hi,

I`m also trying to use smem and it is also segfaulting. I also followed the WIKI example. There must be something wrong with it.
For callbacks, it's much recommended to use the clean libvlc API. There are callbacks to get decoded audio already.
The problem with the new callback is, that they are not fired while VLC is transcoding.

I want to achieve something similar that this guy asked:
https://github.com/caprica/vlcj/issues/108
viewtopic.php?f=32&t=104936

Rémi Denis-Courmont
Developer
Developer
Posts: 15272
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc 2.0 smem audio

Postby Rémi Denis-Courmont » 18 Oct 2012 22:00

Well, smem is ugly and unmaintained so if you think it's broken, you're welcome to fix it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

holtakj
New Cone
New Cone
Posts: 3
Joined: 18 Oct 2012 21:30

Re: libvlc 2.0 smem audio

Postby holtakj » 19 Oct 2012 16:44

Thanks for the hint but how should I know that before? No deprecation sign in WIKI and no in the smem.c itself. Reconsider updating documentation.

holtakj
New Cone
New Cone
Posts: 3
Joined: 18 Oct 2012 21:30

Re: libvlc 2.0 smem audio

Postby holtakj » 19 Oct 2012 16:46

Btw, I got it at least to a state where it is not segfaulting by providing callbacks for video and audio. Providing only audio callback caused the segfault...

Rémi Denis-Courmont
Developer
Developer
Posts: 15272
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc 2.0 smem audio

Postby Rémi Denis-Courmont » 19 Oct 2012 20:03

Becoming unmaintained is intrinsically not something that rings a lot of bells and whistles. It's something that's usually known only after the fact.

Nevertheless smem was never a supported part of the LibVLC API to begin with. You won't find any mention thereof in any existing version of the official Doxygen documentation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Ignasi
New Cone
New Cone
Posts: 4
Joined: 28 Nov 2012 16:56

Re: libvlc 2.0 smem audio

Postby Ignasi » 05 Dec 2012 09:27

Just wanted to confirm that I am having the same issue with the smem example here. It seems broken. Thanks.

wetneb
Blank Cone
Blank Cone
Posts: 16
Joined: 07 Apr 2010 09:35

Re: libvlc 2.0 smem audio

Postby wetneb » 05 Feb 2013 09:00

I'm using smem with libvlc 2.0.3 and it works pretty well (I'm just using the audio).
I'll improve the wiki to show how you can make it work.
If you want, just post the code of your callbacks, so that I can help you to debug it.

blackmonster
New Cone
New Cone
Posts: 6
Joined: 02 May 2013 08:49

Re: libvlc 2.0 smem audio

Postby blackmonster » 13 May 2013 12:36

i also got it working, but the only problem is that it decodes too slow, seems like time_sync is ignored

goutam_d
New Cone
New Cone
Posts: 2
Joined: 30 May 2014 12:29

Re: libvlc 2.0 smem audio

Postby goutam_d » 30 May 2014 12:53

Hi,
I am new to this videolan forum. I am trying to play a liner 16 bit PCM audio file using libVLC. I have created instance of libVLC and using smem option to get the buffer in memory by using call back function as mentioned in wiki. Call back is getting called. But I am not not able to play the audio file.

Here is the function that I am using for prepare render and handle stream... It is crashing in "if(sp->mAudioDataSize < size)" of prepareRender function.
I am using libVlc 2.1.2 libVLC version. Please help me to resolve this.. please give some example code...


void prepareRender (void* p_audio_data, uint8_t** pp_pcm_buffer , size_t size)
{
// TODO: Lock the mutex

Player *sp = ((Player*)p_audio_data);

///////////// sp->mLock.lock();

if(sp->mAudioDataSize < size)
{
if(sp->mAudioData)
delete [] sp->mAudioData;
sp->mAudioData = new char[size]; // Deleted in the destructor
}
*pp_pcm_buffer = (uint8_t*)(sp->mAudioData);
}


void handleStream(void* p_audio_data, uint8_t* p_pcm_buffer, unsigned int channels, unsigned int rate, unsigned int nb_samples, unsigned int bits_per_sample, size_t size, int64_t pts )
{

unsigned int copied = 0;
Player *sp = ((Player*)p_audio_data);

// Update the frequency if needed
if(rate != sp->mFrequency)
sp->mFrequency = rate;
sp->mChannels = channels;

int16_t* temp = (int16_t*)p_pcm_buffer;
size /= 2;

// We implemented a mechanism that takes the data sent by libVLC and cut it into chunks
// of the same size (a power of two) so that the algorithms can handle it in the right way
while(copied < size)
{
unsigned int to_copy = min(channels*(sp->chunkSize() - sp->mBufferSize), size - copied);
// TODO : remove this comment
/* cout << "channels : " << channels << endl
<< "chunk size : " << sp->chunkSize() << endl
<< "buffer size : " << sp->mBufferSize << endl
<< "size : " << size << endl
<< "copied : " << copied << endl
<< "=> to_copy : " << to_copy << endl; */
memcpy(sp->mBuffer + channels*sp->bufferSize(), temp + copied,
to_copy*sizeof(int16_t));
copied += to_copy;
sp->mBufferSize += to_copy / channels;

if(sp->bufferSize() >= sp->chunkSize())
{
// The buffer is sent to the "user"
sp->useBuffer();

// Emptying buffer
sp->flushBuffer();
}
}

}

goutam_d
New Cone
New Cone
Posts: 2
Joined: 30 May 2014 12:29

Re: libvlc 2.0 smem audio

Postby goutam_d » 02 Jun 2014 12:25

Hi I have resolved "if(sp->mAudioDataSize < size)" issue... Now I am trying to play that audio buffer through QIODevice (QtMultiMedia4.dll).
But I am getting crash while writing that buffer into QIODevice->write function...

Here is the handleStream() Function

void handleStream(void* p_audio_data, uint8_t* p_pcm_buffer, unsigned int channels, unsigned int rate, unsigned int nb_samples, unsigned int bits_per_sample, size_t size, int64_t pts )
{
unsigned int copied = 0;
Player *sp = ((Player*)p_audio_data);

// Update the frequency if needed
if(rate != sp->mFrequency)
sp->mFrequency = rate;
sp->mChannels = channels;

int16_t* temp = (int16_t*)p_pcm_buffer;
size /= 2;

while(copied < size)
{
unsigned int to_copy = min(channels*(sp->chunkSize() - sp->mBufferSize), size - copied);
// TODO : remove this comment
/* cout << "channels : " << channels << endl
<< "chunk size : " << sp->chunkSize() << endl
<< "buffer size : " << sp->mBufferSize << endl
<< "size : " << size << endl
<< "copied : " << copied << endl
<< "=> to_copy : " << to_copy << endl; */
memcpy(sp->mBuffer + channels*sp->bufferSize(), temp + copied,
to_copy*sizeof(int16_t));
copied += to_copy;
sp->mBufferSize += to_copy / channels;

if(sp->bufferSize() >= sp->chunkSize())
{
//Assign sound samples to short array
short* resultingData = (short*)(sp->mBuffer);
short *outdata = resultingData;
outdata[ 0 ] = resultingData [ 0 ];


// The buffer is sent to the "user"
////+++++++sp->useBuffer();
sp->GetOutputDevice()->write((char*)outdata, size);
// Emptying buffer
sp->flushBuffer();
}
}
sp->mLock.unlock();

}


Here is the log:

logger interface: VLC media player - 2.1.3 Rincewind
logger interface: Copyright © 1996-2014 the VideoLAN team
logger interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"
logger interface: using logger.
logger interface warning: no log filename provided, using `vlc-log.txt'
logger interface debug: opening logfile `vlc-log.txt'
main libvlc debug: VLC media player - 2.1.3 Rincewind
main libvlc debug: Copyright © 1996-2014 the VideoLAN team
main libvlc debug: revision 2.1.3-0-ge6a71cc
main libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--host=i686-w64-mingw32' 'host_alias=i686-w64-mingw32'
main interface debug: using interface module "logger"
main input debug: Creating an input for 'rtsp://10.60.17.102:8554/mp3AudioTest'
using null output device, none available
main stream output debug: using sout chain=`transcode{acodec=s16l}:smem{audio-prerender-callback=13767116,audio-postrender-callback=13766676,audio-data=3013552,no-time-sync},'
main stream output debug: stream=`smem'
main stream out debug: looking for sout stream module matching "smem": 21 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\stream_out\libstream_out_smem_plugin.dll', Binary was not built with debug information.
main stream out debug: set config option: sout-smem-audio-prerender-callback to 13767116
main stream out debug: set config option: sout-smem-audio-postrender-callback to 13766676
main stream out debug: set config option: sout-smem-audio-data to 3013552
main stream out debug: set config option: sout-smem-time-sync to (null)
main stream out debug: using sout stream module "stream_out_smem"
main stream output debug: stream=`transcode'
main stream out debug: looking for sout stream module matching "transcode": 21 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\stream_out\libstream_out_transcode_plugin.dll', Binary was not built with debug information.
main stream out debug: set config option: sout-transcode-acodec to s16l
stream_out_transcode stream out debug: codec audio=s16l 0Hz 0 channels 96Kb/s
main stream out debug: using sout stream module "stream_out_transcode"
main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\m1004804\AppData\Local\Temp'
main input debug: `rtsp://10.60.17.102:8554/mp3AudioTest' gives access `rtsp' demux `' path `10.60.17.102:8554/mp3AudioTest'
main input debug: creating demux: access='rtsp' demux='' location='10.60.17.102:8554/mp3AudioTest' file='\\10.60.17.102:8554\mp3AudioTest'
main demux debug: looking for access_demux module matching "rtsp": 12 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\access\liblive555_plugin.dll', Binary was not built with debug information.
live555 demux debug: version 2014.01.21
'Player.exe': Loaded 'C:\Windows\System32\mswsock.dll'
'Player.exe': Loaded 'C:\Windows\System32\WSHTCPIP.DLL'
'Player.exe': Loaded 'C:\Windows\System32\nlaapi.dll'
'Player.exe': Loaded 'C:\Windows\System32\NapiNSP.dll'
'Player.exe': Loaded 'C:\Windows\System32\pnrpnsp.dll'
'Player.exe': Loaded 'C:\Windows\System32\dnsapi.dll'
'Player.exe': Loaded 'C:\Windows\System32\winrnr.dll'
'Player.exe': Loaded 'C:\Program Files\Audinate\Shared Files\mdnsNSP.dll'
'Player.exe': Loaded 'C:\Windows\System32\dante_dnssd.dll'
'Player.exe': Loaded 'C:\Windows\System32\IPHLPAPI.DLL'
'Player.exe': Loaded 'C:\Windows\System32\winnsi.dll'
live555 demux debug: RTP subsession 'audio/MPA'
main input debug: selecting program id=0
live555 demux debug: setup start: 0.000000 stop:363.906000
live555 demux debug: We have a timeout of 65 seconds
live555 demux debug: spawned timeout thread
live555 demux debug: play start: 0.000000 stop:363.906000
main demux debug: using access_demux module "live555"
main decoder debug: looking for packetizer module matching "any": 21 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libtheora_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\librawvideo_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libspeex_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libvorbis_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libaes3_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\liblpcm_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_flac_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_dirac_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_mlp_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_mpeg4audio_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_vc1_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libsvcdsub_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libspudec_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_mpeg4video_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_mpegvideo_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libcvdsub_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\packetizer\libpacketizer_h264_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libmpeg_audio_plugin.dll', Binary was not built with debug information.
main decoder debug: using packetizer module "mpeg_audio"
main input debug: starting in sync mode
main demux meta debug: looking for meta reader module matching "any": 2 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\meta_engine\libtaglib_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\lua\liblua_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'C:\Windows\System32\profapi.dll'
lua demux meta debug: Trying Lua scripts in C:\Users\m1004804\AppData\Roaming\vlc\lua\meta\reader
lua demux meta debug: Trying Lua scripts in d:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\lua\meta\reader
lua demux meta debug: Trying Lua playlist script d:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\lua\meta\reader\filename.luac
main demux meta debug: no meta reader modules matched
main input debug: `rtsp://10.60.17.102:8554/mp3AudioTest' successfully opened
main input debug: switching to async mode
live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128
main input error: ES_OUT_RESET_PCR called
main stream output debug: adding a new sout input (sout_input:00aee6f8)
stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`s16l'
main generic debug: looking for decoder module matching "any": 39 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libpng_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libcdg_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libschroedinger_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libdts_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libfaad_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libflac_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libg711_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\liblibass_plugin.dll', Binary was not built with debug information.
main generic debug: using decoder module "mpeg_audio"
main encoder debug: looking for encoder module matching "any": 17 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libx264_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\codec\libaraw_plugin.dll', Binary was not built with debug information.
araw encoder debug: samplerate:44100Hz channels:2 bits/sample:16
main encoder debug: using encoder module "araw"
main stream out debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
main stream out debug: conversion: 'mpga'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
main audio converter debug: looking for audio converter module matching "any": 12 candidates
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libmpgatofixed32_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libdtstofloat32_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\liba52tofloat32_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libsamplerate_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libsimple_channel_mixer_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\liba52tospdif_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libdtstospdif_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libdolby_surround_decoder_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libugly_resampler_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libtrivial_channel_mixer_plugin.dll', Binary was not built with debug information.
'Player.exe': Loaded 'D:\WSM4.2\WSM 4.2\SampleCode-smem-ext\Player\Win32\Debug\plugins\audio_filter\libaudio_format_plugin.dll', Binary was not built with debug information.
main audio converter debug: no audio converter modules matched
main audio converter debug: looking for audio converter module matching "any": 12 candidates
mpgatofixed32 audio converter debug: mpga->f32l, bits per sample: 32
main audio converter debug: using audio converter module "mpgatofixed32"
main audio converter debug: looking for audio converter module matching "any": 12 candidates
audio_format audio converter debug: f32l->s16l, bits per sample: 32->16
main audio converter debug: using audio converter module "audio_format"
main stream out debug: conversion pipeline complete
main audio resampler debug: looking for audio resampler module matching "any": 3 candidates
main audio resampler debug: using audio resampler module "ugly_resampler"
main input debug: Buffering 0%
main input debug: Buffering 7%
main input debug: Buffering 15%
main input debug: Buffering 23%
main input debug: Buffering 31%
main input debug: Buffering 39%
main input debug: Buffering 47%
main input debug: Buffering 54%
main input debug: Buffering 62%
main input debug: Buffering 70%
main input debug: Buffering 78%
main input debug: Buffering 86%
main input debug: Buffering 94%
main input debug: Stream buffering done (1018 ms in 726 ms)
main input debug: Decoder buffering done in 0 ms
mpeg_audio generic debug: MPGA channels:2 samplerate:44100 bitrate:128
mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 49 guests