Skip to content

BUG: Video start delaying after iphone display rotated to horizontal #373

@imananoosheh

Description

@imananoosheh

Description of the Bug I'm facing

I have a fresh Raspberry Pi OS (64-bit) installed on Raspberry Pi 400
Device Info:
Raspberry Pi 400 | quad-core 64-bit ARM Cortex-A72 @ 1.8GHz | 4GB RAM
I have installed the Gstreamer libraries mentioned below and then I cloned and followed the instructions to build and run the rpiplay. it mirrors the iPhone screen fine in a vertical position but when it's rotated to a horizontal position (such as in YouTube) the video starts delaying and the below errors pop in the terminal mentioning this needs to be filed as a bug; so I did. Also CPU goes to the roof in this stage.

Note: Please let me know if any further details are needed.

STDOUT LOG RECORD:

p*******r@raspberrypi:~ $ rpiplay -n rpiplayserver -b on -a hdmi 
Using low-latency mode
Initialized server socket(s)
*** WARNING *** The program 'rpiplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 23
Local: 10.0.0.3
Remote: 10.0.0.241
Accepted IPv4 client on socket 25
Local: 10.0.0.3
Remote: 10.0.0.241
raop_rtp_mirror starting mirroring
raop_rtp starting audio
raop_rtp starting audio
raop_rtp starting audio
raop_rtp starting audio
raop_rtp starting audio
raop_rtp starting audio
raop_rtp starting audio
raop_rtp starting audio

** (rpiplay:2799): WARNING **: 10:08:38.312: v4l2h264dec0: 3 frames 9848-9850 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug

** (rpiplay:2799): WARNING **: 10:08:45.919: v4l2h264dec0: 14 frames 10433-10446 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug

** (rpiplay:2799): WARNING **: 10:09:03.607: v4l2h264dec0: 3 frames 11261-11263 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug

** (rpiplay:2799): WARNING **: 10:09:31.809: v4l2h264dec0: 14 frames 13178-13191 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug

** (rpiplay:2799): WARNING **: 10:09:47.480: v4l2h264dec0: 3 frames 13923-13925 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug

Installed GStreamer packages:

https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c#install-gstreamer-on-ubuntu-or-debian

apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

OS Info

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions