
Recherche avancée
Autres articles (91)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6603)
-
Multi-language broadcasting title metadata for Audio & subtitle is not working
28 septembre 2022, par Fariduzzaman XenarI have a (.mp4) video file that contains 1 video track, 2 audio tracks & 2 subtitles. I already used different titles for audio tracks on encoding, but it's not working on any web player like JWPlayer, or Flussonic, where Multi-language broadcasting is supported. It shows eng a1, hin a2 for audio | eng t1, ben t2 for subtitle


I want to show it like this English, Hindi for audio | English, Bangla for Subtitle


Here is my video Detail :
[FROM FFPROBE]


Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 2254 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:2[0x3](hin): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 161 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:3[0x4](eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s
 Metadata:
 handler_name : SubtitleHandler
 Stream #0:4[0x5](ben): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
 Metadata:
 handler_name : SubtitleHandler
 Stream #0:5[0x6](eng): Data: bin_data (text / 0x74786574)
 Metadata:
 handler_name : SubtitleHandler



[FROM MEDIAINFO]


General
Complete name : video.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 2.64 GiB
Duration : 2 h 28 min
Overall bit rate mode : Variable
Overall bit rate : 2 551 kb/s
Writing application : Lavf59.32.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2 h 27 min
Source duration : 2 h 27 min
Bit rate : 2 141 kb/s
Nominal bit rate : 2 250 kb/s
Maximum bit rate : 2 254 kb/s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1


Audio #1
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Channel(s) : 2 channels
Source stream size : 137 MiB (5%)
Title : English
Language : English
Default : Yes
Alternate group : 1
Menus : 6

Audio #2
ID : 3
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Channel(s) : 2 channels
Source stream size : 171 MiB (6%)
Title : Hindi
Language : Hindi
Default : Yes
Alternate group : 2
Menus : 6

Text #1
ID : 4
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 2 h 27 min
Bit rate mode : Variable
Bit rate : 69 b/s
Stream size : 74.4 KiB (0%)
Title : English
Language : English
Default : No
Forced : No
Alternate group : 3
Menus : 6

Text #2
ID : 5
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 2 h 27 min
Bit rate mode : Variable
Bit rate : 164 b/s
Stream size : 178 KiB (0%)
Title : Bangla
Language : Bengali
Default : Yes
Forced : No
Alternate group : 4
Menus : 6




-
Stream microphone from client browser to remote server and pass audio in real time to ffmpeg to combine with a second video source
4 mai 2021, par fakeguybrushthreepwoodAs a beginner at working with these kinds of real-time streaming services, I've spent hours trying to work out how this is possible, but can't seem to work out I'd precisely go about it.


I'm prototyping a personal basic web app that does the following :


- 

-
In a web browser, the web application has a button that says 'Stream Microphone' - when pressed it streams the audio from the user's microphone (the user obviously has to consent to give permission to send their microphone audio) through to the server which I was presuming would be running node.js (no specific reason at this point, just thought this is how I'd go about doing it).


-
The server receives the audio close enough to real-time somehow (not sure how I'd do this).


-
I can then run ffmpeg on the command line and take the real-time audio coming in real-time and add it as the sound to a video file (let's just say I'm going to play testmovie.mp4) that I want to play.










I've looked at various solutions - such as maybe using WebRTC, RTP/RTSP, Piping audio into ffmpeg, Gstreamer, Kurento, Flashphoner and/or Wowza - but somehow they look overly complicated and usually seem to focus on video along with audio. I just need to work with audio.


-
-
How do you use Ffmpeg to give unique title/track names (%02d) using -metadata when spliting a .mp3 file ? [closed]
11 août 2023, par Dave F(I'm using ffmpeg version 6.0-essentials_build-www.gyan.dev)


I've successfully split a .mp3 file & given the resulting files unique names using "XX_%02d.mp3" in the following command : XX_01, XX_02 etc.


How do I perform similar for the file's title or track ?
-metadata track="YY_%02d"
gives the file the literal track name of YY%02d. How can I get the -metadata command to accept the numerical coding ?

ffmpeg -i "input.mp3" -c copy -segment_time 500 -f segment -segment_start_number 1 -metadata title="YY_%02d" -metadata track="YY%02d" "XX_%02d.mp3"