
Recherche avancée
Autres articles (91)
-
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" ; -
Les sons
15 mai 2013, par
Sur d’autres sites (6060)
-
FFMPEG Select audio stream by Codec or Bitrate
25 juillet 2018, par CRSI’m trying to convert some TV recorded videos with ffmpeg.
Target format should be : MP4/H264/AAC
Most movies are in TS/MPEG2/MPEG2 audioSome movies also have an AC3 stereo or AC3 surround track.
I want the ffmpeg to always prefer the AC3 track as a source if it exists because this usually has a better quality. If the Video is multichannel, that works anyway since ffmpeg automatically selects the track with the most channels. But if it is only 2 channels, often the MPEG2 Audio Track is used.
Of course, I could achieve that for each movie individually with the map option, but I want to convert a few hundred movies by batch and the stream IDs are mixed thoroughly so I want ffmpeg to automatically select either the AC3 Track or the Track with the highest bitrate for conversion.
Another Solution would be : Always convert the MPEG Stream to AAC and copy the AC3 one to the output file if it exists. I just don’t want to lose the AC3 Stream.
-
Using GDIgrab in FFmpeg with dshow Audio produces black screen
16 mars 2016, par Spreadyshere is my command :
ffmpeg -f gdigrab -framerate 25 -offset_x 10 -offset_y 10 -show_region 1 -draw_mouse 1 -video_size 1280x720 -i desktop -f dshow -i audio="Microphone (2- ATR USB microphone)" -r 25 -threads 4 -c:v libx264 -pix_fmt yuv422p -preset superfast -tune fastdecode -x264opts keyint=25:min-keyint=1 -crf 4 -c:a aac -profile:a aac_low -async 25 "C:\Users\david\Desktop\%output%.mp4"
The gdigrab video works great when it is on its own (no audio). The audio works fine when it is on its own (no video). When I join the two commands to capture both together, as soon as I move a window within my capture area, the area goes black.
In Windows 7, I used to get around this by stopping the desktop composition service prior to capture, (SC stop uxsms), but this is now not possible in Win10.
I thought it may be something graphics card related.
My main monitor is on an Nvidia card, with my second running from the onboard Intel. This is setup for Quicksync H264 playback and encoding with my NLE.I know that I could use a dshow screen capture driver such as UScreen but am trying to avoid that as I need the capture area to be specified each time from a simple batch.
Any help appreciated to solve this black area problem- its driving me crazy !
David -
how to reduce output size while capturing webcam video using ffmpeg ?
27 novembre 2014, par Chris SnowI am capturing output from my webcam as follows :
ffmpeg -y -an -vcodec rawvideo -f video4linux2 -s 320x240 -i /dev/video0 out.mpg
I would like to trade off quality of the output in order to reduce the amount of data that is recorded but I don’t know what options to set.
Any pointers will be appreciated - video encoding is a completely new area and unknown area of computer science for me.