With the VLC 0.9.5 i am unable to play .mkv videos.
I get the following information :No suitable decoder module:
VLC does not support the audio or video format «undf». Unfortunately there is no way for you to fix this.
it is a mkv with a h264 video codec (1280X576) and a vorb audio codec (44.100 khz) inside.
Some more messages on the console screen :
[00000643] main decoder error: no suitable decoder module for fourcc `undf’.
VLC probably does not support this sound or video format.
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
[00000623] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00000623] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00000623] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00000623] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
Strange that i can see a still picture of it before the message appears.
The old VLC (0.86e) playes this file fine.
P.S.
Computer too slow can’t be the reason, since XINE,Mplayer and OLD VLC playes this file fine.
System is a AMD 2600 X2,4 GB RAM,NVidea 9600 Graphic Card.
I’m muxing mpeg4 video to avi container. The video stream is ~4fps, so I set AVCodecContext
time_base
to 1/4 (formatContext->streams[0]->codec->time_base
…) , and then rescal each frame timestamp, because the original time-stamps are in milliseconds. The resulting value I assign to a packet pts
and dts
.
When I play this avi with VLC, the video is not smooth, and I get the following message repeatedly:
avcodec error: more than 5 seconds of late video -> dropping frame
(computer too slow ?)
Is there something wrong with the above pts/dts calculation?
The following table demonstrates how the timestamps are rescaled (original->rescaled)
stream: 0 1329471005111->1
stream: 0 1329471005348->2
stream: 0 1329471005588->3
stream: 0 1329471005828->4
stream: 0 1329471006068->5
stream: 0 1329471006308->6
stream: 0 1329471006551->7
stream: 0 1329471006788->8
stream: 0 1329471007028->9
stream: 0 1329471007268->10
stream: 0 1329471007508->11
stream: 0 1329471007748->12
stream: 0 1329471007988->13
stream: 0 1329471008228->14
stream: 0 1329471008468->15
I have obtained a video, ffprobe
for it shows:
$ ffprobe test-000000.mp4
ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test-000000.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.29.100
Duration: 00:01:25.76, start: 0.040000, bitrate: 187 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 608x448, 186 kb/s, 8.98 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
mediainfo
for the same shows:
$ mediainfo test-000000.mp4
General
Complete name : test-000000.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.92 MiB
Duration : 1 min 25 s
Overall bit rate : 187 kb/s
Writing application : Lavf58.29.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 25 s
Bit rate : 186 kb/s
Width : 608 pixels
Height : 448 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 8.979 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.076
Stream size : 1.90 MiB (99%)
Writing library : x264 core 155 r2917 0a84d98
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x3 / me=dia / subme=1 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=25 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=35.0 / qcomp=0.00 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Codec configuration box : avcC
When I start playing this video with vlc
, it starts playing fine for 5-6 seconds, and then I get suddenly:
...
[00007f066cc1bad0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f066cc1bad0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f066cc1bad0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f066cc1bad0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f066cc1bad0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
...
I think also, the video at that point was showing a still frame for quite a long time (screen capture from a PC desktop), so it’s quite possible the capturing process did not insert keyframes there or something.
So, I was wondering, is it possible to fix this kind of an error message without reencoding (in ffmpeg
that would be -vcodec copy
), aside from inserting keyframes if that is necessary (though I’m not sure, maybe inserting keyframes does count like re-encoding in greater extent than -vcodec copy
?)? If not, what would be the best way to fix this problem with ffmpeg, so I end up with minimal changes in existing quality?
- Печать
Страницы: [1] Вниз
Тема: [РЕШЕНО] Как решить проблему с черным экраном vlc player в ubuntu 16.04? (Прочитано 7279 раз)
0 Пользователей и 1 Гость просматривают эту тему.

serii
Звук проигрывается а вот видео нет.
Не совсем понимаю, как решить эту задачу.
« Последнее редактирование: 10 Августа 2017, 21:54:27 от DoctorRover »

AlexBKost
serii, поковыряйся в настройках VLC: Инструменты — Настройки — Видео — Вывод. Тот, что установлен и не работает.
Я странен, а не странен кто ж? (С)

Azure
Запустить через терминал и посмотреть вывод ошибок. (скорее всего не тот видео-драйвер настроен)
В Линукс можно сделать ВСЁ что угодно, достаточно знать КАК !

serii
Запустить через терминал и посмотреть вывод ошибок. (скорее всего не тот видео-драйвер настроен)
[00007fcfb4c03cd8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fcf94001268] vdpau_display vout display error: output surface creation failure: A catch-all error, used when no other error code applies.
Пользователь добавил сообщение 09 Августа 2017, 17:48:16:
serii, поковыряйся в настройках VLC: Инструменты — Настройки — Видео — Вывод. Тот, что установлен и не работает.
Спасибо, все решено, установил в видео вывод x11 и чудо, заработало!!!!!
А как сделать ответ решенным?
Да и последнее, как посмотреть мои темы на этом форуме, а то как-то навигация тут хромает, не могу сориентироваться?
Все всем спасибо.
« Последнее редактирование: 09 Августа 2017, 17:49:48 от serii »

БТР

serii
В настройках — видео — модуль — выставить — x11
- Печать
Страницы: [1] Вверх
#1 2011-08-28 18:44:41
- hussam
- Member
- Registered: 2006-03-26
- Posts: 572
- Website
vlc problems. [solved]
using stock archlinux ffmpeg and vlc packages (nothing rebuilt from aur or whatever), I’m getting problems outputing videos. flv videos work find but other videos give «[0x933310c] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)»
I have a nvidia 430GT card and a /proc/cpu says model name : Intel(R) Core(TM)2 CPU E7500 @ 2.93GHz
3GB ram.
so it should at least be able to handle videos.
how can I tell what’s wrong?
Last edited by hussam (2012-04-20 16:58:15)
#2 2011-08-28 20:22:30
- doorknob60
- Member
- Registered: 2008-09-29
- Posts: 403
Re: vlc problems. [solved]
Make sure it’s set to use VDPAU accelleration: https://wiki.archlinux.org/index.php/NV … 2FVAAPI.29 (though with that CPU it should be fine either way…oh well). I have a GT430 and when I play any videos they play perfectly smooth with almost no CPU usage sine it uses VDPAU, should be the same for you. Also, you could try using mplayer (or Smplayer if you want a GUI) with its VDPAU output, I find that Mplayer better supports VDPAU than VLC does.
EDIT: Also make sure you have the libvdpau and vdpau-video packages installed, I’m not sure if they come as dependencies or not, better double check.
Last edited by doorknob60 (2011-08-28 20:24:46)
#3 2011-08-28 20:56:03
- hussam
- Member
- Registered: 2006-03-26
- Posts: 572
- Website
Re: vlc problems. [solved]
vdpau-video and libvdpau are installed.
I have «Use GPU acceleration» turned on.
BTW, this doesn’t happen when I ffplay files. It only fails with vlc.
#4 2011-08-29 04:30:15
- chr0nik
- Member
- From: Michigan, USA
- Registered: 2011-03-13
- Posts: 31
Re: vlc problems. [solved]
I lifted this from readthefuckingmanual.net after a quick google so you may have already tried it. If not, you can try increasing vlc’s cache size for files as such:
*go to Tools->Preferences
*show settings All
*double click Input / Codecs
*double click Access Modules
*select File and increase the cache size.
*save and restart vlc
Also, what output do you get from vainfo?
#5 2011-08-29 12:45:27
- hussam
- Member
- Registered: 2006-03-26
- Posts: 572
- Website
Re: vlc problems. [solved]
chr0nik wrote:
I lifted this from readthefuckingmanual.net after a quick google so you may have already tried it. If not, you can try increasing vlc’s cache size for files as such:
*go to Tools->Preferences
*show settings All
*double click Input / Codecs
*double click Access Modules
*select File and increase the cache size.
*save and restart vlc
Hi chr0nik. That seems to have some effect. I increased the cache size to a really huge number. 100000ms. now it plays a full second before it stops again
Also, what output do you get from vainfo?
vainfo
libva: libva version 0.32.0
Xlib: extension «XFree86-DRI» missing on display «:0.0».
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API — 0.7.3
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
#6 2012-04-20 16:52:49
- hussam
- Member
- Registered: 2006-03-26
- Posts: 572
- Website
Re: vlc problems. [solved]
I finally fixed this.
I recompiled vlc with —disable-libmpeg2 and now it uses ffmpeg to play mpg files instead of libmpeg2 and the problem is gone!
Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
VLC player not working
I am using Linux MINT 19.3 on an intel i9 machine I installed VLC and opened a flv file . Video starts playing but soon I am getting this error
vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000557c30de2570] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: D-Bus system tray: no
[0000557c30de64e0] main playlist: playlist is empty
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
[00007fee1d394c60] avcodec decoder: Using Intel i965 driver for Intel(R) Coffee Lake — 2.1.0 for hardware decoding
[h264 @ 0x7fee1cc165c0] co located POCs unavailable
[h264 @ 0x7fee1cf053c0] co located POCs unavailable
[h264 @ 0x7fee1cc165c0] mmco: unref short failure
[h264 @ 0x7fee1d353160] co located POCs unavailable
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[h264 @ 0x7fee1cc224c0] co located POCs unavailable
[h264 @ 0x7fee1d353160] co located POCs unavailable
[h264 @ 0x7fee1cee90a0] co located POCs unavailable
[h264 @ 0x7fee1cf053c0] mmco: unref short failure
[h264 @ 0x7fee1cee90a0] co located POCs unavailable
[h264 @ 0x7fee1d3598a0] co located POCs unavailable
[h264 @ 0x7fee1cee90a0] mmco: unref short failure
[h264 @ 0x7fee1cc165c0] co located POCs unavailable
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007fee1d394c60] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[h264 @ 0x7fee1d353160] co located POCs unavailable
[h264 @ 0x7fee1d3598a0] co located POCs unavailable
[h264 @ 0x7fee1cf053c0] co located POCs unavailable
[h264 @ 0x7fee1cc165c0] mmco: unref short failure
QObject::~QObject: Timers cannot be stopped from another thread
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
Kadaitcha Man
- Level 16
- Posts: 6098
- Joined: Mon Aug 27, 2012 10:17 pm
Re: VLC player not working
Post
by Kadaitcha Man » Sun Jan 26, 2020 1:56 am
delsan wrote: ↑
Sat Jan 25, 2020 10:59 am
I am using Linux MINT 19.3 on an intel i9 machine I installed VLC and opened a flv file . Video starts playing but soon I am getting this errorvlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000557c30de2570] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
You aren’t supposed to start GUI applications from the command line. The message clearly tells you to use cvlc for that.
What happens when you try to play the flash video after starting vlc from the menu?
[*] All kadaitcha men are liars
-
MrEen
- Level 23
- Posts: 18353
- Joined: Mon Jun 12, 2017 8:39 pm
Re: VLC player not working
Post
by MrEen » Sun Jan 26, 2020 2:02 am
Kadaitcha Man wrote: ↑
Sun Jan 26, 2020 1:56 am
You aren’t supposed to start GUI applications from the command line. The message clearly tells you to use cvlc for that.
That’s a very common troubleshooting technique. As long as sudo isn’t involved, there shouldn’t be any issues. And this is often the only way to find the errors that are preventing the application from working properly.
-
Kadaitcha Man
- Level 16
- Posts: 6098
- Joined: Mon Aug 27, 2012 10:17 pm
Re: VLC player not working
Post
by Kadaitcha Man » Sun Jan 26, 2020 2:06 am
MrEen wrote: ↑
Sun Jan 26, 2020 2:02 am
Kadaitcha Man wrote: ↑
Sun Jan 26, 2020 1:56 am
You aren’t supposed to start GUI applications from the command line. The message clearly tells you to use cvlc for that.That’s a very common troubleshooting technique. As long as sudo isn’t involved, there shouldn’t be any issues. And this is often the only way to find the errors that are preventing the application from working properly.
That’s fair enough, and I’m aware of that, but in the absence of the poster not telling us why it was started from the command line, I’m not making the assumption that it was a deliberate attempt to get error messages. Also, .flv files are prone to that kind of error. They’re a terrible vehicle for videos.
[*] All kadaitcha men are liars
-
all41
- Level 18
- Posts: 8661
- Joined: Tue Dec 31, 2013 9:12 am
- Location: Computer, Car, Cage
Re: VLC player not working
Post
by all41 » Sun Jan 26, 2020 2:08 am
Say more regarding your install of VLC. Did you install the mint-meta-codecs package? Check in Synaptics if this is indeed installed.
Everything is difficult before it gets easy.
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
Re: VLC player not working
Post
by delsan » Mon Jan 27, 2020 7:15 pm
Kadaitcha Man wrote: ↑
Sun Jan 26, 2020 2:06 am
MrEen wrote: ↑
Sun Jan 26, 2020 2:02 am
Kadaitcha Man wrote: ↑
Sun Jan 26, 2020 1:56 am
You aren’t supposed to start GUI applications from the command line. The message clearly tells you to use cvlc for that.That’s a very common troubleshooting technique. As long as sudo isn’t involved, there shouldn’t be any issues. And this is often the only way to find the errors that are preventing the application from working properly.
That’s fair enough, and I’m aware of that, but in the absence of the poster not telling us why it was started from the command line, I’m not making the assumption that it was a deliberate attempt to get error messages. Also, .flv files are prone to that kind of error. They’re a terrible vehicle for videos.
Yes I started this from the command line to get the errors. If I reboot the machine, VLC starts working just fine. After 2 3 days (several suspend and start ) it stops working and again I have to reboot to rectify this problem
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
Re: VLC player not working
Post
by delsan » Mon Jan 27, 2020 7:19 pm
all41 wrote: ↑
Sun Jan 26, 2020 2:08 am
Say more regarding your install of VLC. Did you install the mint-meta-codecs package? Check in Synaptics if this is indeed installed.
I installed VLC from the Software Manager. mint-meta-codecs is already installed. I checked it in Software Manager.
After I reboot, VLC and YouTibe both would start working but after a day or two it would stop working again. Then, I run VLC on the command line, I get the following error:
$ vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000562c00a1b400] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Moreover, on FireFox YouTube shows video working fine but without the sound
In Chrome neither the YouTube video nor the sound works
-
smurphos
- Level 18
- Posts: 8511
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
-
Contact:
Re: VLC player not working
Post
by smurphos » Tue Jan 28, 2020 1:04 am
Kadaitcha Man wrote: ↑
Tue Jan 28, 2020 12:52 am
stable-daily ppa
That’s an abandoned PPA as you pointed out to another user not so long ago who suggested it…
The VLC versions offered are anything but current.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
-
smurphos
- Level 18
- Posts: 8511
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: VLC player not working
Post
by smurphos » Tue Jan 28, 2020 1:09 am
delsan wrote: ↑
Mon Jan 27, 2020 7:19 pm
$ vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000562c00a1b400] vlcpulse audio output error: PulseAudio server connection failure: Connection refusedMoreover, on FireFox YouTube shows video working fine but without the sound
In Chrome neither the YouTube video nor the sound works
What does the command pulseaudio -k
return when you don’t have any sound in the browsers.
What exactly stops working in VLC? Just the sound or something else?
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
-
Kadaitcha Man
- Level 16
- Posts: 6098
- Joined: Mon Aug 27, 2012 10:17 pm
Re: VLC player not working
Post
by Kadaitcha Man » Tue Jan 28, 2020 1:20 am
smurphos wrote: ↑
Tue Jan 28, 2020 1:04 am
That’s an abandoned PPA as you pointed out to another user not so long ago who suggested it…The VLC versions offered are anything but current.
Oh, apologies to the poster. I’ll fix it. Thank you for the heads up.
[*] All kadaitcha men are liars
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
Re: VLC player not working
Post
by delsan » Thu Jan 30, 2020 12:51 am
smurphos wrote: ↑
Tue Jan 28, 2020 1:09 am
delsan wrote: ↑
Mon Jan 27, 2020 7:19 pm
$ vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000562c00a1b400] vlcpulse audio output error: PulseAudio server connection failure: Connection refusedMoreover, on FireFox YouTube shows video working fine but without the sound
In Chrome neither the YouTube video nor the sound worksWhat does the command
pulseaudio -k
return when you don’t have any sound in the browsers.What exactly stops working in VLC? Just the sound or something else?
The command returned nothing
$ pulseaudio -k
$
Sound and video both stop working
-
smurphos
- Level 18
- Posts: 8511
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: VLC player not working
Post
by smurphos » Thu Jan 30, 2020 1:05 am
Thanks — no output means that pulseaudio is working. Can you check your home folder for any files not owned by you as a user with this command.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
-
zcot
- Level 8
- Posts: 2232
- Joined: Wed Oct 19, 2016 6:08 pm
Re: VLC player not working
Post
by zcot » Thu Jan 30, 2020 1:25 am
So, it only «goes bad» after some days, sleep/wake, etc. Any docks, desklets, conky, cinnamon-spices, etc, or vlc add-ons? Seems it could be a tricky one to chase out.
-
all41
- Level 18
- Posts: 8661
- Joined: Tue Dec 31, 2013 9:12 am
- Location: Computer, Car, Cage
Re: VLC player not working
Post
by all41 » Thu Jan 30, 2020 1:41 am
Instead of rebooting though when you encounter the problem try this:
open a terminal and run:
then retry vlc—does it work now without a full reboot?
Everything is difficult before it gets easy.
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
Re: VLC player not working
Post
by delsan » Sat Feb 01, 2020 9:01 am
smurphos wrote: ↑
Thu Jan 30, 2020 1:05 am
Thanks — no output means that pulseaudio is working. Can you check your home folder for any files not owned by you as a user with this command.
$ find $HOME ! -user $USER
/home/mason/.local/share/Trash/files/brscan-skey-0.2.4-1.amd64.deb
/home/mason/.local/share/Trash/files/brmfc7340lpr-2.0.2-1a.i386.deb
/home/mason/.local/share/Trash/files/cupswrapperMFC7340-2.0.2-1a.i386.deb
/home/mason/.local/share/Trash/files/brscan3-0.2.13-1.amd64.deb
/home/mason/.local/share/Trash/files/uninstaller_brscan3
/home/mason/.local/share/Trash/files/cupswrapperMFC7340-2.0.2-1.i386.deb
/home/mason/.local/share/Trash/files/uninstaller_brscan-skey
/home/mason/.local/share/Trash/files/brmfc7340lpr-2.0.2-1.i386.deb
/home/mason/.local/share/Trash/files/uninstaller_MFC7340
/home/mason/.dbus
find: ‘/home/mason/.dbus’: Permission denied
/home/mason/gdrive/ventures/TheNotes/LinuxMintNotes/installed_stuff/printerInstallBrotherMFC-7340/brmfc7340lpr-2.0.2-1a.i386.deb
/home/mason/gdrive/ventures/TheNotes/LinuxMintNotes/installed_stuff/printerInstallBrotherMFC-7340/cupswrapperMFC7340-2.0.2-1a.i386.deb
/home/mason/gdrive/ventures/TheNotes/LinuxMintNotes/installed_stuff/printerInstallBrotherMFC-7340/uninstaller_MFC7340
mason@galaxy:~$
I googled dbus. From Wiki :
D-Bus is an IPC mechanism initially designed to replace the software component communications systems used by the GNOME and KDE Linux desktop environments
It shows permission denied for /home/mason/.dbus Is it normal ?
Last edited by delsan on Sat Feb 01, 2020 9:19 am, edited 1 time in total.
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
Re: VLC player not working
Post
by delsan » Sat Feb 01, 2020 9:16 am
all41 wrote: ↑
Thu Jan 30, 2020 1:41 am
Instead of rebooting though when you encounter the problem try this:
open a terminal and run:then retry vlc—does it work now without a full reboot?
I tried it. and I get —
vlc: no process found
When I reboot, I get a message PulseAudio not responding. So I think culprit could be PulseAudio. I have uninstalled VLC and Celluloid both. I will report back in a few days if I still get YouTube not responding in browser.
-
delsan
- Level 2
- Posts: 72
- Joined: Sun Feb 24, 2019 4:41 pm
- Location: Naples, Florida
Re: VLC player not working
Post
by delsan » Sun Feb 02, 2020 11:20 pm
I uninstalled VLC and Celluloid both. After a few suspend and start of the laptop, YouTube stops playing. So it seems it is not VLC but something else. Most probably PulseAudio because when I reboot the machine, I get message «PulseAudio not responding»
Hi all,
my goal is to display a RTSP camera stream but VLC freeze, it show an image instead of the stream.
I’m using a :
- RaspberryPi2 model 2
- Raspbian Jessie
- GPU_MEM=256
- Overclok to Pi2, the max
- RTSP Camera resolution 1920×1080
- VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
With the minimum resolution of 1280×720, instead of 192×1080, it’s working but if I resize the screen of VLC, it freeze.
Code: Select all
vlc rtsp://user:password@192.168.1.166:554
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
[01915560] pulse audio output error: PulseAudio server connection failure: Connection refused
[018848f8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[6d500c78] xcb_xv vout display error: no available XVideo adaptor
This return nothing:
When I resize the screen of VLC, it freeze and show:
Code: Select all
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[71109fa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
VLC is taking between 100% end 200% of CPU usage and 11% of memory. VLC is working well on my computeur with the same RTSP camera.
Is it a cpu/mem ressources issue? http://raspberrypi.stackexchange.com/a/22525
VLC (or mplayer) aren’t capable of playing back much on the Pi; they’re not optimized for videocore GPU, so they’re trying to do everything on the CPU (which is nowhere near powerful enough for video decoding). You can try playing back with omxplayer (which is) but I don’t recall whether it’s capable of playing back a network stream (probably possible with netcat or something similar).
I’ll add a note to the docs for 1.7 that VLC/mplayer should be run on a «normal» machine, not the Pi.
Thanks for your help
mpv version and platform
macOS Sierra 10.12.6
mpv 0.28.0-289-g13b90bc Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
ffmpeg library versions:
libavutil 56.7.101
libavcodec 58.11.101
libavformat 58.9.100
libswscale 5.0.101
libavfilter 7.12.100
libswresample 3.0.101
ffmpeg version: N-45682-gacdea9e7c
Reproduction steps
Create a rtp stream with a custom framerate (3 fps for example). Other framerates behave quiet similar (<25 fps). Playing a stream with 30fps is fine.
gst-launch-1.0 -v videotestsrc ! video/x-raw,width=640,height=480 ! videorate ! video/x-raw,framerate=3/1 ! x264enc sliced-threads=true tune=zerolatency speed-preset=1 ! rtph264pay ! udpsink host=127.0.0.1 port=5004
Play the stream using a sdp file:
rather simple sdp file: http://sprunge.us/HLHh
mpv --no-config --log-file=output.txt test.sdp
I tried disabling caching but the behaviour is the same:
mpv --no-config --log-file=output.txt --demuxer-seekable-cache=no --cache=no test.sdp
Expected behavior
Plays the stream with the given framerate.
VLC plays it fine.
ffplay plays it fine:
ffplay -loglevel debug -i -protocol_whitelist rtp,file,udp test.sdp
Actual behavior
Decoding breaks after a few seconds with decoding errors, artefacts and choppy playback
Log file
http://sprunge.us/bWdW
Sample files
See reproduction steps above