Search found 15 matches

Go to advanced search

by Mauro
13 May 2013 23:23
Forum: Development around libVLC
Topic: Synchronize audio/video callback api (for DeckLink playback)
Replies: 2
Views: 599

Re: Synchronize audio/video callback api (for DeckLink playb

Ok, I'll try the decklink output module, but I wonder if the audio/video callback apis will be called anyway. As I need to overlay some graphics before sending the frame to the decklink card.
by Mauro
13 May 2013 16:50
Forum: Development around libVLC
Topic: Synchronize audio/video callback api (for DeckLink playback)
Replies: 2
Views: 599

Synchronize audio/video callback api (for DeckLink playback)

Hi, I'm using vlc callbacks to get decoded audio/video frames and give them to a Decklink card. I do not use timestamps, I use the synchronous playback APIs of the DekLink, which play audio samples/video frames as soon as they are called. The only problem is that the audio starts 2 seconds before vi...
by Mauro
13 Dec 2012 12:20
Forum: General VLC media player Troubleshooting
Topic: mp3 transcoder not working with latest VLC 2.1.0 git
Replies: 0
Views: 770

mp3 transcoder not working with latest VLC 2.1.0 git

I've just compiled VLC from git source code (on a Ubuntu machine with ffmpeg compiled from git as well), It seems that the mp3 transcoder stopped working, that is the following plays nothing: cvlc -v 'file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' \ --sout '#transcode{vcodec=none,ac...
by Mauro
02 Jul 2011 19:52
Forum: Coffee Corner
Topic: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)
Replies: 3
Views: 1436

Re: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Update
I inserted windres.exe after the && and made the rule for src/icon.o work.
So, why is the command missing? Might there be an error in the CMAKE scripts?
by Mauro
02 Jul 2011 12:35
Forum: Coffee Corner
Topic: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)
Replies: 3
Views: 1436

Re: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Update Te following is the rule in file "src/CMakeFiles/vlmc.dir/build.make" that generates the error " The filename, directory name, or volume label syntax is incorrect " src/icon.o: $(CMAKE_COMMAND) -E cmake_progress_report C:\Users\Admin\Documents\Git\vlmc_2_0_eclipse\CMakeFi...
by Mauro
01 Jul 2011 15:16
Forum: Coffee Corner
Topic: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)
Replies: 3
Views: 1436

Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

I'm trying to build VLMC under windows using CMAKE-GUI and MinGW under Eclipse CDT. I configured CMAKE to generate Eclipse project files and I imported the project into Eclipse. Then if I try to build, it stops at the very beginning with a quite stupid error: [ 5%] Generating icon.o cd C:\Users\Admi...
by Mauro
25 May 2011 14:00
Forum: Development around libVLC
Topic: Reparenting an object is dangerous?
Replies: 4
Views: 675

Reparenting an object is dangerous?

Hi, does anybody know what is the meaning of the following errors? [22474e78] main video output: Reparenting an object is dangerous (0d07d0f0 -> 0d07d188)! [0de3c3d8] main audio output: Reparenting an object is dangerous (0d07d0f0 -> 0d07d188)! They are issued each time I set a new media to be used ...
by Mauro
21 Mar 2011 12:36
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3155

Re: VLC and Qt Integration - reder decoded video to a QPixma

This works fine: QImage image(nativeBuffer, nativeWidth, nativeHeight, QImage::Format_ARGB32); // QImage::Format_RGB32 works fine as well and it's much faster where nativeBuffer points to the raw RV32 data from VLC. However, I'm trying to build a QPixmap directly (without having to instantiate a QIm...
by Mauro
20 Mar 2011 18:15
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3155

Re: VLC and Qt Integration - reder decoded video to a QPixma

Yes! Thanks, it works... it's just very inefficient: lots of frame drops if I set vlc video format at 1080x1020 and print the image on a large screen. Do you have any clue for speeding up the process? I'll try with a QGLWidget and see if I get better results. What about integrating SDL surfaces or O...
by Mauro
20 Mar 2011 17:24
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3155

Re: VLC and Qt Integration - reder decoded video to a QPixma

Thanks a lot xylosper! Ok, then each time a new frame needs to be displayed, this is what I do: QImage image(QSize(nativeWidth, nativeHeight), QImage::Format_ARGB32); image.loadFromData(nativeBuffer, nativeWidth*nativeHeight*4); _nativePixmap.fromImage(image); update(); Then in the paintEvent: QPain...
by Mauro
20 Mar 2011 16:34
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3155

Re: VLC and Qt Integration - reder decoded video to a QPixma

Ok, the crash was caused by something unrelated. Now, I can hear audio but on the QWidget I get a blank screen. libvlc video format is set to "RV32", I've invoked QPixmap::loadFromData(..) and QPainter::drawPixmap(..) Maybe I have to tell Qt something more about the format of the decoded f...
by Mauro
20 Mar 2011 13:12
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3155

Re: VLC and Qt Integration - reder decoded video to a QPixma

Buffer size is: (_nativeWidth*_nativeHeight*4) bytes that should be fine for: libvlc_video_set_format(_vlcmp, "RV32", _nativeWidth, _nativeHeight, _nativeWidth*4); "lock" implementation I believe is quite standard (just set: *plane = <buffer pointer>); "unlock" do nothi...
by Mauro
20 Mar 2011 12:41
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3155

VLC and Qt Integration - reder decoded video to a QPixmap

Hi, I need to render decoded frames on a QPixmap and draw it on a QWidget (I actually need to render each frame on several QWidgets, that's why i need to render on a custom area). I've studied the libvlc and Qt documentation and googled around a lot... but I still get nothing! This is what I've done...
by Mauro
23 Feb 2011 16:21
Forum: VLC stream-output (sout)
Topic: [solved] Strange Problem Streaming via RTP
Replies: 3
Views: 3189

Re: [solved] Strange Problem Streaming via RTP

New version (only added the "-bf" option (sets the number of B-Frames)) ffmpeg -i sample.mov -f mp4 -vcodec libx264 -bf 5 -acodec libfaac sample.mp4 The problem with the old version were (I think so - correct me if I'm wrong) the missing PPS/SPS-Informations within the stream (only sent o...

Go to advanced search