
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (11883)
-
FFServer Timeshift Tee Muxer Output
9 septembre 2017, par AaronWhen feeding into ffserver from ffmpeg using the tee muxer, clients connecting with the
?date=HH:MM:SS
option aren’t being properly timeshifted, they just get the live stream. My best guess is that timestamps aren’t being applied correctly to the incoming feed.Here’s the ffmpeg command I’m using with the tee muxer :
$ ffmpeg -v 32 -threads 1 -f mpegts -analyzeduration 2000000 \
-i "http://192.168.1.175:5004/auto/v4.1?duration=600" \
-flags +global_header -f tee -map 0:v -map 0:a \
-c:a aac -c:v h264 -preset veryfast \
-b:v 3000k -bufsize 24000k -minrate 2400k -maxrate 3000k \
"[select=\'v:0,a:0:1\']/Users/aaron/Movies/test.mp4|[select=\'v:0,a:0\']http://localhost:1234/feed.ffm"Here’s the contents of my ffserver configuration :
HTTPPort 1234
HTTPBindAddress 0.0.0.0
MaxClients 5
CustomLog ffserver.log
MaxBandwidth 50000
<feed>
File feed.ffm
FileMaxSize 16384M
ACL allow localhost
</feed>
<stream>
Feed feed.ffm
Format mpegts
AudioCodec aac
AudioBitRate 128
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header
VideoCodec libx264
AVOptionVideo preset veryfast
VideoBitRate 3000
VideoFrameRate 30
VideoBufferSize 24000
VideoSize hd1080
AVOptionVideo flags +global_header
</stream>The transcode, mp4 output, and stream all work, the only problem is the lack of timeshifting.
Removing the tee muxer and just doing the feed to ffserver fixes the timeshifting. With this command :
ffmpeg -v 32 -threads 1 -f mpegts -analyzeduration 2000000 \
-i "http://192.168.1.175:5004/auto/v4.1?duration=600" \
-f ffm -map 0:v -map 0:a -c:a aac -c:v h264 -preset veryfast \
-b:v 3000k -bufsize 24000k -minrate 2400k -maxrate 3000k \
http://localhost:1234/feed.ffm -
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







-
Fast movie creation using MATLAB and ffmpeg
24 février 2018, par hyiltizI have some time series data that I would like to create into movies. The data could be 2D (about 500x10000) or 3D (500x500x10000). For 2D data, the movie frames are simply line plot using
plot
, and for 3D data, we can usesurf
,imagesc
,contour
etc. Then we create a video file using these frames in MATLAB, then compress the video file usingffmpeg
.To do it fast, one would try not to render all the images to display, nor save the data to disk then read it back again during the process. Usually, one would use
getframe
orVideoWriter
to create movie in MATLAB, but they seem to easily get tricky if one tries not to display the figures to screen. Some even suggest plotting in hidden figures, then saving them as images to disk as.png
files, then compress them usingffmpeg
(e.g. withx265
encoder into.mp4
). However, saving the output ofimagesc
in my iMac took 3.5s the first time, then 0.5s after. I also find it not fast enough to save so many files to disk only to askffmpeg
to read them again. One couldhardcopy
the data as this suggests, but I am not sure whether it works regardless of the plotting method (e.g.plot
,surf
etc.), and how one would transfer data over toffmpeg
with minimal disk access.This is similiar to this, but
immovie
is too slow. This post 3 is similar, but advocates writing images to disk then reading them (slow IO).