
Recherche avancée
Autres articles (85)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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) (...)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11753)
-
upload video stream and audio stream on iOS
18 juillet 2015, par ronanHere’s the needs : People record their video via my App and upload stream to our website, you know, like a live show.
When they are recording, the network goes bad, then record audio instead of video.
And when audience watch, first comes the video, in a certain time comes the audio with a static picture.How am I supposed to do that ? Thanks.
-
How to add a comment into a mp3, in a specific language, using ffmpeg [duplicate]
20 août 2021, par Valery LetroyeI am fighting with ffmpeg to add a comment in french into a mp3. I want that comment to be displayed within the tab "Details" of the "Properties" window that I can open from Windows Explorer (which is using French as "Display Language").


Ie. : I want this view :




Unfortunately, I can't find how to do it.


In the illustration above, I did edit the comment directly from the "Details" tag of the "Properties" window. If I look at the Exif info of the file with "exiftool test.mp3", I see


Comment (fra) : Test Comment FR



Next, if I open the file test.mp3 with mp3tag (where fra is defined as my language via the Options > Advanced), I see correctly the comment :




Then, if I replace that comment into "Test Comment FR - Edit", within mp3tag, and save it, here is what I get with exiftool :


Comment (fra) : Test Comment FR - Edit
Comment : Test Comment FR - Edit



mp3tag has updated the Exif info "Comment (fra)" and added the ID3 tag "Comment".


Now, if I try to add the comment with ffmpeg with the following commands (to clean first all metadata of my previous tests) :


ffmpeg -i test.mp3 -map 0 -map_metadata -1 -c copy test-blank.mp3
ffmpeg -y -i test-blank.mp3 -metadata comment="Test Comment FR - ffmpeg" -c copy test.mp3



Here are the Exif info I get :


User Defined Text : (comment) Test Comment FR - ffmpeg



This info is not displayed in the "Details" tab of the "Properties" window.
Notice that it is however properly displayed by mp3tag.


I did try to specify the language to ffmpeg with -metadata language="fra", or to use the metadata "Comment" or "Comment (fra)" instead of "comment", but nothing helped.


I am totally lost as not an expert in ID3 and ffmpeg... And I didn't find any trick on Google.
NB. : I am using ffmpeg and exiftool in a Shell console on my Synology, to convert mp4 to mp3 (
ffmpeg version 2.7.7 built with gcc 4.9.3).


Is there anyone experienced with ffmpeg who could guide me ?
PS. : I am even not sure that the comment added by ffmpeg would be displayed by a "English" version of Windows...


A big thx in advance !


V.


-
ffmpeg : Preventing Unecessary Duplication of Frames In Overlay
10 avril 2018, par SuperUser_NoviceI’m using ffmpeg to overlay two videos. The overlay which sits in the top left corner is a collection of png images that act as a frame-counter and time-stamp for the video that the frames have been created around.
The problem I’m having is that the frames have been generated to exactly match the number of frames the video it is overlaid to has, that way the counter is accurate and frames can be analyzed later. Right now :
"ffmpeg", "-i", fmt.Sprintf("%s%s", CCME.PathsToUse[0], CCME.UnderlayVideo),
"-i", fmt.Sprintf("%s%s", CCME.PathsToUse[1], CCME.VideoName),
"-filter_complex", fmt.Sprintf("overlay=%s", CCME.OverlayPosition),
"-vsync", "0", "-y", "-strict", "-2",
fmt.Sprintf("%s%s.%s", CCME.PathsToUse[2], CCME.FinalVideoName, CCME.VidFormat(This is a go program running ffmpeg through exec thus the weird format) produces exactly the number of frames expected, but upon analyzing it, every third frame in the overlay video is dropped and the frame before it is duplicated, taking the correct frames place.
I’ve analyzed the overlay video on its own and it does not have any duplicated frames and the underlay videos frames do not duplicate either.
This behavior is confusing the rest of the program which is expecting an ordered set of frames and is instead getting repeats of one frame then a jump ahead to the frame it’s supposed to be at (It is also confusing me). Can anyone explain this behavior and perhaps let me know if there is a way to prevent this from happening ? Is there a problem with the arguments I’m passing to ffmpeg in the snippet that may contribute to this behavior ?
Command :
ffprobe -f lavfi -i "movie=inputvid.format,fps=fps=24[out0]" -show_frames -show_entries frame=pkt_pts_time -of csv=p=0
Please note the 1000fps reported by the videos window is wrong. Running ffprobe shows the video is actually 24 fps or 24/1.