
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (91)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe 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 (3693)
-
How to change metadata company_name using ffmpeg
16 juillet 2020, par Pushp VashishtAccording to the documentation, to change the metadata,we have to use -metadata option and provide key/value pair of the metadata that we want to add/change :


ffmpeg -i in.avi -metadata title="my title" out.flv



So, I tried doing :


ffmpeg -i in.avi -metadata company_name="My Company" out.flv



Now, when I print out the metadata using ffprobe :


Metadata:
 uid : adab4424-2f25-4dc7-92ff-29bd000c0000
 generation_uid : adab4424-2f25-4dc7-92ff-29bd000c0001
 company_name : FFmpeg



How do I change the metadata company_name ?


EDIT :


log after running the ffmpeg command


ffmpeg -i in.avi -metadata company_name="My Company" out.flv
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
 configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mxf, from 'rep12.mxf':
 Metadata:
 uid : adab4424-2f25-4dc7-92ff-29bd000c0000
 generation_uid : adab4424-2f25-4dc7-92ff-29bd000c0001
 company_name : FFmpeg
 product_name : OP1a Muxer
 product_version : 57.83.100
 product_uid : adab4424-2f25-4dc7-92ff-29bd000c0002
 modification_date: 0-01-02T00:00:00.000000Z
 material_package_umid: 0x060A2B340101010501010D001343BF7652947134C343BF760052947134C34300
 timecode : 00:00:00:00
 Duration: 00:00:30.03, start: 0.000000, bitrate: 3027 kb/s
 Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
 Metadata:
 file_package_umid: 0x060A2B340101010501010D001343BF7652947134C343BF760052947134C34301
 Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 Metadata:
 file_package_umid: 0x060A2B340101010501010D001343BF7652947134C343BF760052947134C34301
Stream mapping:
 Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
 Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, mxf, to 'out.mxf':
 Metadata:
 uid : adab4424-2f25-4dc7-92ff-29bd000c0000
 generation_uid : adab4424-2f25-4dc7-92ff-29bd000c0001
 timecode : 00:00:00:00
 product_name : OP1a Muxer
 product_version : 57.83.100
 product_uid : adab4424-2f25-4dc7-92ff-29bd000c0002
 modification_date: 0-01-02T00:00:00.000000Z
 material_package_umid: 0x060A2B340101010501010D001343BF7652947134C343BF760052947134C34300
 company_name : Pushp
 encoder : Lavf57.83.100
 Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
 Metadata:
 file_package_umid: 0x060A2B340101010501010D001343BF7652947134C343BF760052947134C34301
 encoder : Lavc57.107.100 mpeg2video
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
 Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 Metadata:
 file_package_umid: 0x060A2B340101010501010D001343BF7652947134C343BF760052947134C34301
 encoder : Lavc57.107.100 pcm_s16le
frame= 900 fps=407 q=24.8 Lsize= 11047kB time=00:00:30.03 bitrate=3013.6kbits/s speed=13.6x 
video:4456kB audio:5631kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.519076%



-
Is there a way to convert uploaded videos to browser MP4 using most basic ffmpeg ?
22 janvier 2016, par PeterTheLobsterI am trying to convert videos uploaded to my website to browser friendly mp4 using ffmpeg.
The Problem : the website is hosted by a company and it seems like it does not have the codecs I need (the ones I’m aware to be browser-friendly.) I have learned that h264 and libx264 are the codecs I would want to encode the mp4 videos to, but libx264 is not present and h264 is decodable only. Doing :
exec("ffmpeg -codecs", $output);
tells me that :
D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
I have tried converting the videos using mpeg4 codecs, but those are not supported natively in browsers it appears :
$command ="$ffmpeg -i $target -b 1500k -vcodec mpeg4 -pix_fmt yuv420p -acodec aac -strict experimental $converted2 2>&1";
exec($command, $output);The videos converted using the method above play only audio in chrome for example (the mpeg4 codec encoding is supported).
Edit : I was able to convert videos to ogg and webm, but those won’t cover all browsers as far as I’m aware. Especially not the mobile ones anyway.
Question : is there another type of basic ffmpeg, browser friendly mp4 codecs that I am not ware of or was there something wrong with my conversion $command above ? Or would I have to somehow try to install libx264 codecs and libraries ? (My guess is, that I probably cant do that to their servers, right ?)
-
Real time livestreaming - RPI
24 avril 2022, par VictorI work at a telehealth company and we are using connected medical devices in order to provide the doctor with real time information from these equipements, the equipements are used by a trained health Professional.


Those devices work with video and audio. Right now, we are using them with peerjs (so peer to peer connection) but we are trying to move away from that and have a RPI with his only job to stream data (so streaming audio and video).


Because the equipements are supposed to be used with instructions from a doctor we need the doctor to receive the data in real time.


But we also need the trained health professional to see what he is doing (so we need a local feed from the equipement)


How do we capture audio and video


We are using ffmpeg with a go client that is in charge of managing the ffmpeg clients and stream them to a SRS server.
This works but we are having a 2-3 sec delay when streaming the data. (rtmp from ffmpeg and flv on the front end)


ffmpeg settings :


("ffmpeg", "-f", "v4l2", `-i`, "*/video0", "-f", "flv", "-vcodec", "libx264", "-x264opts", "keyint=15", "-preset", "ultrafast", "-tune", "zerolatency", "-fflags", "nobuffer", "-b:a", "160k", "-threads", "0", "-g", "0", "rtmp://srs-url")



My questions


- 

- Is there a way for this set up to achieve low latency (<1 sec) (for the nurse and for the doctor) ?
- Is the way I want to achieve this good ? Is there a batter way ?






Flow schema


Data exchange and use case flow