Recherche avancée

Médias (91)

Autres articles (58)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (7373)

  • ffplay, rtsp and tcp transport protocol

    27 juillet 2022, par Denis Gottardello

    I have a problem on connect to a rtsp camera using ffplay.
The camera is under a router that permits only the TCP protocol.
I can watch the camera using ffplay only if I am in the same network of the camera.
So, when I am out, using this command line

    


    ffplay rtsp://address:554/onvif1


    


    or this

    


    ffplay -rtsp_transport tcp rtsp://address:554/onvif1


    


    I cannot watch the camera.
This is the output of ffplay (the latest).

    


    [rtsp @ 059ee680] Nonmatching transport in server reply  0B f=0/0
rtsp://address:554:/onvif1: Invalid data found when processing input


    


    Trying with VLC and I can watch the camera without any problem, both when I am in the same network or when I am out. The VLC output says that VLC uses TCP.
Has someone got a suggestion ?

    


  • FFmpeg metadata tags for YouTube 3D side-by-side movies

    17 février 2021, par Some1Else

    YouTube requires specific metadata tags for 3D Side-By-Side format movies. If the tag is not there then YouTube does not give the anaglyph playback options for the end user.

    



    Their "help" is here
https://support.google.com/youtube/answer/7278886?hl=en-GB

    



    I am trying to get FFmpeg to add the MP4 tag when building my movie.

    



    Code that works now for a series of PNG files into a MP4.

    



    "ffmpeg.exe" -framerate 60 -i "VID%05d.PNG" -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -s 1280x720 -pix_fmt yuvj420p -an -y "OUTPUT.MP4"


    



    But when I add the tag from the YouTube help page

    



    "ffmpeg.exe" -framerate 60 -i "VID%05d.PNG" -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -s 1280x720 -pix_fmt yuvj420p -an -y -x264opts "frame-packing=3:frame-packing-interpret=1:frame-packing-quincunx=0:frame-packing-grid=0,0,0,0" "OUTPUT.MP4"


    



    I get this error from FFmpeg

    



    [libx264 @ 0000000002a8c3a0] bad option 'frame-packing-interpret': '1'


    



    This page (ignore the proselytising)

    



    http://www.pantherdynamics.yolasite.com/panther-dynamics-blog/uploading-3dsbs-content-to-youtube

    



    says you only need to use this tag

    



    -x264opts frame-packing=3


    



    Using that does make FFmpeg finish correctly, but the SBS is still ignored by YouTube

    



    The YouTube engineer blog post here

    



    https://youtube-eng.googleblog.com/2011/09/getting-3d-content-on-youtube_8.html

    



    links to an older supposed 3D movie that also does not give 3D options any more.

    



    https://www.youtube.com/watch?v=ubRHSg5daMs

    



    So maybe even YouTube's own 3D movies are crippled ?

    



    What am I doing wrong ? Any FFmpeg gurus able to help ?

    


  • Extract closed captions VTT from stream using ffmpeg

    15 avril 2021, par EK0

    I can extract closed caption information from an mp4 file using ffmpeg v. 3.4.7 thus :

    


    ffmpeg -f lavfi -i movie="sample.mp4[out+subcc]" -map 0:1 -c:s webvtt /tmp/output.vtt


    


    The file was obtained by capturing a live HLS stream containing closed captions. I would like to extract the closed captions directly from the stream, instead after storing the video in a file. I've tried various things, including :

    


    ffmpeg -f lavfi -i movie="http://example.com/stream.m3u8[out+subcc]" -map 0:0 -c:s webvtt /tmp/output.vtt


    


    But the movie filter does not recognize the URL, even though the ffmpeg filter documentation says that the file name for the movie filter is "not necessarily a file ; it can also be a device or a stream accessed through some protocol" :

    


    


    [Parsed_movie_0 @ 0x264ad80] Failed to avformat_open_input 'http'
    
[lavfi @ 0x2647e80] Error initializing filter 'movie' with args 'http://example.com/stream.m3u8' ;
    
movie=http://example.com/stream.m3u8[out+subcc] : No such file or directory

    


    


    When I capture the video form the stream like this :

    


    ffmpeg -i http://example.com/stream.m3u8 /tmp/output.mp4


    


    ffmpeg reports that the stream does contain closed captions (which is where the captured video file sample.mp4 got them) :

    


    


    Stream #0:0 : Video : h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 480x270 [SAR 1:1 DAR 16:9], Closed Captions, 14.99 fps, 14.99 tbr, 90k tbn, 29.97 tbc

    


    


    Is it possible to do this ? Thanks for any pointers.