Search found 23 matches

Go to advanced search

by xdenser
06 May 2014 16:23
Forum: General VLC media player Troubleshooting
Topic: Best way to tile video: mosaic or something else?
Replies: 2
Views: 844

Best way to tile video: mosaic or something else?

I need to display video tiled with same picture. I.e. like mosaic but with same video in tiles. I have some progress with mosaic functionality but there is no sound. So I wanted to ask is there any alternative or maybe someone can help with audio in mosaic? Here is my mosaic setup for 3x1 tiles: mos...
by xdenser
24 Apr 2014 16:00
Forum: VLC media player for Windows Troubleshooting
Topic: Set size of video window with dummy interface, etc.
Replies: 3
Views: 605

Re: Set size of video window with dummy interface, etc.

It also changes window size when --aspect-ratio used.
by xdenser
24 Apr 2014 15:11
Forum: VLC media player for Windows Troubleshooting
Topic: Set size of video window with dummy interface, etc.
Replies: 3
Views: 605

Re: Set size of video window with dummy interface, etc.

Yes it works. Thanks! But also has funny problems with --video-x --video-y :

--video-x=0 --video-y=0 works
--video-x=-1 --video-y=0 does not work
--video-x=-1 --video-y=1 works
by xdenser
24 Apr 2014 13:49
Forum: VLC media player for Windows Troubleshooting
Topic: Set size of video window with dummy interface, etc.
Replies: 3
Views: 605

Set size of video window with dummy interface, etc.

Version 2.1.3, Win 7 x 64 --width --height command line options do not work for me with -I dummy or --no-embedded-video options. It looks like --width --height work only when video is in qt interface. I also have problems with setting --video-x=0 --video-y=0 . I get hidden window. While --video-x=1 ...
by xdenser
09 Nov 2011 00:10
Forum: VLC stream-output (sout)
Topic: delay growth
Replies: 7
Views: 1130

Re: delay growth

What is strange there is no delay growth with FLV1 http output.
And the problem starts after 35-45 minutes of streaming.
Now I've made workaround - just parsing stderr and restaring vlc on 'unexpected stream discontinuity'.
by xdenser
07 Nov 2011 13:55
Forum: VLC stream-output (sout)
Topic: delay growth
Replies: 7
Views: 1130

Re: delay growth

Further discovery with -vvv option shows that problem starts when following messages appear on stderr
..
main input warning: clock gap, unexpected stream discontinuity
main input warning: feeding synchro with a new reference point trying to recover from clock gap
...
by xdenser
04 Nov 2011 21:06
Forum: VLC stream-output (sout)
Topic: Hardware compability list - We need your help!
Replies: 75
Views: 73440

Re: Hardware compability list - We need your help!

Blackmagic Intensity Pro works for me with decklink input module - same as in previous post. I also have compiled vlc 1.2 from git under Ubuntu 11.10 64 bit. All video inputs are working. I have not tested audio yet. One note- you should know exact inputsignal parameters(i.e. resolution and frame ra...
by xdenser
04 Nov 2011 19:29
Forum: VLC stream-output (sout)
Topic: delay growth
Replies: 7
Views: 1130

Re: delay growth

changed vencoder to ffmpeg, dst to rtp.
The problem still there. I also have found that delay (and memory usage) starts growth after some time following vlc start.
by xdenser
04 Nov 2011 09:23
Forum: VLC stream-output (sout)
Topic: delay growth
Replies: 7
Views: 1130

Re: delay growth

You mean use threads=1 ?
It does not help - delay still grows and vlc memory usage too, while making quality of stream unacceptable.
by xdenser
03 Nov 2011 15:45
Forum: VLC stream-output (sout)
Topic: delay growth
Replies: 7
Views: 1130

delay growth

Trying to stream with BlackMagic Intensity Pro card under Ubuntu 11.10. Using custom built vlc VLC media player 1.2.0-git Twoflower (revision 1.1.0-pre1-6962-geb5b116) started with following command line cvlc decklink:// --decklink-video-connection hdmi --decklink-mode hp60 --extraintf cli --lua-con...
by xdenser
27 Oct 2010 21:58
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 2919

Re: libvlc_video_set_callbacks

if you need dummy buffer 1x1 then do like that libvlc_video_set_format(mp, "RV32", 1, 1, 4); ... char dummy_buffer [4]; static void *lock(void *data, void **p_pixels) { *p_pixels = &dummy_buffer; return NULL; } if you need real size buffer for PAL resolution for example libvlc_video_se...
by xdenser
27 Oct 2010 00:12
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 2919

Re: libvlc_video_set_callbacks

for Rv32 and frame 1x1 pitch is 4
just return pointer to 4 byte array in p_pixels
by xdenser
19 Oct 2010 23:31
Forum: Development around libVLC
Topic: Decode at same width and height that encoded video
Replies: 10
Views: 1946

Re: Decode at same width and height that encoded video

Or do you create a new media_player and use set_format on that one? yes, new one 1. I create media_player 2. Setup dummy buffer 3. Setup single event handler for all events 4. Create Event Object and reset it 5. Start playing 6. Wait for Event Object with some reasonable timeout (i.e. 5 sec) 6. In ...
by xdenser
20 Sep 2010 20:29
Forum: Development around libVLC
Topic: Howto: libVLC and DirectX on Win32
Replies: 3
Views: 2857

Re: Howto: libVLC and DirectX on Win32

I use it with DirectX but in tricky way - trough DirectShow push filter and VMR9 in renderless mode just combine samples from DX SDK for Bitmap push filter and VMR rendering to texture It is possible to render directly to texture - the easiest way is to use D3DX library function to create texture fr...
by xdenser
20 Sep 2010 20:19
Forum: Development around libVLC
Topic: libvlc_video_get_size
Replies: 10
Views: 3218

Re: libvlc_video_get_size

uhh no...
but for me it returns native video size
may be it depends on decoder used
I've tried with udp streaming and mpeg2/4 streams
by xdenser
17 Sep 2010 12:23
Forum: Development around libVLC
Topic: libvlc_video_get_size
Replies: 10
Views: 3218

Re: libvlc_video_get_size

I... Because it returns the size you passed in setformat..
no it returns video size of frames in video
not what you have passed to setformat
by xdenser
04 Sep 2010 15:05
Forum: Development around libVLC
Topic: libvlc_media_player_stop hangs periodically
Replies: 9
Views: 2145

Re: libvlc_media_player_stop hangs periodically

yes. it was called from event handler
by xdenser
01 Sep 2010 17:38
Forum: Development around libVLC
Topic: libvlc_media_player_stop hangs periodically
Replies: 9
Views: 2145

Re: libvlc_media_player_stop hangs periodically

ok
i do not call libvlc_video_get_size
while in libvlc_media_player_stop
and it works now
by xdenser
01 Sep 2010 09:36
Forum: Development around libVLC
Topic: libvlc_media_player_stop hangs periodically
Replies: 9
Views: 2145

Re: libvlc_media_player_stop hangs periodically

What I got using madExcept: I think I know where is the problem the program hangs in main thread on vlc_cond_wait but at the same time in thread $a38 an event is handled and libvlc_video_get_size called wich locks some mutex looks like I should not call libvlc_video_get_size when stopping player her...
by xdenser
31 Aug 2010 12:58
Forum: Development around libVLC
Topic: libvlc_media_player_stop hangs periodically
Replies: 9
Views: 2145

Re: libvlc_media_player_stop hangs periodically

The project is too big to post

so I have created small one for testing
it just detects frame size of udp stream by timer (every 10 s)

here
by xdenser
31 Aug 2010 11:17
Forum: Development around libVLC
Topic: libvlc_media_player_stop hangs periodically
Replies: 9
Views: 2145

Re: libvlc_media_player_stop hangs periodically

Here is how it looks like in Delphi debugger :7c90e4f4 ntdll.KiFastSystemCallRet :7c90df3c ntdll.NtWaitForSingleObject + 0xc :6a5dfb7c libvlccore.vlc_cond_wait + 0x4c libvlc_ds_sfilter.TlibvlcSrcPin.Create(???,???,$EC10D0) libvlc_ds_sfilter.TlibvlcSource.Create('udp://@:1234',0) VideoWin.TGraphHandl...
by xdenser
30 Aug 2010 23:58
Forum: Development around libVLC
Topic: libvlc_media_player_stop hangs periodically
Replies: 9
Views: 2145

libvlc_media_player_stop hangs periodically

I use libvlc to display UDP stream trhough libvlc_video_set_callbacks. Task of getting size of frame is solved by creating dummy instance of player to render in 10x10 buffer, I also use libvlc_event_manager_t to call libvlc_video_get_size from every event when proper proper size is returned i stop a...
by xdenser
30 Aug 2010 23:46
Forum: Development around libVLC
Topic: Decode at same width and height that encoded video
Replies: 10
Views: 1946

Re: Decode at same width and height that encoded video

I start video in two steps

1. I setup rendering to some small dummy buffer i.e. 10x10 pixels, i run it and call periodically libvlc_video_get_size until it returns 0 (success)
2. When I get size, I setup proper buffer and thats it.

Go to advanced search