[Solved] Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Having trouble with your GBZ build? Ask your questions here!
GunZi
Posts: 32
Joined: Sun May 06, 2018 4:50 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by GunZi » Sun May 13, 2018 10:51 am

Resizing the video to 320x240 gives the same result, also cropping the video doesn't help either.

I tried adding audio_pwn_mode=2 before adding the splash screen yes, I saw it made no difference in audio quality so I just removed it.

Here's the original video https://www.youtube.com/watch?v=gKHLLik ... e=youtu.be

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by VeteranGamer » Sun May 13, 2018 11:02 am

GunZi wrote:
Sun May 13, 2018 10:51 am
Resizing the video to 320x240 gives the same result, also cropping the video doesn't help either.

I tried adding audio_pwn_mode=2 before adding the splash screen yes, I saw it made no difference in audio quality so I just removed it.

Here's the original video https://www.youtube.com/watch?v=gKHLLik ... e=youtu.be
i'd start a fresh again (i know it may seem a bit extreme or like extra work)

just dont add the "audio_pwn_mode=2" at all this time.....


also have you tried another splash video (just to test things out)....



.

GunZi
Posts: 32
Joined: Sun May 06, 2018 4:50 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by GunZi » Sun May 13, 2018 11:07 am

The only other splash video I tried was the default one. It lagged/stuttered also, I could try some more tomorrow when I start again with a fresh image.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by VeteranGamer » Sun May 13, 2018 11:10 am

GunZi wrote:
Sun May 13, 2018 11:07 am
The only other splash video I tried was the default one. It lagged/stuttered also, I could try some more tomorrow when I start again with a fresh image.
personally i doubt its the splash (could be wrong)

just forget this code "audio_pwn_mode=2" completely next time you compile your image....

see if that resolves it...


(NB: i have a splash you can download in my custom GBZ build post, which works...like they all do)



.

GunZi
Posts: 32
Joined: Sun May 06, 2018 4:50 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by GunZi » Sun May 13, 2018 12:30 pm

I found a solution! :D

By going to /opt/retropie/supplementary/splashscreen/asplashscreen.sh

I edit line 35 in asplashscreen.sh (press F4 to edit)

Changing

Code: Select all

omxplayer -o both -b --layer 10000 "$line"
into

Code: Select all

omxplayer -b --layer 10000 "$line"
To save edit: Ctrl-X -> y -> Enter

I tested this on my pi0 1.3 (which has audio connected) and everything works great!

EDIT:
Here's a link to someone that had a similar bug https://retropie.org.uk/forum/topic/171 ... -composite
Link to github issue: https://github.com/popcornmix/omxplayer/issues/625

EDIT 2: on the github link it is mentioned that this issue can also be fixed by adding

Code: Select all

audio_pwm_mode=0
to the config file. I'll test this tomorrow.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by VeteranGamer » Sun May 13, 2018 12:46 pm

GunZi wrote:
Sun May 13, 2018 12:30 pm

EDIT 2: on the github link it is mentioned that this issue can also be fixed by adding

Code: Select all

audio_pwm_mode=0
to the config file. I'll test this tomorrow.

thats brilliant.....

if you've found a fix, thats great...



.

GunZi
Posts: 32
Joined: Sun May 06, 2018 4:50 pm
Has thanked: 2 times
Been thanked: 4 times

Re: [Solved] Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by GunZi » Mon May 14, 2018 2:58 am

EDIT:
Ok, I tested today

Code: Select all

audio_pwm_mode=0
and it worked, no need to edit asplashscreen.sh

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: [Solved] Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by VeteranGamer » Mon May 14, 2018 3:43 am

GunZi wrote:
Mon May 14, 2018 2:58 am
EDIT:
Ok, I tested today

Code: Select all

audio_pwm_mode=0
and it worked, no need to edit asplashscreen.sh
congratulations.....



just putting it out there....
if you didnt add audio_pwm_mode=2
and just left it, it would automatically be in audio_pwm_mode=0 (could be wrong on this).....
(i would also hazard a guess, that if you didnt add "audio_pwm_mode=0" you'd also be ok, like alot of the other builds out there)


enjoy....


.

mfiers
Posts: 1
Joined: Thu Sep 05, 2019 3:25 am

Re: [Solved] Video is slow on composite screen (Gearbest) and audio muffled, but works good on HDMI?

Post by mfiers » Thu Sep 05, 2019 3:27 am

I had the same problem. Thanks a lot!!! It worked!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest