
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 (79)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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" ;
Sur d’autres sites (9287)
-
Efficient and Perfect way to extract frames from a large size video using python or ffmpeg according the timecode given
5 avril 2020, par Yong Enlet's say I have a video from youtube with at least 600 MB. The video is used for annotation where I have the annotated information in another text file. The annotation file has the timecode in millisecond (SSSS.ss). What I am trying to do is going into the timecode on the video and getting out the frames within the this period (TWO timecodes). There are TWO approaches that I used with different tools, one is using openCV in python and FFmpeg in bash script :



I would stick with few variables here,



- 

- fps = 25
- timecode (after convert into second) = 333.44 to 334.00 take note that I am dealing with time period that might less than a second.







openCV



- 

- Using openCV in python, I read the video into frame by frame. Ends up with a numpy array.
- Using the fps from video, eg. fps = 25. I can estimate where does the frames that fall under this time period which give me what I want.
- Problem here is I will missed out some frames here due to the video fps is not really 25 as given by the video misinformation, it could 24.xx. Any solutions ?









ffmpeg



- 

- What I did, every time I want to get the frames, I run the script.
- Problem here is I need to read the video 100 times if I have 100 time periods. Any ways to overcome this ?







Thanks for reading it.


-
ffmpeg conversion - keep audio bitrate
2 août 2015, par clausvdbI’m using ffmpeg to extract the audio from different video formats (flv, mp4) and convert it to mp3.
%~dp0ffmpeg.exe -i %1 -ar 44100 -ac 2 -ab 128k "%~dpn1.mp3"
This works just fine. However, in my input files, the audio bitrate varies, and I want to adjust the output bitrate accordingly. Even by extensive Google searching, I didn’t find any hint how to just keep the original bitrate.
What I would need would be something like :
-ab copy
Which, of course, does not work.
Is there anything that will work ?
P.S : As you might have figured from the formatting above, I’m using a windows batch file. There would be the hack to use % dp0ffmpeg.exe -i, get the audio bitrate by grep and insert it in the command line. I just think there has to be an easier and more elegant way.
-
ffmpeg conversion - keep audio bitrate
17 mars 2020, par clausvdbI’m using ffmpeg to extract the audio from different video formats (flv, mp4) and convert it to mp3.
%~dp0ffmpeg.exe -i %1 -ar 44100 -ac 2 -ab 128k "%~dpn1.mp3"
This works just fine. However, in my input files, the audio bitrate varies, and I want to adjust the output bitrate accordingly. Even by extensive Google searching, I didn’t find any hint how to just keep the original bitrate.
What I would need would be something like :
-ab copy
Which, of course, does not work.
Is there anything that will work ?
P.S : As you might have figured from the formatting above, I’m using a windows batch file. There would be the hack to use % dp0ffmpeg.exe -i, get the audio bitrate by grep and insert it in the command line. I just think there has to be an easier and more elegant way.