VLC on Raspberry freezes with waiting decoder fifos to empty

*nix specific usage questions
avu2
New Cone
New Cone
Posts: 2
Joined: 09 Feb 2022 19:18

VLC on Raspberry freezes with waiting decoder fifos to empty

Postby avu2 » 09 Feb 2022 20:36

VLC on Raspberry Pi4B randomly freezes when loop playing 1920x1080 AAC, H.264 .mp4 videos with "waiting decoder fifos to empty". May happen after hours or after a few minutes following a reboot.

Any help or workaround wellcome

Raspberry PI 4b 2GB, SDXC card good quality, no cooling trouble
Board: 4 x ARMv7 cores available, ondemand governor (Pi4 Model B rev 1.2, BCM2838 SoC with 2GB RAM by Sony UK)
Memory: 1024MB (split 768MB ARM, 256MB GPU) plus 100MB Swap
HW Block: | ARM | Core | H264 | SDRAM |
Min Freq: | 600MHz | 250MHz | 0MHz | 3180MHz |
Max Freq: | 1500MHz | 500MHz | 500MHz | 3180MHz |
Voltages: | 0, 0.8500V | +0, 1.2000V |
Other: temp_limit=85
Firmware: Jan 20 2022 13:56:48, version bd88f66f8952d34e4e0613a85c7a6d3da49e13e2 (clean) (release) (start)
Codecs: H264 MJPG PCM
Booted: Wed Feb 9 18:24:07 2022
Time ARM Core H264 Core Temp (Max) IRQ/s RX B/s TX B/s
18:55:31 700Mhz 233Mhz 278Mhz 42.35C (43.82C) 148 0 0

OS Raspbian 11 fresh install, up to date

pi@raspberrypi:~ $ DISPLAY=:0 vlc -vv --fullscreen --loop --playlist-autostart --no-video-title-show /home/pi/video/video-playlist.m3u
VLC media player 3.0.16 Vetinari (revision 1.0.6-1682-g88158c836)
[01537b98] main libvlc debug: VLC media player - 3.0.16 Vetinari
[01537b98] main libvlc debug: Copyright © 1996-2021 the VideoLAN team
[01537b98] main libvlc debug: revision 1.0.6-1682-g88158c836

[a27106d8] main input debug: `file:///home/pi/video/video.mp4' successfully opened
[a230e4d0] mp4 demux debug: elst (0) gives 0ms (movie)-> 40ms (track)
[a230e4d0] mp4 demux debug: track[Id 0x1] using Sync Sample Box (stss)
[a230e4d0] mp4 demux debug: stss gives 1 --> 0 (sample number)
[a230e4d0] mp4 demux debug: elst (0) gives 0ms (movie)-> 0ms (track)
[a27106d8] main input debug: Buffering 0%
[a237f730] faad decoder warning: decoded zero sample
[015af570] main playlist debug: reusing audio output
[015cead8] qt interface debug: IM: Setting an input
[a27106d8] main input debug: Buffering 25%
[015bd3e8] pulse audio output debug: using stereo channel map
[a27106d8] main input debug: Buffering 50%
[015bd3e8] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=53744, prebuf=0, minreq=15360
[015bd3e8] pulse audio output debug: connected to sink alsa_output.platform-bcm2835_audio.analog-stereo
[015bd3e8] main audio output debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
[a251c5a8] main volume debug: looking for audio volume module matching "any": 3 candidates
[a251c5a8] main volume debug: using audio volume module "volume_neon"
[015bd3e8] main audio output debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
[9e49e578] main audio filter debug: looking for audio filter module matching "scaletempo": 16 candidates
[9e49e578] scaletempo audio filter debug: format: 48000 rate, 2 nch, 4 bps, fl32
[9e49e578] scaletempo audio filter debug: params: 30 stride, 0,200 overlap, 14 search
[9e49e578] scaletempo audio filter debug: 1,000 scale, 1440,000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
[9e49e578] main audio filter debug: using audio filter module "scaletempo"
[015bd3e8] main audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
[015bd3e8] main audio output debug: conversion pipeline complete
[015bd3e8] main audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
[015bd3e8] main audio output debug: conversion pipeline complete
[9e495440] main audio resampler debug: looking for audio resampler module matching "any": 4 candidates
[9e495440] main audio resampler debug: using audio resampler module "samplerate"
[a27106d8] main input debug: Buffering 75%
[a27106d8] main input debug: Buffering 100%
[a27106d8] main input debug: Stream buffering done (1250 ms in 13 ms)

[8b1af3a8] freetype spu text debug: Took -29842 microseconds
[015cead8] qt interface debug: IM: Deleting the input
[8b1af3a8] main spu text debug: using text renderer module "freetype"
[015af570] main playlist debug: reusing provided vout
[a2367038] main decoder debug: Received first picture
[a27106d8] main input debug: Decoder wait done in 78 ms
[015bd3e8] pulse audio output debug: cannot synchronize start
[015bd3e8] pulse audio output debug: deferring start (27967 us)
[015bd3e8] pulse audio output debug: deferring start (2697 us)
[015bd3e8] pulse audio output warning: starting late (-20786 us)
[015bd3e8] pulse audio output debug: changing sink 0: alsa_output.platform-bcm2835_audio.analog-stereo (Audio interne Analog Stereo)
[015bd3e8] pulse audio output debug: started
[015cead8] qt interface debug: IM: Setting an input
[8b047120] main video output debug: picture might be displayed late (missing 12 ms)
[8b047120] qt video output debug: Qt: Entering Fullscreen
[015bd3e8] main audio output warning: playback too late (86891): up-sampling
[015bd3e8] main audio output debug: resampling stopped (drift: 23581 us)
[a27106d8] main input debug: EOF reached
[a27106d8] main input debug: waiting decoder fifos to empty
[…]
[a27106d8] main input debug: waiting decoder fifos to empty
[015bd3e8] pulse audio output debug: underflow
[015bd3e8] pulse audio output debug: changing sink 0: alsa_output.platform-bcm2835_audio.analog-stereo (Audio interne Analog Stereo)
[a27106d8] main input debug: waiting decoder fifos to empty
[…]
[a27106d8] main input debug: waiting decoder fifos to empty
[015bd3e8] pulse audio output debug: suspended
[015bd3e8] pulse audio output debug: changing sink 0: alsa_output.platform-bcm2835_audio.analog-stereo (Audio interne Analog Stereo)
[a27106d8] main input debug: waiting decoder fifos to empty
[…] stuck
Aborted with CTRL-C, need to reboot for VLC to play any new video

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC on Raspberry freezes with waiting decoder fifos to empty

Postby Rémi Denis-Courmont » 10 Feb 2022 20:32

If you need to reboot the device to carry on, then the error must be at a lower level (kernel device driver or firmware), and there is probably little or nothing to do here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

avu2
New Cone
New Cone
Posts: 2
Joined: 09 Feb 2022 19:18

Re: VLC on Raspberry freezes with waiting decoder fifos to empty

Postby avu2 » 11 Feb 2022 17:44

That's what I think also but I gave it a try, you never know ... No answer on raspberry support forum. Merci bien


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests