Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (78)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (12041)

  • 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 ?