Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (35)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5773)

  • Record stream using SDP file & ffmpeg

    27 avril 2023, par john

    I have a stream created using ffmpeg using the following command :

    



    ffmpeg -re -thread_queue_size 4 -i video.mp4 -strict -2 -vcodec copy -an -f rtp rtp://127.0.0.1:51372 -sdp_file test.sdp


    



    This creates a .sdp file while streaming the local video file over RTP.

    



    The SDP file :

    



    v=0
o=- 0 0 IN IP4 127.0.0.1
s=Serenity - HD DVD Trailer
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 58.29.100
m=video 51372 RTP/AVP 96
b=AS:4674
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKaw05QFAFuhAAZdOwExLQCPGDEWA,aO68sA==; profile-level-id=640029


    



    Now I want to use another ffmpeg instance to record this stream and save to a file (assuming its another machine in the network).

    



    I tried the following command but it is giving an error.

    



    ffmpeg -i test.sdp -c copy -flags +global_header -f segment -segment_time 60 -protocol_whitelist file,udp,rtp -segment_format_options movflags=+faststart -reset_timestamps 1 test.mp4


    



    The error :

    



    Protocol 'rtp' not on whitelist 'file,crypto'!
custom.sdp: Invalid data found when processing input


    


  • Muxing files with different run times

    16 novembre 2019, par Dhruv Kanojia

    I’ve got a few files I want to mux.
    File 1 : MP4 File with runtime of 23 Minutes 45 Seconds
    File 2 : MP4 File with runtime of 23 Minutes 39 Seconds
    File 3 : Subtitle File
    File 4 : Subtitle File
    File 5 : Subtitle File
    File 6 : Subtitle File
    File 7 : Subtitle File
    File 8 : Subtitle File
    File 9 : Subtitle File

    I’m trying to mux these files. Now, since there’s a runtime difference, I’m getting weird errors like :

    [matroska @ 0x55e029fbd1a0] Only audio, video, and subtitles are supported for Matroska.
    av_interleaved_write_frame(): Invalid argument
    Error writing trailer of /root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv: Invalid argument

    I can mux files with same run time just fine... but, I’m stuck on this one. Can someone help me out here.

    The command I’m using :

    ffmpeg -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [jaJP].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [itIT] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esLA] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [frFR] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esES] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [deDE] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ruRU] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ptBR] .ass" -map 1 -map 2 -map 3 -map 4 -map 5 -map 6 -map 7 -map 8  -map 0:v -map 0:a -map 1:a -c copy -metadata:s:a:0 title="English Audio" -metadata:s:a:1 title="Japanese Audio" -metadata:s:a:0 language=eng -metadata:s:a:1 language=jpn -metadata:s:s:0 title="English (US) Subtitle" -metadata:s:s:1 title="Italian Subtitle" -metadata:s:s:2 title="Spanish (Latin America) Subtitle" -metadata:s:s:3 title="French Subtitle" -metadata:s:s:4 title="Spanish Subtitle" -metadata:s:s:5 title="Deutsch Subtitle" -metadata:s:s:6 title="Russian Subtitle" -metadata:s:s:7 title="Portuguese Subtitle"  "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv"
  • How to extract sequence of lossless images with FFMPEG and pipe them to mozjpeg's cjpeg ?

    7 novembre 2019, par Finch

    I know it can be down with imagemagick but mozjpeg produces much smaller images which is desirable.

    I want all frames of a video be extracted and converted to JPEG by mozjpeg.

    What I have tried :

    $ ind = 1
    $ ffmpeg -hide_banner -ss 00:00:10 -i IN.webm -t 00:00:02 -r 24 -c:v bmp -f image2pipe pipe:1 | \
       cjpeg - workDir/$((ind++)).jpeg

    Error message :

    av_interleaved_write_frame(): Broken pipe time=00:00:00.00 bitrate=N/A speed=   0x    

    Error writing trailer of pipe:1: Broken pipe

    frame=    1 fps=0.0 q=-0.0 Lsize=    6075kB time=00:00:00.04 bitrate=1194394.4kbits/s speed=0.0765x    

    video:6075kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    Conversion failed!