
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (70)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (9532)
-
Revision 30146 : ajouts d’options non encore fonctionnelles dans le CFG
24 juillet 2009, par kent1@… — Logajouts d’options non encore fonctionnelles dans le CFG
-
Jellyfin ffmpeg permission denied
11 septembre 2022, par SteveI am running Jellyfin on a Raspberry Pi 4 in a docker container (https://hub.docker.com/r/linuxserver/jellyfin) and am trying to set up hardware accelerated video transcoding. I'm fairly certain I have set up the video devices & permissions correctly, but I am getting the following exception in the logs when trying to play a video through the web interface :




/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -autorotate 0 -i file:"/data/tvshows/Ed, Edd n' Eddy/Season 1 (1999)/Ed, Edd n Eddy - S01 E01-E02 - The Ed-Touchables and Nagged to Ed (1080p - HMax Web-DL).mp4" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_v4l2m2m -b:v 2616000 -maxrate 2616000 -bufsize 5232000 -level 41 -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -g:v:0 90 -keyint_min:v:0 90 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,1280)/64)*64:trunc(ow/a/2)*2,format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/data/transcodes/575d44f8f0e15b3bc459c5289dfcdf9b%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/575d44f8f0e15b3bc459c5289dfcdf9b.m3u8"


ffmpeg version 5.1.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
 configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --toolchain=hardened --enable-cross-compile --arch=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu-
 libavutil 57. 28.100 / 57. 28.100
 libavcodec 59. 37.100 / 59. 37.100
 libavformat 59. 27.100 / 59. 27.100
 libavdevice 59. 7.100 / 59. 7.100
 libavfilter 8. 44.100 / 8. 44.100
 libswscale 6. 7.100 / 6. 7.100
 libswresample 4. 7.100 / 4. 7.100
 libpostproc 56. 6.100 / 56. 6.100
file:/data/tvshows/Ed, Edd n' Eddy/Season 1 (1999)/Ed, Edd n Eddy - S01 E01-E02 - The Ed-Touchables and Nagged to Ed (1080p - HMax Web-DL).mp4: Permission denied







The real head-scratcher is that if I log in to the docker container with
docker exec -it /bin/bash
and paste the ffmpeg command from the logs and run it, it works fine.

I'm running as the
jellyfin
user, which is in thevideo
group, and has read/write access to the media directory.

Any thoughts ?


My docker-compose file is attached below, if any other system information is needed let me know.




---
version: "2.1"
services:
 jellyfin:
 image: lscr.io/linuxserver/jellyfin:latest
 container_name: jellyfin
 environment:
 - PUID=1002
 - PGID=1002
 - TZ=America/Chicago
 - JELLYFIN_PublishedServerUrl=nas-server.local #optional
 volumes:
 - /mnt/raid/tv:/data/tvshows
 - /mnt/raid/movies:/data/movies
 - /mnt/raid/docker/linuxserver/jellyfin/config:/config
 ports:
 - 8096:8096
 - 8920:8920 #optional
 - 7359:7359/udp #optional
 - 1900:1900/udp #optional
 devices:
 - /dev/video10:/dev/video10
 - /dev/video11:/dev/video11
 - /dev/video12:/dev/video12
 - /dev/video13:/dev/video13
 - /dev/video14:/dev/video14
 - /dev/video15:/dev/video15
 - /dev/video16:/dev/video16
 - /dev/video18:/dev/video18
 - /dev/video19:/dev/video19
 - /dev/video20:/dev/video20
 - /dev/video21:/dev/video21
 - /dev/video22:/dev/video22
 - /dev/video23:/dev/video23
 - /dev/video31:/dev/video31
 restart: unless-stopped







-
Unable to parse option value xxx.srt as image size in ffmpeg
28 mars 2022, par showkeyI had already set environment variable for the ffmpeg in my windows,want to embed the srt file into my mp4 file with ffmpeg :


ffmpeg -i f:\sample\dance.mp4 -vf subtitles='f:\sample\dance.srt' f:\sample\out.mp4



It encounter a strange error :


Press [q] to stop, [?] for help
[subtitles @ 0000000002c2fd00] Unable to parse option value "sampledance.srt" as
 image size
 Last message repeated 1 times
[subtitles @ 0000000002c2fd00] Error setting option original_size to value sampl
edance.srt.
[Parsed_subtitles_0 @ 00000000005410c0] Error applying options to the filter.
[AVFilterGraph @ 0000000002940440] Error initializing filter 'subtitles' with ar
gs 'f:\sample\dance.srt'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!



I copy the files
dance.mp4
anddance.srt
intof:\ffmpeg\bin
,then do the following :

cd \d f:\ffmpeg\bin
ffmpeg -i dance.mp4 -vf subtitles=dance.srt out.mp4



It works fine, how can make ffmpeg parse the option value
f:\sample\dance.srt
properly,make the command execute normally in my windows ?

ffmpeg -i f:\sample\dance.mp4 -vf subtitles='f:\sample\dance.srt' f:\sample\out.mp4



@kesh,it is no use to write as below :


ffmpeg -i f:\sample\dance.mp4 -vf "subtitles='f:\sample\dance.srt'" f:\sample\out.mp4