Recherche avancée

Médias (91)

Autres articles (92)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6210)

  • FFmpeg reverse long audio hang randomly in Android

    23 mars 2021, par Michael

    I am writing an Android APP, underneath I simply use FFmpeg command to reverse the audio.

    


    The command is simple like :ffmpeg -loglevel debug -debug_ts -i /sdcard/.m4a -af areverse /sdcard/longaudio.aac

    


    If the audio is short, everything works fine, but if the audio longer than 10 mins, the thread will hang(sleep) randomly at some places. The log shows input processing stop in middle at some pkt_pts, every time stop at different ptk_pts. The whole app will therefore hang in there.

    


    If I simply do conversion "ffmpeg -loglevel debug -debug_ts -i /sdcard/.m4a -codec:a aac /sdcard/longaudio.aac" it will work.

    


    Some debug steps I did :

    


      

    1. The memory and cpu usage is normal, it seems the ffmpeg just suddenly decide to take a rest during reverse the long audio :(

      


    2. 


    3. the IO shouldn't be fulled, I commented out the logs still not ok.

      


    4. 


    5. I see a lot "cur_dts is invalid (this is harmless if it occurs once at the start per stream)", but it also showed in normal cases.

      


    6. 


    


    I know the description is kind of ambiguous, but I am so desperate. Anything I don't know about the audio reverse is welcome.

    


  • How to generate a video by looping an image and then concat with another very long video without re-encoding using ffmpeg ?

    23 mars 2021, par Linghao Chen

    I have an image and a very long video (1.5h).
Now I want to generate a heading video about 5 seconds by looping the image, and then concatenate it with the long video. Since the video is long, I don't want to re-encode the videos.
I have tried to generate the heading video using

    


    ffmpeg -loop 1 -i image.png -c:v libx264 -t 5 -pix_fmt yuv420p head.mp4


    


    and then

    


    ffmpeg -f concat -i list.txt -c:v copy concat.mp4


    


    where the list.txt contains

    


    file head.mp4
file longvideo.mp4


    


    I have tried these operations on two machines.
On one machine, the concatenated video has no audio. Moreover, it stucks at 5-10 seconds and directly jump to 11s.
On the other machine, the video and audio are not synchronized.

    


    To provide more information, I have checked the codecs of the two videos by

    


    ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
  -of default=noprint_wrappers=1:nokey=1 xxxxx.mp4


    


    Both of them are h264.

    


    My question is, how to generate it correctly with ffmpeg ? If it is hard using ffmpeg, is there any method to do it fast ? As far as I know, Adobe Premiere and Final Cut Pro do not export as fast as I expect because they re-encode the videos.

    


  • avformat/avlanguage : Remove long disabled av_convert_lang_to

    25 février 2021, par Andreas Rheinhardt
    avformat/avlanguage : Remove long disabled av_convert_lang_to
    

    1582e306a47977b09fddb029b999f99eb03cd485 scheduled it for removal with
    libavformat major version 58, but it was never removed.

    Reviewed-by : Paul B Mahol <onemda@gmail.com
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/avlanguage.c
    • [DH] libavformat/avlanguage.h