
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (38)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6608)
-
Revision 36780 : On n’a plus besoin du pipeline body_prive puisque l’on passe par le cron ...
31 mars 2010, par kent1@… — LogOn n’a plus besoin du pipeline body_prive puisque l’on passe par le cron On détermine mieux le chemin des fichiers de saveauto pour le pipeline "mes_fichiers_a_sauver"
-
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