Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (98)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Live streaming HLS encoding - FFMPEG av_interleaved_write_frame broken pipe

    10 octobre 2020, par tidpe

    i'm running ffmpeg to encode live streaming.
Sometimes (not always) while encoding I got this error : "av_interleaved_write_frame broken pipe"

    


    My FFMPEG code is something like that :

    


    ffmpeg -re -i rtmp://localhost:587/live/test -rw_timeout 500 -http_persistent 1 -method PUT -f hls -hls_list_size 5 -hls_flags discont_start+omit_endlist -async 1 -vf "scale=640:trunc(ow/a/2)*2" -movflags +faststart -c:a libfdk_aac -ar 48000 -c:v h264 -profile:v main -crf 24 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -preset veryfast -b:v 350k -maxrate 800k -bufsize 1100k  -b:a 96k -vcodec libx264 -hls_segment_filename http://serverwherepulish.com/url/var1/ts/var1_%03d.ts http://serverwherepulish.com/url/var1/1.m3u8 \
-http_persistent 1 -f hls -hls_list_size 5 -hls_flags discont_start+omit_endlist -async 1 -vf "scale=842:trunc(ow/a/2)*2" -movflags +faststart -c:a libfdk_aac -ar 48000 -c:v h264 -profile:v main -crf 24 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -preset veryfast -b:v 800k -maxrate 1200k -bufsize 1700k  -b:a 128k -vcodec libx264 -hls_segment_filename http://serverwherepublish.com/url/var2/ts/var2_%03d.ts  http://serverwherepublish.com/url/var2/2.m3u8 \
-http_persistent 1 -f hls -hls_list_size 5 -hls_flags discont_start+omit_endlist -async 1 -vf "scale=1280:trunc(ow/a/2)*2" -movflags +faststart -c:a libfdk_aac -ar 48000 -c:v h264 -profile:v main -crf 24 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -preset veryfast -b:v 1200k  -maxrate 1900k -bufsize 2400k -b:a 128k -vcodec libx264 -hls_segment_filename http://serverwherepublish.com/url/var3/ts/var3_%03d.ts  http://serverwherepublish.com/url/var3/3.m3u8 


    


    I can't figure out, tried to change few parameters but nothing solve the problem.
Some suggestion ?

    


    Thank you !

    


  • FFmpeg pipe input for concat

    14 octobre 2020, par bluejayke

    I am trying to make a real time video recorder with ffmpeg (not screen recorder, unity player recorder of Specific dimensions)

    


    I am able to get the ARGB data, and so far I have been writing it to a bunch of bmps and then running ffmpegs concat command like

    


    ffmpeg -i files.txt -i pictures/pic%06d.bmp output.mp4

    


    With different codecs etc, and my files.txt is essentially (pseudo)

    


    ffconcat version 1.0 file pic000000.bmp duration 0.016 #etc, basically the durations were generated from time stamps

    


    Anyways that all works believe it or not, but writing the files to disk as bmp (or even encoding them as a compressed format then writing that to disk) takes up a lot of extra time and I would prefer to pipe the data directly to ffmpeg

    


    I know in some cases you can input a file by using the - operator then in whatever programming language the prices was started from pass on the byte data though stdin I am pretty sure, although the problem :

    


    I have only been able to find out how to do this with a set framerate, but not with the concat, and I (think ?) I need to use concat here because it's very important that the images have an exact time stamp on the body to line up with audio, as there will be a slight delay when capturing the frames, and so far I have been calculatabling each frames duration based on their timestamps (and the last one has no duration), in order to line them up perfectly with the audio, but as far as I can find the concat feature seems to require the files to already be written to the disk and then specified in a text file..

    


    So is there any way to get a custom frame rate for each frame without writing the frames to disk first, and just piping them in ? Does concat in any way support - ? Is there another way I can line up the frames with audio ? Do other video recording softwares face similar issues ?

    


  • How can I preview and republish a webcam stream with ffmpeg and PowerShell ? (Non-blocking buffered named pipe in Powershell)

    30 octobre 2020, par Marvin Irwin

    My question is a duplicate of this, except for powershell, however in the interest of avoiding the XY problem I'll describe my objective.

    


    I'd like to use ffmpeg to create a preview of my webcam, while broadcasting to another process which would like to use the video.

    


    I figure I'll created a named pipe in PowerShell, and use ffmpeg to preview the webcam with sdl while writing the output to the pipe and letting other process eavesdrop on it.

    


    $pipe = New-Object System.IO.Pipes.NamedPipeServerStream('webcam', [System.IO.Pipes.PipeDirection]::Out);

ffmpeg.exe `
-y `
-f dshow `
-i "video=vide_source:audio=audio_source" `
-f mjpeg \\.\\pipe\\webcam `
-pix_fmt yuv420p -window_x 0 -window_y 0 -f sdl :0 


    


    After running this command for a few seconds, ffmpeg warns me that my real-time buffer is full.

    


    How can I accept a pipe which accepts and emits/discards data immediately ?