Search found 21 matches

Go to advanced search

by hanky
19 Dec 2016 12:18
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Problem with 4K video playback
Replies: 2
Views: 2361

Re: Problem with 4K video playback

It seems that '--avcodec-threads 20' option solves the problem. The solution is found here: https://wiki.videolan.org/WindowsFAQ-2. ... r_laggy.29

Is it intended behaviour that I have to set that option manually?
by hanky
16 Dec 2016 16:54
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Problem with 4K video playback
Replies: 2
Views: 2361

Problem with 4K video playback

I'm using VLC media player 2.2.2 Weatherwax on Centos 7 x64 and having problem with a 4K video playback. VLC playe lags heavily and almost freezes when playing the video file, although ffplay does not have any problems with it. Also I have the same problem on Windows with VLC player 2.1.3 and 2.2.4....
by hanky
05 Aug 2016 16:59
Forum: Development around libVLC
Topic: Setting custom aspect ratio dynamically
Replies: 5
Views: 1135

Re: Setting custom aspect ratio dynamically

I set it just like standard values:

Code: Select all

// standard libvlc_video_set_aspect_ratio(vlcPlayer, "4:3"); //custom libvlc_video_set_aspect_ratio(vlcPlayer, "123:77");
by hanky
04 Aug 2016 17:14
Forum: Development around libVLC
Topic: Setting custom aspect ratio dynamically
Replies: 5
Views: 1135

Re: Setting custom aspect ratio dynamically

And what is the main difference between setting standard and custom aspect ratio? Why do changes apply on the fly for standard values and do not for custom values?
by hanky
29 Jul 2016 09:21
Forum: Development around libVLC
Topic: Setting custom aspect ratio dynamically
Replies: 5
Views: 1135

Setting custom aspect ratio dynamically

Is it possible to change aspect ratio to some custom value dynamically using libvlc_video_set_aspect_ratio? Ideally I would like to set the same aspect ratio as the player window has on its resize. Currently I can onle change aspect ratio to some standard values like '1:1' or '4:3'. Setting a custom...
by hanky
16 Feb 2016 13:25
Forum: Development around libVLC
Topic: Difference between --no-audio and --aout=none
Replies: 1
Views: 726

Difference between --no-audio and --aout=none

What is the difference between these two parameters: "--no-audio" and "--aout=none"?
On my system I have some problems with files playback over HTTP when I use the first parameter, and the problem disappears when I use the second one instead.
by hanky
10 Apr 2015 12:15
Forum: Development around libVLC
Topic: Setting marquee params in libvlc_new
Replies: 0
Views: 444

Setting marquee params in libvlc_new

I want to display some text over the video. First I try to do it using the VLC player. As this manual says, I launch the player this way: vlc --sub-filter=marq --marq-marquee="Obvious Watermark" --marq-position=0 --marq-size=50 somevideo.avi In this case everything works fine. Then I try t...
by hanky
24 Oct 2014 09:31
Forum: Development around libVLC
Topic: Fixed size image using the logo module
Replies: 1
Views: 316

Fixed size image using the logo module

I'm using the logo module to show some image over video. Currently the displayed image size depends on the video resolution and the size of the player window.
Is it possible to display an image with fixed size?
by hanky
17 Sep 2014 09:14
Forum: VLC media player for Linux and friends Troubleshooting
Topic: No video output
Replies: 1
Views: 441

No video output

I've built VLC media player 1.1.13 from sources and now I'm trying to launch it under some special version of Centos 5. The problem is that I can't see the video when I try to open some media files, I just get the black screen. Here's the log: VLC media player 1.1.13 The Luggage (revision exported) ...
by hanky
01 Sep 2014 08:29
Forum: General VLC media player Troubleshooting
Topic: Seeking doesn't work when playing RTMP stream
Replies: 1
Views: 1269

Seeking doesn't work when playing RTMP stream

I use nginx-rtmp-module to create a simple video on demand service. I can play my videos in VLC player by opening urls like this: rtmp://127.0.0.1/vod/movie.flv Also I can play those videos using JW Player as a flash player inside a web page. The problem is that seeking doesn't work in VLC player. I...
by hanky
07 Mar 2014 08:02
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Problems with converting to mp3
Replies: 0
Views: 301

Problems with converting to mp3

I use VLC 2.1.1 under CentOS 6.2 x64.
I'm trying to convert some videos to mp3 using VLC Media Player but resulting files contain only loud noise.
I've tried different source files with mp2 and Vorbis audio but had no success.

What is the problem with converting to mp3 using VLC Player?
by hanky
11 Apr 2013 09:46
Forum: Development around libVLC
Topic: Difference between setting time and position
Replies: 1
Views: 383

Difference between setting time and position

libvlc_media_player has these two functions for playback control: libvlc_media_player_set_position and libvlc_media_player_set_time.
What is the difference between them? Do they internally work the same way? Is one of them more accurate than another?
by hanky
29 Mar 2013 09:14
Forum: Development around libVLC
Topic: Volume setting cache
Replies: 1
Views: 360

Volume setting cache

In my app I init a libvlc object with no arguments. Then I start playback, set the volume to some value and then close my program. Next time I open my program and start the playback, it starts with the same volume I set previous time. I tried libvlc_audio_set_volume(vlcPlayer, 100) before playback s...
by hanky
29 Mar 2013 08:20
Forum: Development around libVLC
Topic: Having two media players working at the same time
Replies: 5
Views: 1024

Re: Having two media players working at the same time

Also there's a weird thing that, if I don't mute the first player, the second player starts with exactly the same volume as the first one had.
by hanky
29 Mar 2013 05:21
Forum: Development around libVLC
Topic: Having two media players working at the same time
Replies: 5
Views: 1024

Re: Having two media players working at the same time

Ok, I'll try. So, you confrim that proper way is 'one libvlc object = one player'? I ask because in another part of my app I have a player playing in one tab, then user can switch to another tab (the first player becomes mute) and start the second player. In this case everything works fine with a si...
by hanky
28 Mar 2013 19:36
Forum: Development around libVLC
Topic: Having two media players working at the same time
Replies: 5
Views: 1024

Having two media players working at the same time

I'd like to know the proper way of having two media players working in parallel. Do I need to create two vlc instance objects for them? Or they can share a single one? I my program I need to have two players working at the same time. In the begining only one player is playing, but user can open anot...
by hanky
11 Mar 2013 11:44
Forum: Development around libVLC
Topic: Problems with volume changing
Replies: 3
Views: 905

Re: Problems with volume changing

The only two flags passed by VLC 2.0.x to libvlc_new() are --no-ignore-config and --media-library. They are likely irrelevant in this case. If I use these flags and have no other errors in my program, I should get exactly the same behaviour as in Vlc Media Player, right? I mean these functions will...
by hanky
07 Mar 2013 10:44
Forum: Development around libVLC
Topic: Problems with volume changing
Replies: 3
Views: 905

Problems with volume changing

Hi. I'm using libVLC 2.0.5 (vlc-qt actually) to create a media player for my program. I have some problems with sound output: there are notable lags on volume changing and I have no sound at all when I pause and then resume the playback. I have these problems both on Linux and Windows, but Vlc Media...
by hanky
06 Jun 2012 12:59
Forum: Development around libVLC
Topic: How to get sample aspect ratio
Replies: 0
Views: 520

How to get sample aspect ratio

Hello again. I'm using libvlc in my program for playing video files. And I need to know actual size of the video window. I can use libvlc_video_get_size to do this, but some files have sar (sample aspect ratio) not equal to 1. I mean I can use that get_size function but I won't get the correct actua...
by hanky
05 Jun 2012 17:24
Forum: Development around libVLC
Topic: Problem with getting video resolution
Replies: 2
Views: 787

Re: Problem with getting video resolution

I've tried this, but it didn't work. I've created an event manager for my player to wait for libvlc_MediaPlayerVout event: libvlc_event_manager_t *managerPlayer = libvlc_media_player_event_manager(mediaPlayer); libvlc_event_attach(managerPlayer, libvlc_MediaPlayerVout, &getSize, mediaPlayer); Wh...
by hanky
05 Jun 2012 15:08
Forum: Development around libVLC
Topic: Problem with getting video resolution
Replies: 2
Views: 787

Problem with getting video resolution

Hello. I'm using the following functions to get video resolution: libvlc_media_parse(m_media); libvlc_video_get_size(m_player, 0, &x, &y) This works with .flv videos but doesn't work with .mpg ones. I've tried to look inside the ' libvlc_video_get_size ' function and saw that ' libvlc_media_...

Go to advanced search