Search found 10 matches

Go to advanced search

by dongxf
26 Dec 2022 05:46
Forum: Development around libVLC
Topic: libvlc_audio_set_track delays with :network-caching seconds ?
Replies: 0
Views: 1110

libvlc_audio_set_track delays with :network-caching seconds ?

Hi, I'm using libvlc 3.0.7 to play remote mkv file through http, i set :network-caching to 10seconds, when i call libvlc_audio_set_track to select another sound track, there is no sound at all, until 10 seconds later the sound plays again and sound track changed. then I tested :network-caching with ...
by dongxf
28 Jan 2016 12:40
Forum: Development around libVLC
Topic: when to call libvlc_audio_get_track_count ?
Replies: 3
Views: 487

Re: when to call libvlc_audio_get_track_count ?

ESAdded
I searched the whole vlc2.1.3 sources, did not find any information about ESAdded, could you tell me some detail ? thanks !
by dongxf
27 Jan 2016 14:35
Forum: Development around libVLC
Topic: when to call libvlc_audio_get_track_count ?
Replies: 3
Views: 487

when to call libvlc_audio_get_track_count ?

Hi, I need to get audio track infomations ASAP when I play a media file, I found when I call libvlc_audio_get_track_count just after play, it returns 0. I have to wait for about 2 seconds to get the correct result. Does anyone know if there is a event to notify me it's ready to call libvlc_audio_get...
by dongxf
19 Jan 2016 09:01
Forum: Development around libVLC
Topic: libvlc_media_tracks_get returns 0 on mac os x
Replies: 2
Views: 491

Re: libvlc_media_tracks_get returns 0 on mac os x

I have the same question on Windows. after parsed media, libvlc_media_tracks_get returns 0 for mpeg2 file, but returns >0 for mkv file.
after played media and delayed for about 1-2 seconds, it always returns > 0.

Thanks!
by dongxf
19 Jan 2016 08:56
Forum: Development around libVLC
Topic: How to tell if libvlc instance arguments are properly engaging hardware acceleration
Replies: 2
Views: 1351

Re: How to tell if libvlc instance arguments are properly engaging hardware acceleration

--avcodec-hw=dxva2.lo
this option enables directx hardware acceleration, but it seems not stable, sometimes cause vlc crashes
by dongxf
17 Jan 2016 17:23
Forum: Development around libVLC
Topic: How can I get the actual Display Aspect Ratio ?
Replies: 5
Views: 645

Re: How can I get the actual Display Aspect Ratio ?

Isn't that obvious?
Yes, Thanks :)
by dongxf
17 Jan 2016 17:14
Forum: Development around libVLC
Topic: How can I get the actual Display Aspect Ratio ?
Replies: 5
Views: 645

Re: How can I get the actual Display Aspect Ratio ?

I checked a file, it is just like what you said, I will check other files later, Thank you very much !
by dongxf
17 Jan 2016 05:58
Forum: Development around libVLC
Topic: How can I get the actual Display Aspect Ratio ?
Replies: 5
Views: 645

Re: How can I get the actual Display Aspect Ratio ?

Do you mean DAR can be calculated by SAR and width, height ?
by dongxf
16 Jan 2016 10:08
Forum: Development around libVLC
Topic: How can I get the actual Display Aspect Ratio ?
Replies: 5
Views: 645

How can I get the actual Display Aspect Ratio ?

Hi, I'm using libvlc 2.1.3 to show logo on the screen, I need to know the actual Display Aspect Ratio(DAR) in the media file, so I call the libvlc_video_get_aspect_ratio function, but it returns null. I use mediainfo utility, found the DAR in the media file is 4:3, how can I get this 4:3 with libvlc...

Go to advanced search