Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (59)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (13487)

  • 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

  • FFMPEG handling h264 stream that does not send a frame consistently

    23 avril 2022, par Rhys_m

    I am working with a raw h264 stream, this is a live stream coming from a device, however when the device is streaming a menu page that is static, it doesn’t send out a frame. I am feeding the stream back into a v4l2 loop back instance and then consuming this on a webpage via getUserMedia. The issue I have is that ffmpeg does not send frames to v4l2 when the hardware device is not sending frames. I have tried to set the output of ffmpeg to cfr and 60fps. However this doesn’t make it send out duplicates of the last frame. Is there anyway to achieve this ?

    


    Thanks in advance