Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
-2
votes
2
answers
171
views
Can I stream Amazon Prime Video movies on a Fedora laptop?
When I try to play Amazon Prime videos on my Fedora laptop, they never start. Instead, the screen gets stuck on a loading animation (spinning circle) indefinitely. How can I fix this? Is there a step-by-step guide or checklist I can follow? [Edit July 31] This appears to be hardware dependent. It wo...
When I try to play Amazon Prime videos on my Fedora laptop, they never start.
Instead, the screen gets stuck on a loading animation (spinning circle) indefinitely.
How can I fix this?
Is there a step-by-step guide or checklist I can follow?
[Edit July 31]
This appears to be hardware dependent. It works okay on my desktop (Intel i7-4790 with GeForce GT 730) but fails on my laptop (Intel Celeron N4500 with Jasperlake embedded GPU) despite having followed the checklist on the Fedora website.
Just today, I found the
utility.
On both systems, it says in the properties section:
SUBSYSTEM drm
DEVTYPE drm-minor
Lars Poulsen
(357 rep)
Jun 16, 2025, 11:15 PM
• Last activity: Aug 5, 2025, 08:32 PM
1
votes
0
answers
68
views
Arch Linux - unable to play videos in AOM-AV1 codec
I noticed that VLC could not display the sound of videos that used AOMedia's AV1 codec, or AOM-AV1 in short. When I tried to play videos in that specific codec, I could only hear the sound of the video. This did not occur in other codecs such as H.264 and H.265. I ran video players in terminal, hopi...
I noticed that VLC could not display the sound of videos that used AOMedia's AV1 codec, or AOM-AV1 in short. When I tried to play videos in that specific codec, I could only hear the sound of the video. This did not occur in other codecs such as H.264 and H.265. I ran video players in terminal, hoping to catch error messages.
> vlc aomav1_video.mkv
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000556c0aabd520] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[00007f3038006a50] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007f3038006a50] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
Xlib: extension "DRI2" missing on display ":0".
libva error: vaGetDriverNames() failed with operation failed
[00007f3038006a50] glconv_vaapi_drm gl error: vaInitialize: operation failed
[00007f30450dddc0] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 570.153.02 Tue May 13 16:18:57 UTC 2025 for hardware decoding
[00007f30450dddc0] main decoder error: buffer deadlock prevented
When I tried GNOME Video, also known as totem, it didn't even play the sound.
> totem aomav1_video.mkv
(No terminal output)
GUI - An error occurred: Could not initialise OpenGL support
The videos play just fine on VLC on Windows so the videos aren't corrupted. What packages need to be fixed here?
Hyunbin Yoo
(175 rep)
May 26, 2025, 12:47 PM
1
votes
1
answers
198
views
How to enable H264 for Firefox?
I noticed that AlmaLinux 8.10 lacks the packages `mozilla-openh264` and it's prerequisite `openh264`, and that both are absent from official repositories too. To my knowledge, I need these both in order to be able to play H264 videos on Firefox, like on https://udemy.com. I downloaded the packages f...
I noticed that AlmaLinux 8.10 lacks the packages
mozilla-openh264
and it's prerequisite openh264
, and that both are absent from official repositories too. To my knowledge, I need these both in order to be able to play H264 videos on Firefox, like on https://udemy.com .
I downloaded the packages from these URLs:
1. https://rhel.pkgs.org/8/raven-multimedia-x86_64/openh264-2.4.1-2.el8.x86_64.rpm.html
2. https://rhel.pkgs.org/8/raven-multimedia-x86_64/mozilla-openh264-2.4.1-2.el8.x86_64.rpm.html
Then installed them with:
sudo rpm -i .rpm
I also activated the H264 plugin on about:addons
.
But still, about:support
points H264 as not supported.
What am I missing?
BsAxUbx5KoQDEpCAqSffwGy554PSah
(203 rep)
Apr 4, 2025, 02:01 PM
• Last activity: Apr 4, 2025, 05:24 PM
0
votes
0
answers
272
views
How to install popular media codecs in Fedora 40?
I am using Fedora 40 with Gnome. I am somehow able to play mkv video files with vlc after installing its plugins but I want to install codecs in the system so that I could play videos with any player like Gnome videos or Haruna. Tried rpmfusion and many other but idk if I missed something there, not...
I am using Fedora 40 with Gnome. I am somehow able to play mkv video files with vlc after installing its plugins but I want to install codecs in the system so that I could play videos with any player like Gnome videos or Haruna.
Tried rpmfusion and many other but idk if I missed something there, nothing worked. Can anyone guide me to get things working?

xandemon
(1 rep)
Oct 5, 2024, 09:01 AM
• Last activity: Oct 5, 2024, 12:47 PM
0
votes
0
answers
836
views
Support for h264 codec, Open Suse
14:37 boffi@localhost:~ $ mpv Inaugurazione\ Cortile.mp4 (+) Video --vid=1 (*) (h264 1920x1080 30.000fps) (+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz) [ffmpeg/video] libopenh264: libopenh264.so.7: cannot open shared object file: No such file or directory: libopenh264.so.7 is missing, openh264...
14:37 boffi@localhost:~ $ mpv Inaugurazione\ Cortile.mp4
(+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[ffmpeg/video] libopenh264: libopenh264.so.7: cannot open shared object file: No such file or directory: libopenh264.so.7 is missing, openh264 support will be disabled
Could not open codec.
Decoder init failed for libopenh264
Failed to initialize a decoder for codec 'h264'.
Video: no video
Exiting... (Errors when loading file)
My guess, I need to install something, my questions:
- is h264 supported in Suse Tumbleweed?
- what package(s) need I to install to support h264?
PS,
zypper search openh264
gives "No matching items found."
gboffi
(1376 rep)
Sep 13, 2023, 12:42 PM
1
votes
2
answers
1004
views
How to convert WMA to VORBIS or OPUS?
My girlfriend accidently bought an audio book on the internet and she saved it on my hard disk in windows media audio format (`.wma`) and now she asks me how to listen to it. I'm a bit puzzled this format still survived. I'm on ArchLinux, kernel `4.2.1-1-ARCH`. My first idea was simply trying to rea...
My girlfriend accidently bought an audio book on the internet and she saved it on my hard disk in windows media audio format (
.wma
) and now she asks me how to listen to it. I'm a bit puzzled this format still survived.
I'm on ArchLinux, kernel 4.2.1-1-ARCH
. My first idea was simply trying to read it with VLC as it usually is a general problem solver for audio files and comes with a couple of codecs. But it didn't work.
Second idea was converting, I usually use Audacity for quick format swaps, but after several attempts of exporting to ogg/vorbis
or ogg/opus
I noticed Audacity already failed to read the proprietary file format.
I looked up the codecs section on arch wiki but it does not contain any hints for WMA. How to proceed?
How to convert audio/x-ms-wma
to audio/ogg
, audio/vorbis
, or audio/opus
format?
q9f
(2418 rep)
Sep 30, 2015, 04:34 PM
• Last activity: Aug 8, 2023, 09:35 AM
1
votes
1
answers
1001
views
How do I resolve this GStreamer codec update fault?
I recently installed KUbuntu on a Lenovo Ideapad laptop. It's functioning fine aside from a problem that came up with a recent update—after updating all packages, three remained: GStreamer Multimedia Codecs libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 With the message that: Package f...
I recently installed KUbuntu on a Lenovo Ideapad laptop. It's functioning fine aside from a problem that came up with a recent update—after updating all packages, three remained:
GStreamer Multimedia Codecs
libgstreamer-plugins-bad1.0-0
libgstreamer-plugins-base1.0-0
With the message that:
Package failed to install:
Error while installing package: trying to overwrite '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcamerabin.so', which is also in package gstreamer1.0-plugins-good
This is very strange. The only things I've added on to the system have been Krita, Blender (as a direct download, nothing fidgety), and OpenToonz through Snap.
Attempting
sudo apt upgrade
from the terminal gives me this output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gstreamer1.0-libav : Depends: libgstreamer-plugins-base1.0-0 (>= 1.22.3) but 1.22.1-1ubuntu1 is installed
gstreamer1.0-plugins-base : Depends: libgstreamer-plugins-base1.0-0 (>= 1.22.3) but 1.22.1-1ubuntu1 is installed
Breaks: gstreamer1.0-plugins-bad (= 1.22.3) but 1.22.1-1ubuntu1 is installed
gstreamer1.0-x : Depends: libgstreamer-plugins-base1.0-0 (>= 1.22.3) but 1.22.1-1ubuntu1 is installed
libgstreamer-gl1.0-0 : Depends: libgstreamer-plugins-base1.0-0 (>= 1.22.3) but 1.22.1-1ubuntu1 is installed
Breaks: libgstreamer-plugins-bad1.0-0 (< 1:1.16.0) but 1.22.1-1ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
If I go ahead and use apt --fix-broken install
, the problem persists, and no changes are made:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libbdplus0 libdca0 libdirectfb-1.7-7 libfaad2 liblrdf0 libmjpegutils-2.1-0 libmpeg2-4 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libneon27 libopenni2-0 libpocketsphinx3 libsidplay1v5 libsphinxbase3 libssh-gcrypt-4 libvidstab1.1
linux-headers-6.2.0-20 linux-headers-6.2.0-20-generic linux-image-6.2.0-20-generic linux-modules-6.2.0-20-generic linux-modules-extra-6.2.0-20-generic pocketsphinx-en-us
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gstreamer1.0-plugins-bad libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0
Suggested packages:
frei0r-plugins libvisual-0.4-plugins
The following packages will be upgraded:
gstreamer1.0-plugins-bad libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
148 not fully installed or removed.
Need to get 0 B/4,619 kB of archives.
After this operation, 700 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 261983 files and directories currently installed.)
Preparing to unpack .../gstreamer1.0-plugins-bad_1%3a1.22.3-dmo1+deb12u1_amd64.deb ...
Unpacking gstreamer1.0-plugins-bad:amd64 (1:1.22.3-dmo1+deb12u1) over (1.22.1-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/gstreamer1.0-plugins-bad_1%3a1.22.3-dmo1+deb12u1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcamerabin.so', which is also in package gstreamer1.0-plugins-good:amd64 1.22.1-1ubuntu1
Preparing to unpack .../libgstreamer-plugins-bad1.0-0_1%3a1.22.3-dmo1+deb12u1_amd64.deb ...
Unpacking libgstreamer-plugins-bad1.0-0:amd64 (1:1.22.3-dmo1+deb12u1) over (1.22.1-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libgstreamer-plugins-bad1.0-0_1%3a1.22.3-dmo1+deb12u1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libgstbasecamerabinsrc-1.0.so.0', which is also in package libgstreamer-plugins-good1.0-0:amd64 1.22.1-1ubuntu1
dpkg: regarding .../libgstreamer-plugins-base1.0-0_1.22.3-dmo1+deb12u2_amd64.deb containing libgstreamer-plugins-base1.0-0:amd64:
libgstreamer-plugins-base1.0-0:amd64 conflicts with libgstreamer-plugins-bad1.0-0 (<< 1:1.16.0)
libgstreamer-plugins-bad1.0-0:amd64 (version 1.22.1-1ubuntu1) is present and installed.
dpkg: error processing archive /var/cache/apt/archives/libgstreamer-plugins-base1.0-0_1.22.3-dmo1+deb12u2_amd64.deb (--unpack):
conflicting packages - not installing libgstreamer-plugins-base1.0-0:amd64
Errors were encountered while processing:
/var/cache/apt/archives/gstreamer1.0-plugins-bad_1%3a1.22.3-dmo1+deb12u1_amd64.deb
/var/cache/apt/archives/libgstreamer-plugins-bad1.0-0_1%3a1.22.3-dmo1+deb12u1_amd64.deb
/var/cache/apt/archives/libgstreamer-plugins-base1.0-0_1.22.3-dmo1+deb12u2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm very hesitant to an autoremove with a broken package, and have held off on that. The bigger problem is that I can't seem to install anything, or remove anything, with this broken package issue.
I would be all for simply removing and—strictly if necessary—reinstalling whatever uses GStreamer from a stable system, but apparently I can't even do that.
Can someone kindly help me correct this strange dependency issue?
Michael Macha
(323 rep)
Jul 15, 2023, 09:38 PM
• Last activity: Jul 26, 2023, 04:37 PM
6
votes
8
answers
21571
views
H.264 support for Opera and openSUSE
I am using openSUSE Leap 42.2 and Opera 46.0.2597.57. Some videos on the internet (maybe the half on YouTube) do not work on Opera. YouTube tells me that I cannot watch the video and suggests me visiting [https://www.youtube.com/html5][1]. *H.264* and *MSE & H.264* are not supported by my browser as...
I am using openSUSE Leap 42.2 and Opera 46.0.2597.57.
Some videos on the internet (maybe the half on YouTube) do not work on Opera.
YouTube tells me that I cannot watch the video and suggests me visiting https://www.youtube.com/html5 .
*H.264* and *MSE & H.264* are not supported by my browser as the page mentions, although Opera is listed as suported.
I did some research and installed the following packages (which were not the sollution):
- chromium-ffmpeg-extra
- chromium-ffmpeg-extra-debuginfo
- chromium-ffmpegsumo
Maybe I need to mention that Firefox works pretty fine with YouTube and other videos that do not work on Opera.
Thanks a lot for your help.
PS:
If this issue is fixed with openSUSE Leap 42.3 this would be an option for me, but I still hadn't enough time for an update.
Mique
(116 rep)
Aug 4, 2017, 08:01 PM
• Last activity: Jun 7, 2023, 11:08 AM
15
votes
2
answers
25756
views
"H.264 (High Profile) decoder is required to play the file"
I'm trying to play videos I recorded from my mobile phone (the stock video / photo app on a Samsung Galaxy On7). When I click them I get the following error message from Totem on Fedora 28: .
When I click them I get the following error message from Totem on Fedora 28:

> H.264 (High Profile) decoder is required to play the file, but is not installed
Clicking "Find in programs" doesn't find an appropriate codec.
---
The
file
tool labels them as "ISO Media, MP4 v2 [ISO 14496-14]".
---
This is the error log when I run Totem from the CLI:
> ** Message: 12:57:35.979: Missing plugin: gstreamer|1.0|totem|H.264 (High Profile) decoder|decoder-video/x-h264, level=(string)4, profile=(string)high, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8 (H.264 (High Profile) decoder)
That Brazilian Guy
(4603 rep)
Sep 4, 2018, 04:11 PM
• Last activity: May 30, 2023, 07:42 PM
0
votes
1
answers
3707
views
How do transform mp4 videos so that they can be read by Davinci Resolve on Linux?
Resolve is a commercial video editor with a free version that can be run on linux. On the linux version, some videos in mp4 format will have no video content when they are imported. This is apparently because the AAC codec is not supported by the free version Resolve on linux. Apparently these video...
Resolve is a commercial video editor with a free version that can be run on linux.
On the linux version, some videos in mp4 format will have no video content when they are imported. This is apparently because the AAC codec is not supported by the free version Resolve on linux.
Apparently these videos can be transformed before being imported into Resolve, so that AAC support isn't required. Apparently ffmpeg is the correct tool for this job.
If I simply copy ffmpeg commands that I find on the web, I get errors that I do not understand. At present I'm trying this command:
> ffmpeg -i video-to-transform.mp4 -c:v prores_ks -profile:v 3 -vendor
> apl0 -bits_per_mb 8000 -pix_fmt yuv422p10le
> outout.mp4
... I get the following error:
> [mp4 @ 0x56120e725340] Could not find tag for codec prores in stream
> #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
> Error initializing output stream 0:0 --
How can I make my mp4's editable in Resolve?
bob.dobbs
(103 rep)
Nov 2, 2022, 08:23 AM
• Last activity: Feb 18, 2023, 12:23 PM
0
votes
1
answers
543
views
Unable to play "mp4" video downloaded from security camera NVR
I have a HeimVision security system and I tried downloading videos into my debian system for analysis. Edit: I uploaded the [file](https://paste.c-net.org/AwardsWhips) online: I tried playing this with VLC, but no video is displayed, only the VLC logo: [![VLC player][1]][1] Looking at the logs, I se...
I have a HeimVision security system and I tried downloading videos into my debian system for analysis.
Edit: I uploaded the [file](https://paste.c-net.org/AwardsWhips) online:
I tried playing this with VLC, but no video is displayed, only the VLC logo:
Looking at the logs, I see the following warnings/errors:
█[debianx1e][crime]$ vlc download\ \(9\).mp4
VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72)
[000055d31a8c4570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fedc4c1a710] main decoder error: buffer deadlock prevented
[00007fedc4c04f60] ts demux error: libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 1) for PID 0
[hevc @ 0x7fedbc008000] Invalid NAL unit 4, skipping.
[00007fedd4015e30] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[00007fedd4170610] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[00007fedd4170610] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[hevc @ 0x7fedbc008000] get_buffer() failed
[hevc @ 0x7fedbc008000] thread_get_buffer() failed
[hevc @ 0x7fedbc0221c0] Invalid NAL unit 4, skipping.
[00007fede0c02560] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[hevc @ 0x7fedbc0221c0] get_buffer() failed
[hevc @ 0x7fedbc0221c0] thread_get_buffer() failed
[hevc @ 0x7fedbc03dd00] Invalid NAL unit 4, skipping.
[00007fedec0038d0] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[hevc @ 0x7fedbc03dd00] get_buffer() failed
[hevc @ 0x7fedbc03dd00] thread_get_buffer() failed
[hevc @ 0x7fedbc04e000] Invalid NAL unit 4, skipping.
[00007fedb8002bc0] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[hevc @ 0x7fedbc04e000] get_buffer() failed
[hevc @ 0x7fedbc04e000] thread_get_buffer() failed
[00007fedc4c1a710] avcodec decoder error: avcodec_send_packet critical error
[hevc @ 0x7fedbc05e4c0] Invalid NAL unit 4, skipping.
[00007fedac003110] main video output error: video output creation failed
[00007fedc4c1a710] main decoder error: failed to create video output
[hevc @ 0x7fedbc05e4c0] get_buffer() failed
[hevc @ 0x7fedbc05e4c0] thread_get_buffer() failed
I tried opening the file with chromium browser but the play button does not appear to be enabled
:
Going back to the VLC logs, I tried googling some of the errors like "Invalid NAL unit 4, skipping.", "libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 1) for PID 0", tried several pointers:
1. VLC.org forum [post](https://forum.videolan.org/viewtopic.php?t=141970) recommends installing libdvdcss2, but on my system:
$ mediainfo "/home/USER/Downloads/crime/download (10).mp4"
General
ID : 1 (0x1)
Complete name : /home/USER/Downloads/crime/download (10).mp4
Format : MPEG-TS
File size : 547 KiB
Duration : 5 min 5 s
Overall bit rate : 9 428 b/s
FileExtension_Invalid : ts m2t m2s m4t m4s tmf ts tp trp ty
Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : 36
Duration : 5 min 11 s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 10.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 8 bits
Color range : Limited
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G
I tried renaming the file extension to


E: Package 'libdvdcss2' has no installation candidate
.
2. Tried converting the video to a different format using ffmpeg, although this command appears to succeed, the resulting mpeg
file is still unplayable. The command generates many of the same warnings as when reproducing with VLC:
█[my-hostname][crime]$ ffmpeg -i 'download (9).mp4' -c copy -an 'copy-9.mpeg'
ffmpeg version 4.1.9-0+deb10u1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --prefix=/usr --extra-version=0+deb10u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
[hevc @ 0x55bae12878c0] Invalid NAL unit 4, skipping.
Last message repeated 1 times
[AVBSFContext @ 0x55bae128a740] Invalid NAL unit 4, skipping.
Last message repeated 1 times
[hevc @ 0x55bae12878c0] Invalid NAL unit 4, skipping.
Last message repeated 73 times
[mpegts @ 0x55bae1282840] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x55bae1282840] Could not find codec parameters for stream 1 (Audio: aac ( / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '/home/USER/Downloads/crime/download (9).mp4':
Duration: 00:00:50.72, start: 0.000000, bitrate: 44 kb/s
Program 1
Stream #0:0[0x100]: Video: hevc (Main) ( / 0x0024), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], 10 fps, 100 tbr, 90k tbn, 10 tbc
Stream #0:1[0x101]: Audio: aac ( / 0x000F), 0 channels
File '/home/USER/Downloads/crime/copy-9.mpeg' already exists. Overwrite ? [y/N] y
[mpeg @ 0x55bae12bcac0] VBV buffer size not set, using default size of 230KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, mpeg, to '/home/USER/Downloads/crime/copy-9.mpeg':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: hevc (Main) ( / 0x0024), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 10 fps, 100 tbr, 90k tbn, 10 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0x55bae12878c0] Invalid NAL unit 4, skipping.
Last message repeated 512 times
[NULL @ 0x55bae12878c0] Invalid NAL unit 5, skipping.
frame= 512 fps=0.0 q=-1.0 Lsize= 216kB time=00:00:50.61 bitrate= 35.0kbits/s speed=3.56e+03x
video:214kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.990804%
[my-hostname][crime]$
Looking at the output of mediainfo
, the file appears to be a MPEG-TS
file:
█[my-hostname][crime]
ts
or mp4
without any luck.
How can I play this mp4 file on linux?
ealfonso
(993 rep)
Oct 23, 2022, 10:20 PM
• Last activity: Oct 24, 2022, 07:43 AM
1
votes
0
answers
315
views
What are the advantages of using an audio codec with mainline Linux support?
I am a hardware designer who is working on a custom processor circuit board with audio support. Our intention is to have the processor running some flavor of Linux and interface with the audio chip over PDM/I2S. One of my considerations in selecting an audio chip is minimizing headaches for our soft...
I am a hardware designer who is working on a custom processor circuit board with audio support. Our intention is to have the processor running some flavor of Linux and interface with the audio chip over PDM/I2S. One of my considerations in selecting an audio chip is minimizing headaches for our software team. I would like to pick something that simplifies the driver development process, if possible.
In my research, I came across this Texas Instruments Linux driver page that explains that they have a driver "available in the Linux mainline". My gut sense is that having mainline Linux support sounds like an advantage, but I don't understand it enough to explain what the advantage is, or have a sense of how much effort it will save.
I also came across linux/sound/soc/codecs in the Linux kernel Github page. Is this the list of audio chips that are "available in the Linux mainline"? Can I pick any of the chips listed here and assume that it will make the software team's life easier? Will they be able to simply enable the driver in the kernel, and the OS will recognize the audio chip automatically?
What exactly does it mean to have a driver in the Linux mainline? How do I know what chips have mainline drivers, and how much of an advantage is it to use them?
Chris Fernandez
(141 rep)
May 17, 2022, 09:33 PM
1
votes
0
answers
37
views
two modules for WM8962
As can be seen on https://www.kernelconfig.io/search?q=wm8962&kernelversion=4.19.165&arch=arm64 there are seemingly two different kernel modules for the audio codec WM8962 and they have entirely different dependencies as well. Is there a good way to determine which one should be utilized? I understa...
As can be seen on https://www.kernelconfig.io/search?q=wm8962&kernelversion=4.19.165&arch=arm64 there are seemingly two different kernel modules for the audio codec WM8962 and they have entirely different dependencies as well. Is there a good way to determine which one should be utilized? I understand that one of them is for i.MX boards but what exactly is the difference? Does one need to dive into the code to find out about the variations?
stdcerr
(2099 rep)
May 13, 2022, 10:21 PM
1
votes
1
answers
1215
views
Recursive (batch) video codec details with MediaInfo CLI
I want to share my script to do this with Media Info CLI and python. At first I tried with pure bash but should have just gone python at first, much quicker and adaptable (for me). My task was to recursively go through all files in a specified folder (in this case on a NAS), and print as well as sto...
I want to share my script to do this with Media Info CLI and python. At first I tried with pure bash but should have just gone python at first, much quicker and adaptable (for me).
My task was to recursively go through all files in a specified folder (in this case on a NAS), and print as well as store in a txt file all the video codec and profile level used in each.
The reason be I found some older Samsung TV wont play H264 with profile level greater than 4.1 , so some re-encoding was in order, also the latest Samsung TV have dropped support for xvid/divx.
Hayden Thring
(272 rep)
Oct 20, 2021, 05:36 AM
• Last activity: Dec 13, 2021, 09:18 AM
0
votes
0
answers
126
views
openshot and ffmpeg get confused with an mts file with multiple audio
I used to cut recordings from my satelite receiver (mts files with one video and multiple audio streams) with `openshot`, but I have a problem since upgrading from good old debian jessie to buster: - Converting the `mts` video and ac3 stream gives me a video with silent audio stream with only rare r...
I used to cut recordings from my satelite receiver (mts files with one video and multiple audio streams) with
openshot
, but I have a problem since upgrading from good old debian jessie to buster:
- Converting the mts
video and ac3 stream gives me a video with silent audio stream with only rare random noise
- Using the mp2
audio stream of the mts
instead works as expected
- Playing the mts
video in openshot
(which seems to use ffmpeg
internally) gives wild noise with almost no relation to the correct audio stream
- I can isolate the video and ac3 stream with ffmpeg -map 0:0 -map 0:4 -c copy
to another mts file, which I can open in openshot
and hear the correct audio, unfortunally with a one-second-lag between video and audio
- vlc
can play all audio streams of the video without problems
- The output doesn't show any obvious errors or warnings
The configuration is unmodified buster configuration:
ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
How to find out what goes wrong?
Philippos
(13680 rep)
Jul 4, 2021, 11:57 AM
• Last activity: Jul 17, 2021, 07:10 PM
2
votes
2
answers
3555
views
Codec Issue with OpenSuse (Tumbleweed)
I just installed OpenSuse for the first time in my life. I am trying to run some videos on it. But VLC throws an error VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10)) I tried searching for some solutions but could not find any concrete solutions for it. I tried making an account...
I just installed OpenSuse for the first time in my life. I am trying to run some videos on it. But VLC throws an error
VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))
I tried searching for some solutions but could not find any concrete solutions for it. I tried making an account on the Suse forums, but somehow cant get my new account to work. So I am asking it here. I have all the codec packs installed I think.
hell_storm2004
(123 rep)
Oct 19, 2020, 05:34 PM
• Last activity: Jun 14, 2021, 12:23 PM
2
votes
0
answers
202
views
Netflix and Linux and VM
I heard that Netflix needs PlayReady 3.0, Widevine, HEVC 10 bits de/encoder, HDCP 2.2... to play 4K/UHD contents So I want to know if Linux support these technologies, and if Netflix support those Linux frameworks I want to know too, if Linux can't, if a VM with W10 can support as is those technolog...
I heard that Netflix needs PlayReady 3.0, Widevine, HEVC 10 bits de/encoder, HDCP 2.2... to play 4K/UHD contents
So I want to know if Linux support these technologies, and if Netflix support those Linux frameworks
I want to know too, if Linux can't, if a VM with W10 can support as is those technologies so Netflix can play 4K medias, or if it can with some pass-through
I know this question doesn't belong completely here but idk where it can belongs otherwise, considering that Netflix support place is the last place to ask that, considering that they don't want to hear about any non official method (and this is normal for a dev. to work hard and clean on supported method but not on unofficial ones). If you know better place doesn't hesitate to tell me
aaa
(177 rep)
May 9, 2021, 05:07 PM
1
votes
0
answers
344
views
How to convert/understand video files with ffmpeg
# background I have a bunch of video files that I would like to play on my roku through it's "Roku Media Player." However many of them simply do not appear in the list of available videos on my roku which would suggest they are not in the correct format. According to roku it supports the following f...
# background
I have a bunch of video files that I would like to play on my roku through it's "Roku Media Player." However many of them simply do not appear in the list of available videos on my roku which would suggest they are not in the correct format. According to roku it supports the following formats:
> The following file formats are supported:
> - Video – H.264/AVC (.MKV, .MP4, .MOV)
> - Audio – AAC (.MKV, .MP4, .MOV); MP3(.MP3, .MKV); WMA (.ASF, .WMA, .MKV), FLAC (.FLAC, .MKV), PCM (.WAV, .MKV, .MP4, .MOV), AC3/EAC3 (.MKV,.MP4. .MOV, .AC3), DTS (.MKV, .MP4, .MOV,.DTS), ALAC (.MKV, .MP4, .MOV, .M4A), Vorbis (.OGG,.MKV,.WEBM)
> - Playlists –.M3U, .M3U8, .PLS
> - Image – JPG, PNG, GIF (non-animated)
> The following media formats are supported on Roku devices that support 4K
> - 4K Video – H.265/HEVC (.MKV, .MP4, .MOV); VP9 (.MKV, .WEBM)
> - 4K Video – H.264 (Roku Premiere, Premiere+, and Ultra only)
> The following media formats are supported on Roku TVs and some Roku players
> - Video – H.262 (.MKV)
# issue
Many, if not all, of the videos are using H.264 AVC1 as far as I can tell, this includes both the working and non working videos. Video and audio codec information seems mostly Greek to me so I'm not entirely sure what I'm looking at but below is a sample of both a working video and a non working video:
## working
$ ffprobe 21\ Jump\ Street.mp4
ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '21 Jump Street.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2012-06-09T07:12:42.000000Z
Duration: 01:49:37.66, start: 0.000000, bitrate: 1956 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x816 [SAR 1:1 DAR 40:17], 1859 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc (default)
Metadata:
creation_time : 2012-06-09T07:12:42.000000Z
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 93 kb/s (default)
Metadata:
creation_time : 2012-06-09T07:20:20.000000Z
handler_name : GPAC ISO Audio Handler
## non working
$ ffprobe Over\ the\ Hedge.mp4
ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Over the Hedge.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2013-09-23T12:11:59.000000Z
Duration: 01:19:46.62, start: 0.000000, bitrate: 1140 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1012 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2013-09-23T11:35:14.000000Z
encoder : JVT/AVC Coding
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2013-09-23T01:31:19.000000Z
handler_name : Sound Media Handler
----------
# troubleshooting
I have found a few forum posts of people having the same or similar issues with their roku and many are unsolved. Others have suggested converting from mp4 to mkv, or vice versa, or from one to the other and then back. I have tried this without any luck.
Another post (which I can't seem to find now) I found suggested it may have something to do with the metadata such as cover art not being supported but I'm not even sure how to see that information and as far as I can tell it doesn't exist on at least the above example.
# question
What ffmpeg command can I use to make the non working file more similar to the working file in hopes that it will be supported by my roku?
jesse_b
(41447 rep)
Dec 26, 2020, 12:20 PM
• Last activity: Dec 27, 2020, 04:09 AM
0
votes
2
answers
844
views
Why does Linux use non-free codecs and why are codecs needed at all?
Say a song is recorded somewhere on the planet with a computer, and that stream of data is stored. If this is stored using [Audacity][1], you can set it to `.aup` format, which is a very simple XML file. Why do we need anything else than a few data points in a file? Why would we use `.mp3` or anythi...
Say a song is recorded somewhere on the planet with a computer, and that stream of data is stored.
If this is stored using Audacity , you can set it to
.aup
format, which is a very simple XML file.
Why do we need anything else than a few data points in a file? Why would we use .mp3
or anything? In fact, encoding this increases the size for a few local samples.
I think the issue could be size for images for example, but I can't say that for audio files.
user390930
Nov 29, 2020, 02:02 PM
• Last activity: Dec 9, 2020, 02:53 AM
1
votes
0
answers
99
views
H265 - a codec only for powerfull computers?
I have converted a video of mine with ffmpeg into H265 codec. Great: Much smaller at the same quality. But then I noticed the video is blocky. I thought there was an error during re-coding. But no: I noticed that it gets blocky if I run other programs than VLC. I looked at how much of the CPU is req...
I have converted a video of mine with ffmpeg into H265 codec. Great: Much smaller at the same quality. But then I noticed the video is blocky. I thought there was an error during re-coding. But no: I noticed that it gets blocky if I run other programs than VLC. I looked at how much of the CPU is required: 16% with the old codec, 60% with H265. So: Is H265 too demanding for me, since my computer (from 2013) is too weak?
Make42
(739 rep)
Nov 13, 2020, 07:32 PM
Showing page 1 of 20 total questions