Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (94)

  • 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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

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

  • How to benchmark the decoding of the frame by ffmpeg ?

    18 mai 2016, par Anny G

    [ What I have done ]

    I am trying to measure a performance of different ffmpeg decoders by

    • timing how long the call to function avcodec_decode_video2(..) takes in ffmpeg.c and running ffmpeg binary the following way

    ~/bin/ffmpeg -benchmark_all -loglevel debug -threads 0 -i ~/Documents/video-input.h264 -c:v libx265 -x265-params crf=25 video-output.hevc

    • and by timing how long the same function takes in ffplay.c and running the ffplay binary the following way

    ~/bin/ffplay ~/Documents/video-input.h264

    In my understanding the average time for the call to that function should be the same whether I am converting the video or playing it, because I am only measuring how long it takes to decode the frame for that video. Is this a wrong way of doing it ? Please let me know if I am incorrect. The results I am getting are strange to me - the call to the aforementioned function takes twice as much in ffmpeg binary compared to ffplay binary. I have tried to run ffmpeg binary with -threads 0 and without it, but the results are still the same(twice as long as ffplay). Could it be because ffplay binary simply utilizes more threads ? When I try it with -threads 1, ffmpeg takes about 10 times as long as ffplay (which makes sense to me since before it was using several threads and now it is only using 1)

    Before I ask my question, I want you to know that I am a beginner in video processing and video encoding/decoding processes.

    [My question]

    I am wondering what would be an accurate way to measure how long it takes to decode a frame (using 1 thread) ? Should I simply measure only how long it takes to call avcodec_decode_video2(..) function using the ffmpeg binary, and not the ffplay binary ? Would the results be more accurate that way ?
    I also tried to enable -benchmark_all -loglevel debug options, but it seems like the following message bench:    64537 decode_video 0.0 is not very helpful if 0.0 is supposed to mean time. (Not sure what the other number means).

  • How to benchmark the decoding of the frame by ffmpeg ?

    13 juin 2018, par Anny G

    [ What I have done ]

    I am trying to measure a performance of different ffmpeg decoders by

    • timing how long the call to function avcodec_decode_video2(..) takes in ffmpeg.c and running ffmpeg binary the following way

    ~/bin/ffmpeg -benchmark_all -loglevel debug -threads 0 -i ~/Documents/video-input.h264 -c:v libx265 -x265-params crf=25 video-output.hevc

    • and by timing how long the same function takes in ffplay.c and running the ffplay binary the following way

    ~/bin/ffplay ~/Documents/video-input.h264

    In my understanding the average time for the call to that function should be the same whether I am converting the video or playing it, because I am only measuring how long it takes to decode the frame for that video. Is this a wrong way of doing it ? Please let me know if I am incorrect. The results I am getting are strange to me - the call to the aforementioned function takes twice as much in ffmpeg binary compared to ffplay binary. I have tried to run ffmpeg binary with -threads 0 and without it, but the results are still the same(twice as long as ffplay). Could it be because ffplay binary simply utilizes more threads ? When I try it with -threads 1, ffmpeg takes about 10 times as long as ffplay (which makes sense to me since before it was using several threads and now it is only using 1)

    Before I ask my question, I want you to know that I am a beginner in video processing and video encoding/decoding processes.

    [My question]

    I am wondering what would be an accurate way to measure how long it takes to decode a frame (using 1 thread) ? Should I simply measure only how long it takes to call avcodec_decode_video2(..) function using the ffmpeg binary, and not the ffplay binary ? Would the results be more accurate that way ?
    I also tried to enable -benchmark_all -loglevel debug options, but it seems like the following message bench:    64537 decode_video 0.0 is not very helpful if 0.0 is supposed to mean time. (Not sure what the other number means).

  • the same audio have different length using different tools (librosa,ffprobe)

    29 octobre 2019, par Fathy Eltanany

    I want to measure an audio file’s duration.
    I’m using two different tools and got different values.

    1. ffprobe :
      I’m using this line to get duration using ffprobe
    ffprobe -i audio.m4a -show_entries format=duration -v quiet -of csv="p=0"

    result :780.320000 seconds
    2. Librosa (python library)
    and using this line to get duartion using librosa

    y1, sr1 = librosa.load(audio_path, sr=44100)
    librosa.get_duration(y1, sr1) * 1000

    result 780329.7959183673 milliseconds

    Does anyone know what’s causing the difference ?