Search found 50 matches

Go to advanced search

by r21514
30 Oct 2017 08:24
Forum: Development around libVLC
Topic: any way to get REAL aspect-ratio?
Replies: 1
Views: 310

any way to get REAL aspect-ratio?

libvlc_video_get_aspect_ratio returns only aspect-ratio if previously set by user or libvlc_video_set_aspect_ratio libvlc_video_get_size returns width/height without considering aspect-ratio flags in the stream. Example - for typical SD MPEG-TS stream result is 720x576, even if it actualy is displa...
by r21514
22 Apr 2017 17:58
Forum: Development around libVLC
Topic: libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)
Replies: 2
Views: 493

Re: libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)

I'm not sure how to report this. I ran a test and have very strange result. So the problem appears in vlc-3.0.0-20161130-0248-git-win32 and is present till today, last working version is vlc-3.0.0-20161128-0239-git-win32. The source of the problem is plugins\videoutput\libgl_plugin.dll. If I delete ...
by r21514
22 Apr 2017 16:53
Forum: Development around libVLC
Topic: libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)
Replies: 2
Views: 493

libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)

Hey! Are there any changes about how drawable/libvlc_media_player_set_hwnd works on Windows (x86) in vlc 3.0 ? I have a simple test application - only one window and nothing else. It looks bad, video in not resized with window and is in wrong position. With VLC 1.1-2.2.x same EXE works ok. The diffe...
by r21514
15 Aug 2016 12:25
Forum: VLC media player for Windows Troubleshooting
Topic: Unable to play rtp:// streams in WINDOWS 10 - 1607 Compliation (Aniversary)
Replies: 6
Views: 3729

Re: Unable to play rtp:// streams in WINDOWS 10 - 1607 Compliation (Aniversary)

Windows 10 since Anniversary Update (1607) has service "CDPSvc" (inside svchost.exe), that uses UDP-port 5050 (0.0.0.0:5050). As it turns out this port is commonly used in multicast streaming of many providers. So to play udp://@x.x.x.x:5050 or rtp://@x.x.x.x:5050 you need to disable that ...
by r21514
18 Mar 2015 19:45
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

I'm not using any wrapper, just direct calls to dll functions. So the bug is delphi itself.

My solution is:

Code: Select all

Set8087CW((Get8087CW and $FFC0) or $003F);
It must be the same that celeburdi recomended.

[SOLVED]

But still there in an unsafe floating point operation somewhere in libdirectsound...
by r21514
18 Mar 2015 19:35
Forum: VLC media player for Windows Troubleshooting
Topic: Very high cpu usage for HLS streams
Replies: 27
Views: 6098

Re: Very high cpu usage for HLS streams

BTW when using libvlc with HLS streams function libvlc_media_player_stop hangs for up to 5 seconds. Even when I call libvlc_media_player_stop from a separate thread(!) all windows and i/o processes of my application hang. Other functions work normal. If it doesn't affect linux this must be something...
by r21514
05 Mar 2015 13:30
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

Problem with DirectSound is still present in VLC 2.2
by r21514
22 May 2014 14:34
Forum: General VLC media player Troubleshooting
Topic: [HLS] slashes in URL and hls v5 problem
Replies: 0
Views: 1615

[HLS] slashes in URL and hls v5 problem

Here I have a HLS stream http://46.61.196.50/hls/CH_1TV/variant.m3u8 #EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=480000 bw480000/playlist.m3u8?utcstart=1400761658.3451471 #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=480000,URI="bw480000/iframes.m3u8?utcstart=1400761658.3451471" #E...
by r21514
19 Nov 2013 18:47
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

Sorry, I don't have enough knowledge of C/C++ and VLC architecture to understand massive changes in directx.c between those two dates.
I understood that type of volume level variable was changed, but that led to many other changes, and I can't debug VLC code from delphi to get exact crash line.
by r21514
13 Nov 2013 10:33
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

There is no crash with "aout=waveout", so the problem in only with directsound. I went through binaries from nightlies.videolan.org and that's what I've found: vlc-2.1.0-git-20130204-0002-win32 - works ok like old 2.0.x vlc-2.1.0-git-20130211-0003-win32 - crashes like 2.1.0 release I've re...
by r21514
16 Oct 2013 18:38
Forum: Development around libVLC
Topic: Delphi Exception in libvlccore.dll
Replies: 2
Views: 629

Re: Delphi Exception in libvlccore.dll

Exception is from only one libvlc function - libvlc_audio_set_volume (calls aout_VolumeSet from libvlccore). Discusion is here.
by r21514
08 Oct 2013 05:26
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

Here is my code. No wrappers, just direct calls. It can be easy rewritten to any language: program Test; function AllocConsole:LongBool; stdcall; external 'kernel32.dll'; function libvlc_new(argc:integer; args:ppchar):pointer; cdecl; external 'libvlc.dll'; function libvlc_media_new_path(vlc: pointer...
by r21514
07 Oct 2013 16:26
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

MSVC or QT ? I tested a C# .NET 3.5 wrapper in MSVC and it crashes with the same floating point error. But my friend compiled demo QtVLC by QT-Creator and it worked without errors. The thing is call to function is exactly the same everywhere... BTW function libvlc_audio_set_volume always returns 0 i...
by r21514
07 Oct 2013 15:12
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

Re: libvlc_audio_set_volume crashes libvlccore 2.1.0

I'm doing exactly the same as you. libvlc_audio_set_volume : function(p_media_player : Plibvlc_media_player_t; volume : Integer) : Integer; cdecl; All worked on 1.1.x and 2.0.x, but with 2.1.0 I get floating point error from module libvlccore.dll when calling libvlc_audio_set_volume with any value >...
by r21514
06 Oct 2013 13:37
Forum: Development around libVLC
Topic: libvlc_audio_set_volume crashes libvlccore 2.1.0
Replies: 17
Views: 5734

libvlc_audio_set_volume crashes libvlccore 2.1.0

I get floating point error from libvlccore when using libvlc_audio_set_volume while playback, no crash if playback is stopped. On 2.0.x there is no problem. Tested on Win8x86 and Win7x64.

Maybe parameters changed and somebody forgot to update documentation?
by r21514
02 May 2013 07:28
Forum: Development around libVLC
Topic: libvlc_audio_get/set_track not work after 2.0.4 ?
Replies: 7
Views: 817

Re: libvlc_audio_get/set_track not work after 2.0.4 ?

I got it, now PIDs must be used, not simple 0-1-2-3 numbers. But guys, simple numbers were used since 0.8.6(!!!) don't you think that it's a bit strange to change one of basic function behavior especialy in minor update? All the people who use libvlc now must add a switch in their code for VLC<2.0.5...
by r21514
01 May 2013 01:40
Forum: Development around libVLC
Topic: libvlc_audio_get/set_track not work after 2.0.4 ?
Replies: 7
Views: 817

Re: libvlc_audio_get/set_track not work after 2.0.4 ?

Can you give me a link to description of that bug?
I just don't understand how can I possibly change my code for this function to work again. Did input arguments changed of what? Or this function now can't be used during playback?
by r21514
30 Apr 2013 11:37
Forum: Development around libVLC
Topic: libvlc_audio_get/set_track not work after 2.0.4 ?
Replies: 7
Views: 817

Re: libvlc_audio_get/set_track not work after 2.0.4 ?

Nope, for me audio track functions worked in 2.0-2.0.4 and don't work in 2.0.5 and 2.0.6.
I tested with the same binary without recompiling.
BTW I'm using Windows with DirectSound audio output, maybe you fixed something for Linux and broke for Windows?
by r21514
29 Apr 2013 20:34
Forum: Development around libVLC
Topic: libvlc_audio_get/set_track not work after 2.0.4 ?
Replies: 7
Views: 817

libvlc_audio_get/set_track not work after 2.0.4 ?

Subj. Or did something change in libvlc API after 2.0.4 ? (worked in 2.0.4, not work in 2.0.5 and 2.0.6)
by r21514
29 Jan 2013 07:17
Forum: Development around libVLC
Topic: Is switching audio tracks through libvlcapi broken in 2.0.5?
Replies: 4
Views: 849

Is switching audio tracks through libvlcapi broken in 2.0.5?

Worked perfectly 2.0.0-2.0.4, 2.0.5 - not. Did API changed or what ?
by r21514
09 May 2012 14:20
Forum: VLC media player for Windows Troubleshooting
Topic: miface option doesn't work in VLC 2.0.x on Windows
Replies: 22
Views: 6318

Re: miface option doesn't work in VLC 2.0.x on Windows

As I mentioned above it doesn't work even in Windows 7. It doesn't work at all! When you do IP_ADD_MEMBERSHIP you anyway use McastReq structure that contains inet_addr. Why not simply check if miface matches "*.*.*.*" and set inet_addr('what is miface set to') ? /src/network/udp.c : case A...
by r21514
04 May 2012 14:22
Forum: Development around libVLC
Topic: solution for broken "miface" param for libvlc 2.0 on Windows
Replies: 0
Views: 496

solution for broken "miface" param for libvlc 2.0 on Windows

"miface" parameter in VLC 2.0 on Windows seems to be broken . So, before playing udp://@ through libvlc you need to create udp socket on correct network interface yourself. Bind it, add membership to mcast group and then make libvlc play. While playback you do nothing with socket. After st...
by r21514
04 May 2012 14:16
Forum: VLC media player for Windows Troubleshooting
Topic: miface option doesn't work in VLC 2.0.x on Windows
Replies: 22
Views: 6318

Re: miface option doesn't work in VLC 2.0.x on Windows XP

It's funny but miface gives no result even on Windows 7: vlc.exe --miface=192.168.0.10 udp://@239.1.15.1:1234 <- nothing vlc.exe --miface=0 udp... <- nothing (I used number if function "atoi" still used) vlc.exe --miface=1 udp... <- nothing vlc.exe --miface=2 udp... <- nothing vlc.exe --mi...
by r21514
04 May 2012 14:02
Forum: Development around libVLC
Topic: volume mathematical equation for VLC 2.0->1.1
Replies: 2
Views: 436

Re: volume mathematical equation for VLC 2.0->1.1

Sorry for stupid question, but $new=$old^3 or $new=exp(ln($old)/3) (where $new and $old 0.01..1.00)?

Go to advanced search