Recherche avancée

Médias (91)

Autres articles (98)

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

  • How to cleanup data to reuse ffmpeg.wasm instance

    24 avril, par rickyz

    I have multiple files that I am trying to process back to back using ffmpeg.wasm. I have noticed that after around 150 runs, a memory issue comes up : RuntimeError: memory access out of bounds. I tried doing cleanup using ffmpeg.deleteFile() on both the input and output files after every run, but that didn't make a difference. Is there something I am missing that will allow me to reuse the ffmpeg instance as many times as I want ?

    


    If I can avoid it, I do not want to have to call ffmpeg.terminate() after each use since loading ffmpeg for the next use takes a long time ( .5 secs on my test machine).

    


    Note : I am using the updated ffmpeg.wasm v0.12+ in a browser setting

    


  • reading lines from txt file into .csv

    7 janvier 2014, par Dynamite Media

    i have a .TXT file i created via batch file using ffmpeg. it returns the following info ( more but trying to make short)

    major_brand=isom
    minor_version=512
    compatible_brands=isomiso2avc1mp41
    creation_time=1970-01-01 00:00:00
    encoder=Lavf53.19.0
    genre=sport
    track=1
    title=IRWX_TV_Vol_01_1_Pt_4
    episode_id=0101

    the .TXT file comes back with 3 of these above. well i want to be able to only use some of the info above and then i want to create a .CSV file so that i can load into .XLS file

    I have used the following and it's close :

    REM now lets get info we need from result.txt
    pause

    REM checks how many times finds genre and loops that many times
    FOR /f "delims=" %%b IN ('findstr "genre" result.txt') DO (
    for %%f in (result.txt) do (
       set i=0

    for /F "delims= tokens=2,3*" %%l in (%%f) do (
       set /A i+=1
       set line!i!=%%l

    )
    echo  !line9!, !line6!, !line8!,  >> result.csv
    )
    )
    pause

    and this is coming back with the following :

    title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101
    title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101
    title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101

    ONLY the 1st video title from .TXT file and not each of them

    AND i would prefer it to come back like this :

    IRWX_TV_Vol_01_1_Pt_4,sport,0101

    Minus the variables, the "=" and the space issues you see above.

    i have been going over and over this trying different things and it is just not working.

    Hopefully someone here can see the issue and help out, Thanks

  • FFmpeg RTSP + RTMP get errors

    19 décembre 2017, par Akim Benchiha

    I’m working with live streaming on nginx. What I have is a RTSP (broadcast video) stream coming from a server and a RTMP stream coming from camera.
    I combine them using ffmpeg.
    I want to send a bool to the back-end using cURL when RTMP has been stopped or if RTSP is not found/stopped

    Here the use case :
    - Send false to the back-end when the user stop recording the video (RTSP)
    - Send false to the back-end when the user stop the camera (RTMP)
    - Send true if everything is ok

    NGINX config :

    rtmp {
    server {
        listen 1935;
        ping 30s;
        notify_method get;
        application ingest {
          live on;
          exec_kill_signal term;
          idle_streams off;
          exec_push /usr/local/bin/ffmpeg_push.sh $name ;
        }
     }
    }

    FFMPEG

    ffmpeg -i $rtspstream -i rtmp://localhost/ingest/$name -ignore_unknown -filter_complex "[0]scale=-1:-1[b];[1]scale=128:128[w];[b][w] overlay=10:10" -vcodec libx264 -x264opts keyint=20:min-keyint=1 -preset ultrafast -c:a aac -f flv rtmp://IPADDRESS/ingest/$streamname 1>>/var/log/ffmpeg/$name.log 2>>/var/log/ffmpeg/$name.log &

    echo $! > /var/log/ffmpeg/${name}.pid

    Thank you