Recherche avancée

Médias (91)

Autres articles (106)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (17033)

  • Media error : Format(s) not supported or source [closed]

    13 septembre 2022, par Paknice
  • 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 :

    


    

    

    /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 the video 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

    


    


    



  • error : av_interleaved_write_frame() : Unknown error

    12 avril 2014, par John Qualis

    I am new to ffmpeg. I am trying to stream my webcam using ffmpeg (x264 encoding) on a windows machine to ffserver on a linux server and restream it. I am getting the following error : av_interleaved_write_frame() : Unknown error
    I checked about it on the net and came across mails which said it could be related to version mismatch between ffmpeg and ffserver. I made sure that all libraries that are used by ffmpeg and ffserver have the same version. I am still getting this error. Appreciate any help in solving this issue.

    I am using the following command :

    .\ffmpeg.exe -f dshow -i video="Webcam C170":audio="Microphone (3- Webcam C170)" -an -g 94 -vcodec libx264 -b:v 512k -r 30 -f flv http://AA.BB.CC.DD:8090/feed1.ffm

    I get the followoing errors -

     [dshow @ 0003f240] real-time buffer 101% full! frame dropped!
       Last message repeated 1 times
    No pixel format specified, yuv422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 02563520] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 02563520] profile High 4:2:2, level 3.0, 4:2:2 8-bit
    [libx264 @ 02563520] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC codec - Copyleft
    2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0
    analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chro
    ma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 thre
    ads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compa
    t=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 o
    pen_gop=0 weightp=2 keyint=94 keyint_min=9 scenecut=40 intra_refresh=0 rc_lookahead=4
    0 rc=abr mbtree=1 bitrate=512 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_rat
    io=1.40 aq=1:1.00
    Output #0, flv, to 'http://184.173.147.99:8090/feed1.ffm':
     Metadata:
       encoder         : Lavf55.22.100
       Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 640x480, q=-
    1--1, 512 kb/s, 1k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press [q] to stop, [?] for help
    frame=   59 fps=9.0 q=28.0 size=       3kB time=00:00:00.46 bitrate=  58.6kbits/s
    av_interleaved_write_frame(): Unknown error

    In my /etc/ffserver.conf I have the following settings -

    <feed>

    File /tmp/feed1.ffm
    ##File /mnt/vmtmpfs/feed1.ffm
    FileMaxSize 50M

    ACL allow 127.0.0.1
    ACL allow 0.0.0.0 255.255.255.255

    </feed>

    <stream>
           Format flv
           Feed feed1.ffm

           VideoCodec libx264
           VideoFrameRate 30
           VideoBitRate 512
           VideoSize 320x240
           AVOptionVideo crf 23
           AVOptionVideo preset medium
           # for more info on crf/preset options, type: x264 --help
           AVOptionVideo flags +global_header
           # NoAudio

           AudioCodec aac
           Strict -2
           AudioBitRate 128
           AudioChannels 2
           AudioSampleRate 44100
           AVOptionAudio flags +global_header
           ACL ALLOW 0.0.0.0 255.255.255.255
    </stream>