Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
80 views
How to fix Error building the cache: multimedia-libs.repo
Trying to install playwright with `npx playwright install` i got the error ```bash Host system is missing dependencies to run browsers. Missing libraries: libicudata.so.66 libicui18n.so.66 libicuuc.so.66 libwoff2dec.so.1.0.2 libwebp.so.6 libenchant-2.so.2 libffi.so.7 libx264.so ``` So tried ```bash...
Trying to install playwright with npx playwright install i got the error
Host system is missing dependencies to run browsers. 
 Missing libraries: 

 libicudata.so.66
 libicui18n.so.66
 libicuuc.so.66  
 libwoff2dec.so.1.0.2
 libwebp.so.6        
 libenchant-2.so.2   
 libffi.so.7         
 libx264.so
So tried
sudo zypper install -y \
     libicudata.so.66 \ 
     libicui18n.so.66 \ 
     libicuuc.so.66 \ 
     libwoff2dec.so.1.0.2 \
     libwebp.so.6 \ 
     libenchant-2.so.2 \
     libffi.so.7 \ 
     libx264.so
But this returned
Refreshing service 'openSUSE'.
Error building the cache:
[multimedia-libs.repo|https://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.3/]  Failed to retrieve new repository metadata.
History:
 - [multimedia-libs.repo|https://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.3/]  Repository type can't be determined.
Warning: Skipping repository 'multimedia-libs.repo' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
' ' not found in package names. Trying capabilities.
No provider of ' ' found.
'libicudata.so.66' not found in package names. Trying capabilities.
No provider of 'libicudata.so.66' found.
How to fix this so that zypper finds the matching multimedia-libs.repo? ### OS Version - cat /etc/os-release Versioninfo
cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20250225"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20250225"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
# CPE 2.3 format, boo#1217921
CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20250225:*:*:*:*:*:*:*"
#CPE 2.2 format
#CPE_NAME="cpe:/o:opensuse:tumbleweed:20250225"
BUG_REPORT_URL="https://bugzilla.opensuse.org "
SUPPORT_URL="https://bugs.opensuse.org "
HOME_URL="https://www.opensuse.org "
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed "
LOGO="distributor-logo-Tumbleweed"
Update It seems the dependencies are needed for webkit (safari)
surfmuggle (103 rep)
Mar 2, 2025, 12:36 PM • Last activity: May 23, 2025, 11:11 AM
0 votes
0 answers
67 views
Volume keys on Asus T100 with Spiral XFCE ubuntu
I've just recycled and old Asus T100 transformer by installing a Spiral XFCE linux distro. The goal is to use it for videos. It works mostly fine, but I still have trouble for volume setting : The volume keys on the tablet do not work at all (even though it seems to have been working out of the box...
I've just recycled and old Asus T100 transformer by installing a Spiral XFCE linux distro. The goal is to use it for videos. It works mostly fine, but I still have trouble for volume setting : The volume keys on the tablet do not work at all (even though it seems to have been working out of the box for some people cf http://www.jfwhome.com/2016/01/04/latest-steps-to-install-ubuntu-on-the-asus-t100ta/ ) If anybody has any idea how to fix this, it would be great ! If there is no solution to that, a way to have the keyboard volume keys work without having to press the "fn" key would be great too. I found a few ways to tweak the setting, mostly related to fnlock_default in /sys/module/asus_wmi/parameters (cf https://forums.linuxmint.com/viewtopic.php?p=2247849#p2247849 ) but none of them seems to be working. Any idea ?
mlarcher (101 rep)
Mar 31, 2025, 08:56 AM • Last activity: Mar 31, 2025, 08:57 AM
1 votes
0 answers
49 views
How can I get information which interface is used to connect a monitor?
I've got a task to write a script that displays information about which monitors are connected and which interface is used for it. The result of a script execution should look something like this: ``` ASUS VA24EHF HDMI ASUS VA24EHF DisplayPort Built-in monitor eDP ``` The main problem is that `xrand...
I've got a task to write a script that displays information about which monitors are connected and which interface is used for it. The result of a script execution should look something like this:
ASUS VA24EHF                HDMI
ASUS VA24EHF                DisplayPort
Built-in monitor            eDP
The main problem is that xrandr contains information about interface but there's no information about physical device (can't understand which monitor is used here). Utils like hwinfo provide exact information about device but doesn't have one about interface it is connected via.
shell
$ xrandr | grep connected
eDP-1 connected 1368x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

$ hwinfo --monitor
34: None 00.0: 10002 LCD Monitor                                
  [Created at monitor.125]
  Unique ID: rdCR.BJ+fX804+aD
  Parent ID: _Znp.DoEy7b1LcY9
  Hardware Class: monitor
  Model: "VA24EHF"
  Vendor: AUS 
  Device: eisa 0x2445 "VA24EHF"
  Serial ID: "R6LMTF187096"
  Resolution: 720x400@70Hz
  Resolution: 640x480@60Hz
  Resolution: 640x480@67Hz
  Resolution: 640x480@72Hz
  Resolution: 640x480@75Hz
  Resolution: 800x600@56Hz
  Resolution: 800x600@60Hz
  Resolution: 800x600@72Hz
  Resolution: 800x600@75Hz
  Resolution: 832x624@75Hz
  Resolution: 1024x768@60Hz
  Resolution: 1024x768@70Hz
  Resolution: 1024x768@75Hz
  Resolution: 1280x1024@75Hz
  Resolution: 1280x720@60Hz
  Resolution: 1280x960@60Hz
  Resolution: 1280x1024@60Hz
  Resolution: 1920x1080@60Hz
  Size: 527x296 mm
  Year of Manufacture: 2022
  Week of Manufacture: 51
  Detailed Timings #0:
     Resolution: 1920x1080
     Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync
       Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync
    Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz
  Driver Info #0:
    Max. Resolution: 1920x1080
    Vert. Sync Range: 48-100 Hz
    Hor. Sync Range: 30-120 kHz
    Bandwidth: 148 MHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #28 (VGA compatible controller)

35: None 01.0: 10002 LCD Monitor
  [Created at monitor.125]
  Unique ID: wkFv.BKbJi+0HUrB
  Parent ID: _Znp.DoEy7b1LcY9
  Hardware Class: monitor
  Model: "BOE CQ LCD Monitor"
  Vendor: BOE "BOE CQ"
  Device: eisa 0x0747 
  Resolution: 1920x1080@60Hz
  Size: 344x194 mm
  Year of Manufacture: 2017
  Week of Manufacture: 18
  Detailed Timings #0:
     Resolution: 1920x1080
     Horizontal: 1920 1968 2000 2190 (+48 +80 +270) -hsync
       Vertical: 1080 1083 1089 1120 (+3 +9 +40) +vsync
    Frequencies: 117.73 MHz, 53.76 kHz, 48.00 Hz
  Year of Manufacture: 2017
  Week of Manufacture: 18
  Detailed Timings #1:
     Resolution: 1920x1080
     Horizontal: 1920 1968 2000 2230 (+48 +80 +310) -hsync
       Vertical: 1080 1083 1089 1140 (+3 +9 +60) +vsync
    Frequencies: 152.60 MHz, 68.43 kHz, 60.03 Hz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #28 (VGA compatible controller)
Could you please explain how can I get exact information which interface some physical device (monitor) are connected via?
nst1911 (93 rep)
Jul 26, 2024, 12:16 PM
0 votes
2 answers
452 views
Can I play a playlist of rear and front dashcam videos in MPV?
I'm trying to play both front and rear footage from my dashcam at the same time as a playlist in `mpv`. Front and rear video files are in `F` and `R` directories. I can easily add all files from e.g. `F` directory to the playlist: mpv F/* I can also run a picture-in-picture overlay for a single pair...
I'm trying to play both front and rear footage from my dashcam at the same time as a playlist in mpv. Front and rear video files are in F and R directories. I can easily add all files from e.g. F directory to the playlist: mpv F/* I can also run a picture-in-picture overlay for a single pair of front/rear footage: mpv $front_video --external-file=$rear_video --lavfi-complex='[vid2] scale=640x360 [small]; [vid1] [small] overlay [vo]' I'm having trouble combining both, i.e. I want a playlist of picture-in-picture overlays. The issue is I always get the rear view from the first video: mpv \ REC_200607-175943F.MOV --external-file=../R/REC_200607-175943R.MOV --lavfi-complex='[vid2] scale=640x360 [small]; [vid1] [small] overlay [vo]' \ GSR_200607-180444F.MOV --external-file=../R/GSR_200607-180444R.MOV --lavfi-complex='[vid2] scale=640x360 [small]; [vid1] [small] overlay [vo]' \ GSR_200607-180943F.MOV --external-file=../R/GSR_200607-180943R.MOV --lavfi-complex='[vid2] scale=640x360 [small]; [vid1] [small] overlay [vo]' 1st overlay, all fine: enter image description here 2nd overlay, plays rear view from the 1st one: enter image description here For now I'm using a script that runs mpv for the next pair of videos as soon as the first one quits so I can watch all of them from start to finish but I miss the features like jumping to previous/next video, checking where in the playlist I am, setting a playback speed, volume, contrast, etc. Also, it's cumbersome to stop in the middle of playback because quitting one mpv instance runs the next one: #!/bin/sh for front in $(ls -tr); do rear=../R/${front/F./R.} mpv $front --external-file=$rear --lavfi-complex='[vid2] scale=640x360 [small]; [vid1] [small] overlay [vo]' done Any suggestions?
cprn (1035 rep)
Jun 8, 2020, 09:07 PM • Last activity: Feb 3, 2024, 04:50 PM
1 votes
0 answers
782 views
How to play media file in embedded Linux with ffplay?
I am currently working on an embedded Linux system (kernel-5.10.24) that includes an LCD and a speaker. At the moment, I am testing the playback of media files using ffmpeg and ffplay, without utilizing SDL. Initially, I attempted the following approach and encountered an error. ``` # ffplay /test.m...
I am currently working on an embedded Linux system (kernel-5.10.24) that includes an LCD and a speaker. At the moment, I am testing the playback of media files using ffmpeg and ffplay, without utilizing SDL. Initially, I attempted the following approach and encountered an error.
# ffplay /test.mp4
ffplay version 4.2.2 Copyright (c) 2003-2019 the FFmpeg testers
  built with gcc 7.2.0 (GNU Linux-Release5.0.0.0-Default(ARMv5))
  configuration: --enable-cross-compile --cross-prefix=/test/armv5/gitdir/linux_gnu_armv5/out/product/fooarmv5.tea5.10-eng/obj/bin/arm-linux-gnu- --sysroot=/test/armv5/gitdir/linux_gnu_armv5/out/product/fooarmv5.tea5.10-eng/obj/host/arm-linux-gnu/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/test/armv5/gitdir/linux_gnu_armv5/out/product/fooarmv5.tea5.10-eng/obj/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --enable-ffplay --enable-avresample --disable-ffprobe --disable-libxcb --disable-postproc --enable-swscale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --enable-lzo --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --enable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --disable-iconv --enable-libfreetype --disable-fontconfig --disable-libopenjpeg --disable-libx264 --disable-libx265 --disable-libdav1d --disable-libvo_amrwbenc --disable-libopencore-amrwb --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=armv5
  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
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)
And I got the same error when run ffplay /test.mp4. But I can play the video with ffmpeg -re -i /test.mp4 -c:v rawvideo -pix_fmt bgra -f fbdev /dev/fb0. There is NO libSDL or X in this embedded system. So how can I play the MP4 with ffplay ? Even more, how to play the MP3 file with ffplay in the system ? #### Tried with mpv.
# mpv -vo help
Available video outputs:
  libmpv           render API for libmpv
  gpu              Shader-based GPU Renderer
  null             Null video output
  image            Write video frames to image files
  tct              true-color terminals
  drm              Direct Rendering Manager

Segmentation fault
Then tried to play mp4.
# mpv ./Quad_split.mp4
Compiled without libass.
There will be no OSD and no text subtitles.
Playing: ./test.mp4
 (+) Video --vid=1 (*) (h264 852x480 29.895fps)
Error opening/initializing the selected video_out (--vo) device.
Video: no video
No video or audio streams selected.


Exiting... (Errors when loading file)
Segmentation fault
I did NOT find /dev/fb, so I tried followings,
# mpv --vo image /root/test.mp4
Compiled without libass.
There will be no OSD and no text subtitles.
Playing: /root/test.mp4
 (+) Video --vid=1 (*) (h264 852x480 29.895fps)
VO: [image] 852x480 yuv420p
[vo/image] Saving 00000001.jpg
V: 00:00:00 / 00:00:09 (0%)
[vo/image] Saving 00000002.jpg
V: 00:00:00 / 00:00:09 (1%)
[vo/image] Saving 00000003.jpg
V: 00:00:00 / 00:00:09 (1%)
[vo/image] Saving 00000004.jpg
V: 00:00:00 / 00:00:09 (1%)
[vo/image] Saving 00000005.jpg
V: 00:00:00 / 00:00:09 (2%)
[vo/image] Saving 00000006.jpg
V: 00:00:00 / 00:00:09 (2%)
[vo/image] Saving 00000007.jpg
V: 00:00:00 / 00:00:09 (2%)
[vo/image] Saving 00000008.jpg
There are lots of JPG files generated in the current directory, which showed the mpv can work to some extent. So how to make mpv to work in this embedded system (without X and VT)? Does it need to do some coding with libmpv to play the video on /dev/fb?
wangt13 (631 rep)
May 30, 2023, 09:51 AM • Last activity: May 30, 2023, 11:47 PM
15 votes
2 answers
25757 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: ![H.264 (High Profile) decoder is required to play the file, but is not installed](https://i.sstatic.net/AKhs6...
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: ![H.264 (High Profile) decoder is required to play the file, but is not installed](https://i.sstatic.net/AKhs6.png) > 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
1 votes
1 answers
306 views
Adjust content of yad script for kdialog or other better KDE solution (python etc)
I use this script to cut media files at selected time: ```shell #!/bin/bash INPUT=$(yad --width=600 --height=400 --file-selection --file-filter='*.m4a *.ogg *.mp3 *.mp4 *.avi *.aac *.flac *.avi *.mkv *.mp4') eval $(yad --width=400 --form --field=start --field=end --field=output:SFL "00:00:00" "00:00...
I use this script to cut media files at selected time:
#!/bin/bash

INPUT=$(yad --width=600 --height=400 --file-selection --file-filter='*.m4a *.ogg *.mp3 *.mp4 *.avi *.aac *.flac *.avi *.mkv *.mp4')

eval $(yad --width=400 --form --field=start --field=end --field=output:SFL "00:00:00" "00:00:00" "${INPUT/%.*}-out.${INPUT##*.}" | awk -F'|' '{printf "START=%s\nEND=%s\nOUTPUT=\"%s\"\n", $1, $2, $3}')
[[ -z $START || -z $END || -z $OUTPUT ]] && exit 1

DIFF=$(($(date +%s --date="$END")-$(date +%s --date="$START")))
OFFSET=""$(($DIFF / 3600)):$(($DIFF / 60 % 60)):$(($DIFF % 60))

ffmpeg -ss "$START" -t "$OFFSET" -i "$INPUT" -c copy "$OUTPUT"
I have found it HERE initially and only changed the last line (to cut/copy without conversion). But I am in KDE and would like to use kdialog for a better interaction. The first part, starting with INPUT=$(yad can be adjusted like so, I guess: INPUT=$(kdialog --getopenfilename ~/Videos/ '*.m4a *.ogg *.mp3 *.mp4 *.avi *.aac *.flac *.avi *.mkv *.mp4') But then I don't find an alternative in kdialog to the second part (starting with eval $(yad --width=400 --form --field=start --field=end --field=output:SFL "00:00:00" "00:00:00" ...) so that it shows a window where the timestamp start and end could be entered: enter image description here --- (In case this is possible I would also like to have a progress bar or message and a "ok" message at the end. - Please feel free to suggest other solutions than kdialog if available for KDE.)
cipricus (1779 rep)
Apr 24, 2023, 02:04 PM • Last activity: Apr 27, 2023, 09:49 PM
0 votes
0 answers
38 views
Is there a useful utility for managing multiple "alternatives" of a given file?
The example I'm going to give here is a simple media file conundrum. In this example, say I have multiple versions of a given audio file: ``` SomeSongLibrary/ awesome-song-compressed.mp3 awesome-song-lossless.flac awesome-song-raw-project-file.binaryblob ``` I also have a media playing application (...
The example I'm going to give here is a simple media file conundrum. In this example, say I have multiple versions of a given audio file:
SomeSongLibrary/
     awesome-song-compressed.mp3
     awesome-song-lossless.flac
     awesome-song-raw-project-file.binaryblob
I also have a media playing application (e.g. Jellyfin, or Quodlibet, etc.) that is really only interested in one of these files at a given point in time. For example, Jellyfin has no ability to glob ignore specific files, so our given awesome song will show up twice (assuming it doesn't also grab that binaryblob by mistake, which can occur I've found!). That's where my issues begin and the desire to manage multiple "forks" of an individual file begin to show themselves. So the question becomes what are the means to solving this problem in a user-friendly way (cli is accepted)? The easiest but clumsiest way I found to solve this problem is to use a hidden folder with symlinks to the real content -- but obviously the file extension wouldn't be able to match the desired link. This example would look like:
SomeSongLibrary/
     awesome-song-link # symlink, points to files inside swap
     .awesome-song-swap/
          awesome-song-compressed.mp3
          awesome-song-lossless.flac
          awesome-song-raw-project-file.binaryblob
This is obviously error prone without a utility application, as for every file you'd need to make proper links. Additionally, you have to really hope that the given unix application is not at all dependent on the file extension to determine filetype (I would hope this is the case, but you cannot guarantee it) and also that the application is smart enough to skip hidden folders during the media scanning process. The next solution I thought of was using a git project for each of these folders with forks for each collection of filetypes or content. So you would make a git repo for SomeSongLibrary, create a branch in SomeSongLibrary for each of the types of files (mp3, flac, etc.) and then switch between those forks when you want access to different versions of a given file. This is great in theory, but also terrible since git doesn't really love dealing with binary files. While the cost of the binary files isn't much worse than just having multiple copies at the first place, this is not the case when you consider files that change (e.g. tags of awesome-song-compressed.mp3 being updated.) Additionally, I don't really need all the cruft associated with a full versioning system. Lastly, it would be nice to manage individual files in a folder, not the whole folder at once (so different files can be different versions.) So it might be a long shot, but has anyone ever had a problem like this and come up with a clever solution (script or full blown application?) Additionally, is this even a good idea or does it go against unix/posix file system standards?
TheYokai (143 rep)
Jan 9, 2023, 10:48 PM
-4 votes
1 answers
108 views
Why don't any Linux distros have a built-in ability to edit media metadata?
In Windows you can simply right-click a media file and edit its metadata - no additional software needed. Why is this ability absent in Linux? Is there some inherent technical limitation in Linux that prevents this?
In Windows you can simply right-click a media file and edit its metadata - no additional software needed. Why is this ability absent in Linux? Is there some inherent technical limitation in Linux that prevents this?
001121100 (1 rep)
Jan 2, 2023, 08:21 PM • Last activity: Jan 2, 2023, 08:37 PM
0 votes
1 answers
598 views
Add “album_artist” tag to an opus file
I find the `opusenc` command (from the `opus-tools` package in Debian) to edit Opus files metadata. But, according to his man’s synopsis (and other sections in the man) it doesn’t provide a way to edit album_artist tag (like `metaflac` fro flac files or `id3v` for mp3 files): ``` opusenc [ -h ] [ -V...
I find the opusenc command (from the opus-tools package in Debian) to edit Opus files metadata. But, according to his man’s synopsis (and other sections in the man) it doesn’t provide a way to edit album_artist tag (like metaflac fro flac files or id3v for mp3 files):
opusenc  [  -h  ]  [  -V ] [ --help-picture ] [ --quiet ] [ --bitrate kbit/sec ] [ --vbr ] [ --cvbr ] [ --hard-cbr ] [ --comp complexity ] [ --framesize 2.5, 5, 10, 20, 40, 60 ] [ --expect-loss pct ] [ --downmix-mono ] [ --downmix-stereo ] [ --max-delay ms ] [ --title 'track title' ] [ --artist author ] [ --album 'album title' ] [ --genre genre ]  [  --date YYYY-MM-DD  ]  [  --comment  tag=value  ] [ --picture filename|specification ] [ --padding n ] [ --discard-comments ] [ --discard-pictures ] [ --raw ] [ --raw-bits bits/sample ] [ --raw-rate Hz ] [ --raw-chan N ] [ --raw-endianness flag ] [ --ignorelength ] [ --serial serial number ] [ --save-range file ] [ --set-ctl-int ctl=value ] input.wav output.opus
So, simply, how to add an album_artist tag to an opus file?
fauve (1529 rep)
Dec 28, 2022, 06:44 PM • Last activity: Dec 28, 2022, 07:07 PM
1 votes
1 answers
1154 views
How to listen to local FM/AM radio broadcasts in Linux?
Is there any package/command that lets me listen to FM/AM radio broadcasts in my town? All the apps that I find are for streaming internet radio and not offline radio.
Is there any package/command that lets me listen to FM/AM radio broadcasts in my town? All the apps that I find are for streaming internet radio and not offline radio.
fied79252 (19 rep)
Nov 6, 2022, 03:12 PM • Last activity: Nov 6, 2022, 05:10 PM
1 votes
2 answers
2169 views
Live Streaming and Broadcast Video Server
I am trying to setup a live stream multimedia server something like Youtube live stream or https://twitch.tv that users can stream their webcam their desktop and so on. I am searching a lot in the web but all are with payments some software I found like https://wowza.com are with payments. Has anyon...
I am trying to setup a live stream multimedia server something like Youtube live stream or https://twitch.tv that users can stream their webcam their desktop and so on. I am searching a lot in the web but all are with payments some software I found like https://wowza.com are with payments. Has anyone succeeded setting up a server like this?
sinaps1 (53 rep)
Apr 27, 2016, 09:00 AM • Last activity: Sep 30, 2022, 09:07 AM
3 votes
1 answers
2873 views
What does mediainfo mean when it says a video is truncated?
I have two ways of checking for damaged video files. The first is using `mediainfo` and runs instantly: ``` mediainfo "$1" | grep --color 'IsTruncated' ``` The second is manually going through the video frame by frame in `ffmpeg` (takes several minutes of intense processing): ``` ffmpeg -v error -i...
I have two ways of checking for damaged video files. The first is using mediainfo and runs instantly:
mediainfo "$1" | grep --color 'IsTruncated'
The second is manually going through the video frame by frame in ffmpeg (takes several minutes of intense processing):
ffmpeg -v error -i "$1" -f null -
I understand what IsTruncated means if a video has been moved or downloaded and is interrupted. The file is too small, and video will stop playing once it hits that spot. But occasionally the first script will tell me there is a video that is truncated, but it plays just fine and all the way to the end. And when run, the second script doesn't give any error message at all. What does IsTruncated mean if the video seems to be fine? Is it possible to find out how much or which parts seem to be missing?
IQAndreas (10635 rep)
May 30, 2022, 12:06 AM • Last activity: May 31, 2022, 02:13 PM
1 votes
0 answers
1934 views
No sound via HDMI on a 4k TV on Fedora
I've had issues with Debian on my USFF HP ProDesk 400 G5 and the connected 4k TV (Screen tearing, resolution and sound issues), so I wanted to give Fedora a chance. I've booted the latest Workstation Live image (Fedora-Workstation-Live-x86_64-35-1.2) but the HDMI output is not available as a sound o...
I've had issues with Debian on my USFF HP ProDesk 400 G5 and the connected 4k TV (Screen tearing, resolution and sound issues), so I wanted to give Fedora a chance. I've booted the latest Workstation Live image (Fedora-Workstation-Live-x86_64-35-1.2) but the HDMI output is not available as a sound output device in the gnome settings.
$ uname -a
Linux localhost-live 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
No sound is produced for speaker-test -D hw:0,3 -c 2 -l 1 (or hw:0,7). hw:0,0 is the built-in speaker and works. The output of speaker-test:
speaker-test 1.2.5.1

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Unknown
 1 - Unknown
Time per period = 10.936630
Previously, on Debian I had set the resolution to 1080p, then the HDMI-2 device allowed audio output, but had crackling noise on high pitch sounds. On fedora, the audio output device isn't available, independent of the set resolution. **edit:** I also just noticed this following lines multiple times in the dmesg output:
[ 2557.558262] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin NID 0x5 not registered
[ 2557.568877] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin NID 0x6 not registered
How can I make the HDMI output device usable on Fedora?
emma.makes (31 rep)
May 8, 2022, 09:55 AM • Last activity: May 8, 2022, 12:57 PM
2 votes
0 answers
55 views
Unable to access contents of only certain DVDs
I am using the NexStar DX Bluray drive enclosure with LG WH14NS40 internal Bluray drive with Pop!_OS. For some reason, there are some DVDs which simply do not seem to work. Usually, when I insert a Bluray or DVD disc into the drive, a popup will appear on my screen informing me what has been inserte...
I am using the NexStar DX Bluray drive enclosure with LG WH14NS40 internal Bluray drive with Pop!_OS. For some reason, there are some DVDs which simply do not seem to work. Usually, when I insert a Bluray or DVD disc into the drive, a popup will appear on my screen informing me what has been inserted, I can see the disc in the sidebar of my file manager, and I can access the contents with MakeMKV (although I have followed tutorials online, I have never been able to get VLC to play the DVDs directly). There are some DVDs for which none of this is true (I have not yet encountered any problems with any Bluray discs). Instead, the light on the enclosure continues to flash rapidly, and nothing else happens. I am lead to believe that this implies Pop! is trying to access the disc. The disc never appears in any UI and cannot be accessed with MakeMKV. mount /dev/cdrom /mnt/cdrom does not terminate until I turn off the enclosure. Another answer said that one does not usually mount media DVDs, and suggested running cd-info --dvd. With a problem disc inserted, that command only outputs its copyright/version message and then hangs until I turn off the enclosure (at which point it terminates with a SIGINT). When run with a non-problem disc inserted, it outputs the following and then terminates normally:
cd-info version 2.1.0 x86_64-pc-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/cdrom
CD driver name: GNU/Linux
   access mode: IOCTL

Vendor                      : HL-DT-ST
Model                       : BD-RE  WH14NS40 
Revision                    : 1.02
Hardware                                  : CD-ROM or DVD
Can eject                                 : Yes
Can close tray                            : Yes
Can disable manual eject                  : Yes
Can select juke-box disc                  : No

Can set drive speed                       : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device                     : Yes

Reading....
  Can read Mode 2 Form 1                  : Yes
  Can read Mode 2 Form 2                  : Yes
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : Yes
  Can read C2 Errors                      : Yes
  Can read IRSC                           : Yes
  Can read Media Channel Number (or UPC)  : Yes
  Can play audio                          : Yes
  Can read CD-DA                          : Yes
  Can read CD-R                           : Yes
  Can read CD-RW                          : Yes
  Can read DVD-ROM                        : Yes

Writing....
  Can write CD-RW                         : Yes
  Can write DVD-R                         : Yes
  Can write DVD-RAM                       : Yes
  Can write DVD-RW                        : No
  Can write DVD+RW                        : No
__________________________________

Disc mode is listed as: DVD-ROM
CD-ROM Track List (1 - 1)
  #: MSF       LSN    Type   Green? Copy?
  1: 00:02:00  000000 data   false  no   
170: 95:59:74  431849 leadout (968 MB raw, 843 MB formatted)
__________________________________
CD Analysis Report
ISO 9660: 4036384 blocks, label `SCI_FI_CREATURE_CLASSICS        '
Application: DVD Studio Pro:4.2.2, DSPInterface:431.40, DVDAuthoring:428.45, DVDBase:468.61(Encoder: 614), Oxygene:427.3
Preparer   : 
Publisher  : 
System     : 
Volume     : SCI_FI_CREATURE_CLASSICS
Volume Set : SCI_FI_CREATURE_CLASSICS
UDF: version 1.02
A final curiosity of my problem is that I... do not believe it is caused by copy protection (though I'm really not sure, this is not an area of expertise of mine). One of the problem discs is part of a box-set that seems to otherwise give me no issues, ie the other 4 discs in the set can all be read just fine. I'd assume they should all have the same copy protection (all of the boxes say the contents are copy protected), but one of them just cannot be accessed. The only piece of technical information on the boxes that appears to be different is that the box for the problem disc lacks the "DUAL-LAYER FORMAT" text, which the other DVDs in the box set seem to have. In the interest of eliminating common issues that I do not believe apply to this situation: * Yes, I have libdvd installed (and libdvdcss) * Yes, the same discs with the same drive, and enclosure, all work when connected to a Windows device
Charlim (131 rep)
Feb 4, 2022, 07:41 AM • Last activity: Feb 5, 2022, 01:22 AM
0 votes
2 answers
3533 views
Capturing image from webcam
I want to capture a image through webcam in Linux. So I searched on the Internet and found out it's can be done using mplayer or vlc. Following is the command for capturing image by mplayer and its corresponding error. [root@localhost ~]# mplayer -vo png -frames 1 tv:// MPlayer SVN-r31628-4.4.4 (C)...
I want to capture a image through webcam in Linux. So I searched on the Internet and found out it's can be done using mplayer or vlc. Following is the command for capturing image by mplayer and its corresponding error. [root@localhost ~]# mplayer -vo png -frames 1 tv:// MPlayer SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski comment: first try, more to come ;-) v4l2: unable to open '/dev/video0': No such file or directory v4l2: ioctl set mute failed: Bad file descriptor v4l2: 0 frames successfully processed, 0 frames dropped. Exiting... (End of file) [root@localhost ~]# Please help me in solving this error. I searched on the net and found out about v4l2, but still can't solve the problem. [root@localhost ~]# lsusb Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [root@localhost ~]# I am using Fedora in VMWare Workstation 9. I wonder if that is the problem.
user2788859 (1 rep)
Sep 17, 2013, 07:18 PM • Last activity: Jan 28, 2022, 07:00 PM
2 votes
1 answers
715 views
Transport keyboard/mouse events to a keyboard/mouse-less remote host
I want to send keyboard and mouse events from a small ARMv7 computer board to a remote one, which has no keyboard nor mouse. I'm planning to send these events on a locally implemented CAN bus. The controlling board has a touch screen that is detected as a touchpad. Support for a hardware keyboard is...
I want to send keyboard and mouse events from a small ARMv7 computer board to a remote one, which has no keyboard nor mouse. I'm planning to send these events on a locally implemented CAN bus. The controlling board has a touch screen that is detected as a touchpad. Support for a hardware keyboard is planned but typically there's none but a virtual keyboard. ------ **The context:** both boards shall be combined as a master/slave ensemble in a multimedia installation. The one that runs the multimedia platform (typically but not limited to [Kodi](http://kodi.tv/)) is the slave and has no keyboard, no mouse; it should receive its input events from the CAN bus. The master, controlling board is also connected to a small display, which plays the role of a keyboard and touchpad when the slave multimedia board is turned on. The cross-development toolchain is **Gentoo Linux**. ------ So I was wondering about the most straightforward way to send local keyboard and mouse (touchpad) events to the remote host, given that I'm no *kernel* developer. For instance I could figure out using netcat to send local keyboard/mouse events (from /dev/input/*) to a remote machine but as far as I understand there must be a keyboard and mouse plugged on the remote machine... unless there is some kind of dummy driver available that I could use on the remote end. (This said, I tried but it didn't work.) I'm not against kernel input module development, for instance, but I'd rather combine user space applications if possible or develop one if necessary. I would also prefer sending "raw" hardware events rather than assume there's a graphical engine such as Xorg or Wayland running on the remote board. Unless discouraged of course. So in the end I'm wondering if I should either - hack lirc and add CAN support, for instance or - hack linux input drivers. If there's a more hassle-free way, I'm all open.
user86969
Mar 24, 2015, 01:53 PM • Last activity: Sep 8, 2021, 07:40 AM
2 votes
1 answers
1315 views
What's the canonical way to get individual stream size in a video file?
I have a video file. It contains a video stream, and a couple of audio and subtitle streams. **I want to get the size of each of these streams.** ----- I've already looked at `ffprobe`/`avprobe` and `mediainfo`, to no avail. Is there a way to obtain this from the command line that **doesn't require*...
I have a video file. It contains a video stream, and a couple of audio and subtitle streams. **I want to get the size of each of these streams.** ----- I've already looked at ffprobe/avprobe and mediainfo, to no avail. Is there a way to obtain this from the command line that **doesn't require** to perform "real work" on the file (i.e. no transcoding, no stream extraction, etc.)?
JohnW (61 rep)
Nov 3, 2015, 08:24 PM • Last activity: Jul 28, 2021, 03:01 PM
1 votes
0 answers
751 views
How do I properly stream media from a local http server running on my laptop to other devices on my WiFi network?
So I am running a simple http server on a certain directory on my laptop (say Music/), with ```python -m http.server``` - the command starts up a server on my machine with port ```8000```. I proceed to look up my local IP with ```ip addr | grep inet``` and then I punch in ```192.168.my.ip``` on an a...
So I am running a simple http server on a certain directory on my laptop (say Music/), with
-m http.server
- the command starts up a server on my machine with port
. I proceed to look up my local IP with
addr | grep inet
and then I punch in
.168.my.ip
on an android - everything runs fine, the directory loads and I can view and download files from my phone using
.168.my.ip:8000
. The only problem is that when I *play* any movies or songs, the little media player thing that pops up on my browser cant scrub forwards or backwards, the only controls available to me are mute/unmute, play/pause, fullscreen and download. I am positive that my browser (on the android) is not the issue since it can play music/media files over the "normal" internet perfectly fine and both the firefox and chrome browser-inbuilt media player have this issue. So what do I have to do to be able to play the media files through my android (or any other device running a browser) in a full-featured manner? My laptop is running python 3.9.2 on Arch Linux with Linux kernel 5.11.7. Thanks,
ZarakshR (141 rep)
Mar 21, 2021, 08:55 AM
0 votes
2 answers
836 views
To protect mp4/mp3 file from copying
How protect mp4/mp3 file from copying but must be able to normally be opened to play ? (if known primarily in NAND memory media filesystem to be shown point of their capabilities)
How protect mp4/mp3 file from copying but must be able to normally be opened to play ? (if known primarily in NAND memory media filesystem to be shown point of their capabilities)
user380934
Feb 21, 2021, 03:27 AM • Last activity: Feb 22, 2021, 04:43 PM
Showing page 1 of 20 total questions