Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (111)

  • 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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • FFMPEG libx264 mp4 file does not play in firefox Windows

    2 mai 2020, par Behel

    Some of my ffmpeg converted videos in mp4 format, using libx264 encoder, aren't playable with Firefox browser on Windows.

    



    Here is my ffmpeg command : 
ffmpeg -i file_tmp.mp4 -c:v libx264 -profile:v baseline -level 3.0 -crf 15 -preset slow -pix_fmt yuv420p -c:a aac -movflags faststart -strict -2 -vf scale=1024:576 file.mp4

    



    The video can be played with every browsers on Mac, and works well with Webkit based browers on Windows.

    



    The problem not occur with every video converted, only a few, like this one for instance : https://attentionphilippelepara.pet/testcard/m6-29_04_2020-mire.mp4

    



    Here is what I see when i try to play this media, on Firefow Windows then on Chrome Windows.

    



    Corrupted on Firefox WindowsOk on Chrome Windows

    



    I really don't see where is the problem. Can someone could help me ?

    


  • MP4 cut with ffmpeg doesn't play nicely in VLC but does in Browser

    21 février, par Alex

    I cut a video with ffmpeg :

    


    ffmpeg -ss 2 -to 10 -i src.mp4 -c copy out.mp4


    


    But the playback in VLC is choppy for the first few seconds. Strangely it does play in my browser fine.

    


    I saw this post :
https://superuser.com/questions/1167958/video-cut-with-missing-frames-in-ffmpeg?newreg=1502e1698e0344acb214aa8d7e6048bd where the suggestion is to use -avoid_negative_ts make_zero. That does fix the playback in VLC. I think that shifts the whole stream, and results in the video being longer than I want it to be.

    


    For my use case I need the video to be precisely the correct length and I can't incur the cost of a (full) re-encode. I think the addition of -avoid_negative_ts is effectively snapping the cut to the nearest keyframe.

    


    So I think the negative timestamps are upsetting VLC ? I can see they exist.

    


    $ ffprobe -v error -select_streams v:0  -of  default=noprint_wrappers=1 out.mp4 -show_entries packet=pts | head
pts=-30720
pts=-30464
pts=-30208
pts=-29952


    


    I also tried with a few other media players (Films & TV in Windows) and had similar issues. Is there a better way to handle this, in a way that will allow the output video to be played normally ?

    


    I saw the approach in this question : Cut a video in between key frames without re-encoding the full video using ffpmeg ?. But had issues with "Non-monotonous DTS" that also seemed to manifest in choppy playback.

    


  • An Electron RTSP player : How to play the video stream ?

    3 octobre 2023, par Siavoshkc

    What seemed to be an easy job turned out otherwise. I wanted to write an Electron app to manage DVR streams as I wasn't satisfied with some apps I used. I choose Electron because I recently started JS and took the opportunity to practice it and also play a bit with Electron.

    


    After deciding about how to handle GUI using web components, it was time to see how to read RTSP streams. My initial approach was to use FFmpeg. But I didn't know how to do so in Nodejs or Electron so I started a research.

    


    Long story short I understood that if one wants to use a C/C++ library in JS the best practice is to create bindings using Node API (formerly NAPI) which will result in a FFmpeg native addon. Then I assumed there is already a decent such addon available as FFmpeg is the go-to for video stuff. But to my surprise this isn't the case. Although there are some packages which run ffmpeg executive binary the ones that provide the binding are rare and not recent (such as beamcoder).

    


    FFmpeg web assembly is another option which I may consider but seemed overkill as I am not opening the streams in pure browser.

    


    Another approach was to use chromium media abilities as it has FFmpeg bundled for some media functions but to my understanding it cannot open RTSP streams at least for now.

    


    Can you please add to my current understanding on the matter ?