Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help wanted] Composite Output playing severely slower than HDMI output. #50

Closed
Aden-101 opened this issue Aug 13, 2018 · 3 comments
Closed

Comments

@Aden-101
Copy link

Aden-101 commented Aug 13, 2018

  • Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
    Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):
    Raspbian OS
    Raspberry Pi 3B
    installed & config edits made through both Win10 64-bit & MacOSX 10.13.4, no differences.

  • Python version (run python -version or python3 -version):
    python -version : 2.7.13
    python3 -version: 3.5.3

  • Error message you are receiving, including any Python exception traces:
    **I don't receive any error message; the issue I have is that when I output video through composite NTSC (sdtv_mode=0) the video plays back at approximately 1/5th of the supposed speed (audio included, so I don't think it's a frame rate issue).

This issue only happens when I boot up the Pi with a composite cable connected only, if I am only using the composite output for audio, (HDMI as video output) the composite audio output works at the proper speed (but there is no image being sent).

I've tried this with a few different pi's (the issue occurred after I did a wipe and re-install on all of our 27 pis in rotation)

  • List the steps to reproduce the problem below (if possible attach code or commands
    to run): **
  1. install pi_video_looper
  2. verify that sound is sent to both Composite & HDMI in video_looper.ini
  3. edit the config.txt file:
    a. disable hdmi_force_hotplug=1 (comment out or delete)
    b. Add sdtv_mode=0 to output to composite NTSC
  4. connect to composite TV (disconnect HDMI cable, otherwise it'll only output sound through composite)
  5. insert USB with compatible video.

the config file including the above edits: config.txt

@chrisvaughn
Copy link

I know this is an old issue but for future use: I had this same issue and found that I had to set sound = local in video_looper.ini to get the video to play at regular speed via Composite out.

@christiansievers
Copy link
Contributor

christiansievers commented Feb 13, 2019

It may have to do with this here:

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=195178

Hexxeh/rpi-firmware#172

According to those posts the then new kernel should fix the problem. So I tried updating the kernel & firmware using apt-get update && apt-get upgrade, but this didn't help. The pre-release kernel using rpi-update also doesn't fix it.

What helped for me was adding audio_pwm_mode=0 to config.txt.

A caveat: As far as I understand, this degrades the analogue audio quality, so if your analogue video doesn't need to be fluid and your sound is important, make sure it's set to audio_pwm_mode=2

@chrisvaughn your suggestion also works!

@tofuSCHNITZEL
Copy link
Collaborator

I will close this for now. If this is still relevant please feel free to comment again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants