Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (34)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (6566)

  • Windows FFMPEG concat from list and log each file inputted into to ffmpeg [closed]

    4 janvier 2021, par hammer head down

    Ok i have a working batch filr, where I grab from a text file a list of videos to concat as such

    


    ffconcat version 1.0
file 'dan_Ep_01HardWater.ts'
file 'dan_Ep_02GoldieTheGoldfish.ts'
file 'list2.txt


    


    I then feed that to ffmpeg and display on ffplay at the same time using this code :

    


    bin\ffmpeg -hide_banner -loglevel quiet -report -stats -re -f concat -safe 0 -stream_loop -1 -i %list% -flags +global_header -auto_convert 1 -c:v libx264 -bsf:v h264_mp4toannexb -c:a aac -b:a 128k -ac 2 -ar 44100 -bsf:a aac_adtstoasc -preset veryfast -b:v 1984k -maxrate 1984k -bufsize 3968k -tune zerolatency -vf "pp=hb/vb/dr/fq|8,crop=in_w-20:in_h-40,scale=960:540:flags=lanczos,setsar=1,format=yuv420p,eq=gamma=0.95" -g 50 -fflags +genpts -map 0:v -map 0:a -f tee "[select=v,a:movflags=+faststart]%stream%|[f=flv]%video%|[f=nut]pipe:" | bin\ffplay -hide_banner -loglevel 0 pipe:  -window_title "Stream Monitor 1.0 - (powered by FFPlay)  --   NOTE: closing me stops your streaming!" -x 640 -y 480  -sync audio -autoexit -exitonmousedown -autorotate


    


    I know some variables are not showing from batch file but I think you get the point if not i can add a link to maybe pastebin with full batch file

    


    So this works great but i want o be able to log which file that ffmpeg has just worked on or is working on to a log file.

    


    because i am piping to ffplay which i do NOT want to change took me too long to get it working lol plus its valuable

    


    the reason for doing this is when i am creating my next list.txt to feed to FFmpeg i do not want to do the same file twice.

    


    im guessing cause i am using windows it will be some extra work in pure Batch but the first step is to get the file info to a text file

    


    I cant use > out.txt 2> err.txt is it possible to create another pipe ?

    


    I thought of using ffprobe and pipeing to ffmpeg but couldn't find any info on how to do that either, abt

    


    I'm just lost and I can NOT find any info on the web, I hope I asked correctly here. if not please explain what I did wrong b4 downvoting or other wise. thanks

    


  • Running pulseaudio inside docker container to record system audio

    20 mars 2023, par XXLuigiMario

    I'm trying to set up a Docker container with Selenium that takes a recording of the browser with system audio using ffmpeg. I've got video working using Xvfb. Unfortunately, on the audio side, it seems to be more tricky.

    


    I thought I would set up a virtual pulseaudio sink inside the container, which would allow me to record its monitor :

    


    pacmd load-module module-null-sink sink_name=loopback
pacmd set-default-sink loopback
ffmpeg -f pulse -i loopback.monitor test.wav


    


    This works on my host operating system, but when trying to start the pulseaudio daemon in a container, it fails with the following message :

    


    E: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


    


    This would seem to be related to a freedesktop service called dbus. I've tried installing it and starting its daemon, but I couldn't seem to get it to work properly.
I couldn't find much information on how to proceed from here. What am I missing for pulseaudio ? Perhaps there's an easier way to record the system audio inside a container ?

    


    My goal is not to record it from the host operating system, but to play the audio inside the browser and record it all inside the same container.

    


  • How to use FFmpeg & "tee" to UDP video (only) stream to another computer while recording to computer with USB camera

    13 juillet 2020, par pomptondrive

    I'm trying to get "tee muxer" to work with FFmpeg, but I'm not having much luck. Basically I would like to stream a USB camera with UDP to another computer with an decent/acceptable result to monitor, while recording around 15 FPS in an economical (compressed) fashion that won't take up too much disk space. Honestly, I don't understand the entire syntax of using "tee"—I guess that's obvious. I have looked at some of the FFmpeg documentation, but it doesn't seem comprehensive enough in this instance.

    


    So, currently, I have experimented a little and this works for streaming (picking up with VLC on the other computer) :

    


    ffmpeg -f v4l2 -i /dev/video0 -profile:v high -pix_fmt yuvj420p -level:v 4.1 -preset ultrafast -tune zerolatency -vcodec libx264 -r 15 -b:v 512k -s 640x480 -f mpegts -flush_packets 0 udp://192.168.0.19:5000?pkt_size=1316


    


    I've also checked and this records OK (I do NOT actually want it to ffplay on this machine ; this was just some code I found to test.) :

    


    ffmpeg -f v4l2 -i /dev/video0 -map 0 -c:v libx264 -f tee "Documents/video01.mkv|[f=nut]pipe:" | ffplay pipe:


    


    So the next objective is to combine the two with tee, and do a UDP stream to the other computer, while recording an mkv file to the computer with the camera. I've tried several ways to do this with no success ; results have been just one or the other, because my syntax is crap, or I'm just particularly inept at this particular task. ;-)

    


    After that (icing on the cake) would be to create separate *.mkv files at 15-minute intervals, and have them self-destruct after a couple of days.

    


    Any help with the tee business would be greatly appreciated.