Page 1 of 1

About Vlc video quality

Posted: 26 Jun 2012 12:20
by structi
Hello;

* Will you add reduce of video quality feature to vlc? My processor is 720mhz and is not enough for playing video, has 12000 bitrate/sec, smootly. I want to play http stream has mpeg2ts.
* Will you add type of decoder such as (hardware, software, software fast --> as mxplayer )?

according to my experience difference between audio and video synchronization is about ~2sec for http stream as mpeg2ts. Have you tested before?

Edit:
Sorry for less information. Device CPU: 720Mhz, ARMv7 Cortex A8 with neon

Re: About Vlc video quality

Posted: 27 Jun 2012 17:39
by mike2nl
Edit:
Sorry for less information. Device CPU: 720Mhz, ARMv7 Cortex A8 with neon
So far i know you can use AnTuTu CPU Master from google play.
You can run a test to push your CPU speed to arround 900MHz.
That must be enough to play videos without an issue.

Link to Antutu on google play:
https://play.google.com/store/apps/deta ... VyRnJlZSJd

Re: About Vlc video quality

Posted: 28 Jun 2012 09:58
by structi
Thanks for reply;

I setted my device as root and tried antutu and more software for overclocking. Those software could not increase CPU speed. Maximum speed is still 720mhz.

In Vlc android source code there is a file "libvlc-module.c"

#define INPUT_PREFERREDRESOLUTION_TEXT N_("Preferred video resolution")
#define INPUT_PREFERREDRESOLUTION_LONGTEXT N_( \
"When several video formats are available, select one whose " \
"resolution is closest to (but not higher than) this setting, " \
"in number of lines. Use this option if you don't have enough CPU " \
"power or network bandwidth to play higher resolutions.")
static const int pi_prefres[] = { -1, 1080, 720, 576, 360, 240 };
static const char *const ppsz_prefres[] = {
N_("Best available"), N_("Full HD (1080p)"), N_("HD (720p)"),
N_("Standard Definition (576 or 480 lines)"),
N_("Low Definition (360 lines)"),
N_("Very Low Definition (240 lines)"),
};

I modifed those reverse order and compiled again. But video couldn't play smootly.

Later I changed as below and compiled again. But video couldn't play smootly too. Seemed as if no change has been observed.

#define INPUT_PREFERREDRESOLUTION_TEXT N_("Preferred video resolution")
#define INPUT_PREFERREDRESOLUTION_LONGTEXT N_( \
"When several video formats are available, select one whose " \
"resolution is closest to (but not higher than) this setting, " \
"in number of lines. Use this option if you don't have enough CPU " \
"power or network bandwidth to play higher resolutions.")
static const int pi_prefres[] = { 240 };
static const char *const ppsz_prefres[] = {
N_("Very Low Definition (240 lines)"),
};

What can I do?

Re: About Vlc video quality

Posted: 28 Jun 2012 12:42
by edwardw
Thanks for reply;

I setted my device as root and tried antutu and more software for overclocking. Those software could not increase CPU speed. Maximum speed is still 720mhz.

In Vlc android source code there is a file "libvlc-module.c"

#define INPUT_PREFERREDRESOLUTION_TEXT N_("Preferred video resolution")
#define INPUT_PREFERREDRESOLUTION_LONGTEXT N_( \
"When several video formats are available, select one whose " \
"resolution is closest to (but not higher than) this setting, " \
"in number of lines. Use this option if you don't have enough CPU " \
"power or network bandwidth to play higher resolutions.")
static const int pi_prefres[] = { -1, 1080, 720, 576, 360, 240 };
static const char *const ppsz_prefres[] = {
N_("Best available"), N_("Full HD (1080p)"), N_("HD (720p)"),
N_("Standard Definition (576 or 480 lines)"),
N_("Low Definition (360 lines)"),
N_("Very Low Definition (240 lines)"),
};

I modifed those reverse order and compiled again. But video couldn't play smootly.

Later I changed as below and compiled again. But video couldn't play smootly too. Seemed as if no change has been observed.

#define INPUT_PREFERREDRESOLUTION_TEXT N_("Preferred video resolution")
#define INPUT_PREFERREDRESOLUTION_LONGTEXT N_( \
"When several video formats are available, select one whose " \
"resolution is closest to (but not higher than) this setting, " \
"in number of lines. Use this option if you don't have enough CPU " \
"power or network bandwidth to play higher resolutions.")
static const int pi_prefres[] = { 240 };
static const char *const ppsz_prefres[] = {
N_("Very Low Definition (240 lines)"),
};

What can I do?
Of course, those options won't do anything if you are playing a normal video file, since a normal video file only has one video track... these options only work for certain network streams (a.k.a. YouTube), etc.

Re: About Vlc video quality

Posted: 28 Jun 2012 13:44
by structi
I am not playing a normal video. I am playing dvb-s stream from satellite has mpeg2 ts.

Scenario
One vlc is streaming channel has changeable bitrate ( 8000 - 12000, some channels are 1000 - 3000, 4000 - 6000 ) from server, and vlc on android device (720 Mhz Arm Cortex A8 with neon) is trying to play channel.

Problem 1
Channel has 12000 bitrate is not playing smootly, 5 to 10 seconds locking, playing, locking, playing.

Problem 2
But whole channels have same synchronization problem. Many of the time audio is coming a second earlier, and this synchronization difference is constant. Rarely audio is coming more second earlier.

I want to reduce video quality to playing smootly my android device.

What can I do?
Are vlc developpers working about reduce video quality, changing video decoder e.t.c ?

I need a way to reduce the quality of video.