New to Linux and Fedora. I am trying to play a video on VLC, but it is getting stuck in between and not playing properly. But if I use the Gnome Video Player or VLC on Windows, it is playing properly. So this must be a issue with VLC or my settings. Can someone suggest from where I should start the debugging?
Please let me know if any additional details are required.
Edit: I tried some troubleshooting from the posts of this forum, but none of them worked till now.
Install the needed codecs with the libavcodec-freeworld package from rpmfusion. You may need to enable the proper repo. sudo dnf install libavcodec-freeworld --allowerasing
If that does not work then you may need to enable the rpmfusion-free repo as shown here before that command can run properly. https://rpmfusion.org/Configuration
Me too had a lot of trouble with vlc freezing on almost everything. Had all the codecs installed though so I tried a lot of configurations that are all over the internet, particularly this forum. Made things much worse.
Solved by deleting the â~/.config/vlcâ tree. Might work for you as well. Just in case, make a backup of your config first.
Older configs do not necessarily match what is currently required after doing updates.
Sometime the suggestion to remove older configs such as Solved by deleting the â~/.config/vlcâ tree. may be the best choice. It is never wrong since vlc will create its own new config definitions the next time it is started.
@sad-truant
Your original post did not show any information except
This is very minimal info and led to the belief that the errors were caused by not having proper codecs, which is a known issue with the vlc package as distributed by fedora. Thus my suggestion to install the libavcodec-freeworld package.
This link provides some info on how to ask questions and provide necessary information to quickly narrow down the problem.
The more relevant information you may provide and the more you show you have made an attempt to solve it leads to better understanding of the actual problem, the current conditions, and the quicker you may receive an actual solution.
There are many examples on this forum of users saying something like âit does not workâ and the following discussion requires multiple back and forth posts to determine the details of what does not work, what is happening, what the conditions are, etc. all before a solution can be found.
Often errors such as shown in that screenshot are caused by one of 2 things.
Corrupt files or missing codecs.
Since you have shown that the suggested codec files are installed I tend to lean toward a potentially corrupt file being played (though you say it works with vlc on windows)
You may also try installing ffmpeg from rpmfusion to see if it may still be a codec issue. sudo dnf install ffmpeg --allowerasing should install that from the rpmfusion repo as well.
As a last resort, if the above does not work then post the failing file at a location where it may be downloaded and tested by others. Provide the download link here so we may try it on our own systems. That should help to identify if it is a file or config problem.
Note also, that you should do a full update to ensure this is not a bug that may already be fixed in the software. sudo dnf upgrade --refresh followed by a reboot after a 5 minute wait should manage that.
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[00005626737cf520] main libvlc: Running vlc with the default interface. Use âcvlcâ to use vlc without interface.
[0000562673868660] main playlist: playlist is empty
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/iHD_drv_video.so
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva error: /usr/lib64/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib64/dri-nonfree/i965_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/i965_drv_video.so
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_20
failed to open /usr/lib64/dri/hybrid_drv_video.so
Not using hybrid_drv_video.so
libva info: va_openDriver() returns 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[h264 @ 0x7fd97ccb2300] co located POCs unavailable
[00007fd97cc1a6b0] avcodec decoder error: more than 5 seconds of late video â dropping frame (computer too slow ?)
I donât have any dedicated GPU. I have an Integrated GPU in my Intel CPU. Here is my CPU information:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
Model name: Intel(R) Pentium(R) CPU N3710 @ 1.60GHz
CPU family: 6
Model: 76
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: 4
CPU(s) scaling MHz: 54%
CPU max MHz: 2560.0000
CPU min MHz: 480.0000
BogoMIPS: 3200.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm c
onstant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monito
r ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb sti
bp tpr_shadow flexpriority ept vpid tsc_adjust smep erms dtherm ida arat vnmi md_clear
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 96 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 2 MiB (2 instances)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Mitigation; Clear CPU buffers; SMT disabled
Meltdown: Mitigation; PTI
Mmio stale data: Unknown: No mitigations
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Srbds: Not affected
Tsx async abort: Not affected
It would be useful to know about the hardware.
Please run inxi -Fzxx and post that output here as preformatted text using the </> button on the toolbar where you write your post.
It appears you have been using the block quote button " for most things.
What you have posted seems to indicate that there may be an nvidia gpu involved.