
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (76)
-
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 (...) -
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 à (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (13544)
-
Can't figure out how to get ffmpeg to save to an odd file extension
30 septembre 2015, par dinkiI’m working on a network encoder for SageTV. I get request from the SageTV with certain filenames. I’m trying to capture video from my capture card and write out to a file called
’D :\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-
0.mpgbuf’Here’s the command I’m using :
C :\Users\User>C :/Users/User/Desktop/ffmpeg-20150928-git-235381e-win64-static/bin/ffmpeg.exe
-f dshow -crossbar_video_input_pin_number 2 -i video="ATI AVStream Analog Capture"
D :\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbufWhen I run that command, I get this error :
[NULL @ 00000000087f9160] Unable to find a suitable output format for 'D:\Media\
tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf'
D:\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf: Invalid
argumentBut if I change .mpgbuf to .mpg it works fine . I am forced to use that filename though. Is there an easy way to do this ?
-
How to save frames to the video using their timestamps (variable frame rate, vfr, PyAV)
9 juillet 2019, par Vladyslav MoisieienkovShorty, I would like to write frames to the video according to their timestamps. FFmpeg example could be found here - How do I render a video from a list of time-stamped images ? , and I need something like that in Python. Probably PyAV library should be used as it provides bindings for FFmpeg. Maybe, it also possible by using OpenCV.
-
How to save file to s3 after processing by ffmpeg using carrierwave
25 septembre 2013, par loganathanI am trying to convert the bit rate of the Mp3 file before uploading to S3, I can able to create version for the mp3 file but the version is not saving in s3 instead original file is uploading to s3.
version :bitrate_96k do
process :resample => "96"
end
def resample(bitrate)
tmp_path = File.join( File.basename(current_path), "tmpfile" )
File.rename current_path, tmp_path
audio_details = `ffmpeg -i '#{tmp_path}' 2>&1`.split(",").split("\n").flatten
file_bitrate = audio_details.grep(/bitrate/).grep(/bitrate/).join.split("bitrate: ").last.split("\s").first
unless file_bitrate == bitrate
`ffmpeg -i #{tmp_path.shellescape} -acodec libmp3lame -y -ab 96k #{current_path.path}`
File.unlink(current_path)
FileUtils.mv(temp_path, current_path)
end
end