Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (81)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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, par

    Explications 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, par

    MediaSPIP 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 Aaron

    When 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 Steve

    I 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 :

    &#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -autorotate 0 -i file:"/data/tvshows/Ed, Edd n&#x27; 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&#x2B;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"&#xA;&#xA;&#xA;ffmpeg version 5.1.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)&#xA;  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-&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;file:/data/tvshows/Ed, Edd n&#x27; 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

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    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.

    &#xA;

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

    &#xA;

    Any thoughts ?

    &#xA;

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

    &#xA;

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

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

  • Fast movie creation using MATLAB and ffmpeg

    24 février 2018, par hyiltiz

    I 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 use surf, imagesc, contour etc. Then we create a video file using these frames in MATLAB, then compress the video file using ffmpeg.

    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 or VideoWriter 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 using ffmpeg (e.g. with x265 encoder into .mp4). However, saving the output of imagesc 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 ask ffmpeg to read them again. One could hardcopy 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 to ffmpeg 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).