Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (57)

  • 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 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

Sur d’autres sites (14564)

  • FFMPEG doesn't decode the first few frames with multithreaded decoding. C++

    12 octobre 2022, par Patrick McKeever

    So to get better decoding speeds, I'm setting

    


    av_stream->codec->thread_count = 32;
av_stream->codec->thread_type = FF_THREAD_FRAME;


    


    This greatly improves decoding time, but seems to lose some frames (equaling the amount of threads I set)

    


    For the first 32 or so frames, av_readframe(), and avcodec_send_packet() succeed, but avcodec_recieve_frame() seems to fail.

    


    This seems to result in the last 31 frames to not be decoded, as my loop exits once avcodec_send_packet() fails.

    


    Anyone know how I can get the final frames to also be decoded ? I read something about flushing the buffers, but I'm not really sure how to do that.

    


    Thanks.

    


  • Concatenate audio parts of different videos with ffmpeg [migrated]

    15 août 2024, par Swike

    So I have two videos :

    


      

    • Vid_eng.mkv is a high resolution video that has the audio in English.
    • 


    • Vid_esp.mkv is a low resolution video that has the audio in Spanish.
    • 


    


    Both videos are showing more or less the same stuff but the difference is that the Spanish one has the intro and outro cut out (the first 66 seconds are missing).

    


    I want to create a new video file, Vid_out.mkv that has the Vid_eng.mkv video and both audios (so the final file has multistream audio). The issue is that the Spanish audio will not be in sync with the high resolution video, so what I did was this :

    


    ffmpeg -i Vid_eng.mkv
       -f lavfi -t 66 -i anullsrc -i Vid_esp.mkv
       -filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
       -map 0 -map "[outa]"
       -metadata:s:a:0 language=eng
       -metadata:s:a:1 language=spa
       -disposition:a:1 default
       -c:v copy Vid_out.mkv


    


    What I'm doing here is essentially creating the new Vid_out.mkv using the video from Vid_eng.mkv, the audio multistream from both Vid_eng.mkv and Vid_esp.mkv, but with the twist that the audio from Vid_esp.mkv is actually beginning 66 seconds later (so that it is synced with the English video). I did this by adding 66 seconds of silence (with -f lavfi -t 66 -i anullsrc) and concatenating that silence with the Spanish audio (with -filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]") before adding this concatenated audio stream to the final file as the secondary audio. Also I included some metadata to know the which audio is which.

    


    Everything good for the moment. But now I wanted to try something more sophisticated : instead of having 66 seconds of silence concatenated to the Spanish audio I want 66 seconds of the English audio (the audio from Vid_eng.mkv), then the audio from Vid_esp.mkv, and finally when the Spanish audio has finished and the video is still going, I want the English audio again. So, instead of silence at the beginning and end of the video when played with the secondary audio stream, what I want is the English audio to play. How can I do that with ffmpeg ?

    



    


    For reference I've been following ideas from these answers :

    


    


  • how to increase bitrates of video which has been created through FFMPEG library in PHP ? [closed]

    1er octobre 2020, par Raindrops Info-tech

    Its an android application, where we are capturing image through mobile along with audio which then on server side, by using FFMPEG library we used to club them and making them MP4 Video.

    


    So as can see as a final result we are getting mp4 video having bitrates of less than 144 kbps so whenever we are trying to upload this video on twitter or LinkedIn, they guys are refused to create preview because of the smaller bitrate.

    


    Do we have any solution on how to increase Bit rates, actually we have one image along with 60 seconds audio only ? We had explored certain ways but fails to do so.

    


    Looking forward to your kind response.