Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (111)

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

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (14771)

  • Converting powerpoint .mov to .ts for streaming

    12 décembre 2017, par Cyril

    I have a .mov video (powerpoint exported to video) at 0.5 fps, and I want to stream this video :

    • stream server : vlc
    • stream client : omxplayer (video player for Raspberry Pi)

    Currently, I encode every video for streaming like this :

    ffmpeg -y -i video.mov -vcodec libx264 -preset veryfast -g 60 -acodec aac video.ts

    This works fine for any video, except for videos created by powerpoint. Those videos are at 0.5 fps, and it looks like vlc needs at least 10 fps for streaming. So I tried this in order to have 30 fps on the .ts file :

    ffmpeg -y -i video.mov -vcodec libx264 -preset veryfast -g 60 -acodec aac -r 30 video.ts

    But it doesn’t add frames :

    […]
    frame=    6 fps=0.0 q=-1.0 Lsize=     193kB time=00:00:06.00 bitrate= 264.0kbits/s speed=9.64x
    […]

    Creating a .mp4 file works fine, but can’t be streamed :

    ffmpeg -y -i video.mov -vcodec libx264 -preset veryfast -g 60 -acodec aac -r 30 video.mp4
    […]
    frame=  360 fps= 52 q=-1.0 Lsize=     314kB time=00:00:11.90 bitrate= 215.9kbits/s dup=354 drop=0 speed=1.71x
    […]

    I also tried converting this .mp4 video to a .ts for streaming, but the stream doesn’t work :

    ffmpeg -y -i video.mp4 -vcodec libx264 -preset veryfast -g 60 -acodec aac video.ts

    I found one way to have a working .ts file, but I don’t like it. It implies converting the file to raw yuv file, then converting it again to a h264 .ts file. I don’t like it because the raw yuv file is really big, and I need to specify the height and width of the final file :

    ffmpeg -y -i video.mov -vcodec rawvideo -acodec aac -pix_fmt yuv420p -r 30 video.yuv
    ffmpeg -y -f rawvideo -pix_fmt yuv420p -s:v 640x480 -r 30 -i video.yuv -vcodec libx264 -preset veryfast -g 60 -acodec copy video.ts

    So here is my question : is there a simple way to convert this .mov video to a streamable .ts video ?

  • QML Video doesn't work robust with UDP streaming

    4 avril 2017, par user2810472

    I am using QT/QML to write a player for raspberry-pi. I need to know what is the best practice of using Video QML element for a robust streaming play.

    My QML code is like below,

    Video {
       id: streaming_video
       width : parent.width
       height : parent.height
       autoPlay: false;
       opacity: 0.0
       fillMode : Image.Stretch
       muted : false
    }

    function switch_udpstream_on() {
       streaming_video.opacity = 1.0;
       streaming_video.source = "udp://localhost:7777";
       streaming_video.play();
    }

    function switch_udpstream_off() {
       streaming_video.opacity = 0.0;
       streaming_video.stop();
    }

    Once I started streaming sender like below,

    ffmpeg -re -i 519183632_4.mp4 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -preset ultrafast -f mpegts udp://rpi-ip:7777

    It shows the load of logs rpi player back end and start infinitely printing,

    WARNING : No decoded frame to show at all. Let’ render black.

    even though I stop sender, player is not stopping printing the above.

    If I use ffplay instead, it works fine.

  • ffmpeg streaming very inefficiently

    10 juin 2017, par diatomym

    basically what I’m doing is grabbing a twitch stream via streamlink and outputting it to a youtube stream via ffmpeg. When looking up how I could do that I (admittedly) just copied the first command on the documentation and tweaked it a bit and ended up with this command :

    streamlink -O twitch.tv/boxbox best | ffmpeg -i pipe:0 -s 1920x1200 -framerate 30 -vcodec libx264 -preset veryfast -s 1280x720 -threads 0 -f flv "rtmp://a.rtmp.youtube.com/live2/-------------"

    running this command works, a stream appears on youtube, but it is very laggy. the console tells me that I’m streaming at a consistent 9fps which is not really what I want. Since this is my very first experience with ffmpeg I dont really know what is causing this. It might even be my server since I’m running a pretty cheap debian VPS. Is this expectable or can I tweak this to stream it better ?