Recherche avancée

Médias (91)

Autres articles (13)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • 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" ;

Sur d’autres sites (4329)

  • Using ffmpeg to extract webvtt (SRT) subtitles

    4 mars 2021, par user15332104

    I am trying to extract SRT subtitles from the movies online with use of ffmpeg.
Unfortunately transmission drops after some segments, and there is no output SRT file

    


    Any advice which switch use ? Anything else than ffmpeg would serve the purpose here ?

    


    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc/index-f7.m3u8" -scodec srt berry_subs.srt

    


    (Actual movie : https://www.rts.ch/play/tv/telefilm/video/meurtres-en-berry?urn=urn:rts:video:11997514)

    


    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8" -scodec srt mlh_subs.srt

    


    (Actual movie : https://www.rts.ch/play/tv/telefilm/video/meurtres-a-mulhouse?urn=urn:rts:video:12003885 )

    


  • How to set AV_FRAME_FLAG_DISCARD with avcodec_open2

    15 novembre 2024, par Christoph

    I want to discard corrupted H.264 frames, but I've been unable to achieve this. I've tried setting flags after creating the context, as well as using options, but neither method has worked, and I still see the corrupted frames. examples online demonstrate this with a format context, but in my case, I'm feeding a bytestream directly from a socket.

    


    Options version

    


    ffmpeg.av_dict_set(&options, "fflags", "discardcorrupt", 0);
var ret = ffmpeg.avcodec_open2(_CodecContext, _decodingCodec, &options);
ffmpeg.av_dict_free(&options);


    


    Flags version

    


    var ret = ffmpeg.avcodec_open2(_CodecContext, _decodingCodec, null);
_CodecContext->flags |= ffmpeg.AV_FRAME_FLAG_DISCARD;


    


    I want to avoid errors like :

    


    [h264 @ 000001fb6302dfc0] decode_slice_header error
[h264 @ 000001fb6302dfc0] decode_slice_header error
[H264 Decoder @ 000001fb70778740] Broken frame packetizing
[h264 @ 000001fb6302dfc0] illegal short term buffer state detected


    


    Either avcodec_send_packet or avcodec_receive_frame return an error, return value is always 0. Currently i cant catch this and i dont want using a global logging checking because it could be that i have 16 instances for my decoder. (Cctv grid). I using ffmpeg.autogen (c#)

    


  • Programmatically convert multiple midi files to wave using timidity, ffmpeg, and bash

    21 mai 2014, par Kyle Nevling

    I am trying to build a script to do as the title says, but I am somewhat unfamiliar with Bash and other online resources have only been so helpful.

    #! /bin/bash
    function inout  #Create Function inout
    {
       output[0]=" " #Initialize variables
       input[0]=" "
       count=1
       while [ "$count" -lt  10 ]; #Start loop to get all filenames
       do
           echo "Grabbing filename"             #User feedback

           input=$(ls | grep 0$count | grep MID | sed 's/ /\\ /g') #Grab filename
           #Replace ' ' character with '\ '
           output=$(echo $input | tr 'MID' 'mp3')
           #set output filename
           echo $count #Output variables for testing
           echo $input
           echo $output
           let count+=1 #Increment counter

           echo "converting $input to $output." #User feedback
           foo="timidity $input -Ow -o - | ffmpeg -i - -acodec libmp3lame -ab 320k $output"
           echo $foo
           #The last two lines are for the purpose of testing the full output
           #I can get the program to run if I copy and paste the output from above
           #but if I run it directly with the script it fails

       done
    }

    inout

    I am trying to figure out why I can’t just run it from inside the script, and why I must copy/paste the output of $foo

    Any ideas ?