Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (101)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • 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 !

    


  • Batch Script + FFmpeg — Use FOR loop to pipe AND concat all files found except last file

    11 octobre 2020, par slyfox1186

    Im trying to convert all '.mp4' files in a folder into '.ts' files so I can use FFmpeg.exe to combine them all into one long '.mp4' video.

    


    I have to use the concat command to combine the .ts files when using ffmpeg.

    


    Below is a working line of code to do this the long way.... I want to use a for loop in case I have way more than just 3 files to combine.

    


    ffmpeg.exe -hide_banner -y -i concat:"a.ts|b.ts|c.ts" -c copy -bsf:a aac_adtstoasc "COMBINED.mp4"


    


    I can make this loop work by using the below for command but the last file found can not have a pipe after it | like c.ts" above didn't.

    


        FOR /F "USEBACKQ TOKENS=* DELIMS= ,|" %%I IN ('%%~dpnG.ts') DO (
    SET FNAME=%%~dpnI
    ECHO.
    ECHO !FNAME!
    PAUSE>NUL
    EXIT
)


    


    Does anyone know if it's even possible (maybe with tokens) to do this in a batch file ? If not any suggestions ? PowerShell ?

    


    In response to Compo's question here is my working script :

    


    @ECHO OFF
SETLOCAL
COLOR 0A
TITLE CONCAT MULTIPLE MP4 FILES

PUSHD "%~dp0"

SET FF="C:\MAB\local64\bin-video\ffmpeg.exe"

:: SET VIDEO NAME WITHOUT EXTENSION (.MP4)
SET IN01=a
SET IN02=b
SET IN03=c
SET COMBINED=FULL

:: CREATE TEMP .TS VIDEOS OF THE FILES YOU WANT TO COMBINE
%FF% -hide_banner -y -i "%IN01%.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "%IN01%.ts"
%FF% -hide_banner -y -i "%IN02%.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "%IN02%.ts"
%FF% -hide_banner -y -i "%IN03%.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "%IN03%.ts"

:: COMBINE TEMP .TS FILES INTO COMBINED .MP4
%FF% -hide_banner -y -i concat:"%IN01%.ts|%IN02%.ts|%IN03%.ts" -c copy -bsf:a aac_adtstoasc "%COMBINED%.mp4"

ECHO.
PAUSE
EXIT


    


  • Not able to pipe gstreamer output into ffmpeg

    13 janvier, par Henry Soang

    has anybody gotten gstreamer to successfully pipe it's video output into ffmpeg ?

    


    I've tried playing with /dev/stdout and I keep getting errors :

    


    gst-launch -e v4l2src device=/dev/video0 \
! 'video/x-raw-yuv,width=1920,height=1080,framerate=5/1'  \
! nv_omx_h264enc quality-level=2 ! mp4mux \
! filesink location=/dev/stdout \
 | ffmpeg -y -i - -codec copy   -f flv test.flv


    


    ...
[aac @ 0xebc4c0] Could not find codec parameters for stream 0 (Audio: aac (Main), 7.1, fltp, 1351 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
pipe:: could not find codec parameters
Input #0, aac, from 'pipe:':
  Duration: N/A, bitrate: 1351 kb/s
    Stream #0:0: Audio: aac (Main), 7.1, fltp, 1351 kb/s
[flv @ 0xec9280] sample rate not set
Output #0, flv, to 'test.flv':
    Stream #0:0: Audio: aac, 7.1, 1351 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


    Running the commands separately (replacing /dev/stdout with a file) works fine.

    


    If you got it to work and can share how you did it, that would be great.

    


    Thanks.