
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (78)
-
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10496)
-
Batch-converting multimedia-files on Command-Line using find and ffmpeg (Linux)
11 mai 2018, par free_speechFor converting more Audio-Files (Let’s say, FLAC to MP3) in the same folder on Command-Line, I formerly used
find ./ -name "*.flac" -exec ffmpeg -i "{}" -b:a 320k "{}".mp3 \;
but the problem is that the resulting MP3-Files are named like Artist - Title.flac.mp3.
This doesn’t even surprise me, but what do I have to type if I want to avoid the ".flac.mp3"-Filenames ?
The converted Files should be named like Artist - Title.mp3, not this .flac.mp3
I didn’t yet find a way to solve this problem ...
Thanks. -
ffmpeg_opt : remove unused variable and undocumented and not working command line...
31 mai 2014, par Michael Niedermayer -
ffmpeg crash when input video got no audio line
16 mai 2020, par sisterbrotherI got a ffmpeg script which concate 3 videos and works fine when the input video $fp got a audio line ! The first and last input video ($vid1) can be ignored for this topic cause they always have a audio line



The video input $fp instead may sometimes have no audio and cause the script to crash with error :



Stream specifier ':a' in filtergraph description 'then full code comes here' matches no streams.





Related to this link : https://superuser.com/questions/1457683/ffmpeg-ignore-audio-export-if-no-stream-present



You can use this code to archive what I want :



-map "0:v" -map "0:a?"




However in my code the map is already set and iam not really familiar with ffmpeg and my code was mostly from google so iam not really familiar with ffmpeg logics..



How to include this to my current code ? Anybody know how to inlcude this or to fix my code that its go further when input video $fp got no audio line ?



ffmpeg -y -i "$vid1" -i "$fp" -i "$vid1" -stream_loop -1 -i "$audio" -filter_complex \
"[0:v]scale=$cResolution:force_original_aspect_ratio=decrease,pad=$cResolution:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,format=yuv420p[v0]; \
 [1:v]scale=$cResolution:force_original_aspect_ratio=decrease,pad=$cResolution:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,format=yuv420p[v1]; \
 [2:v]scale=$cResolution:force_original_aspect_ratio=decrease,pad=$cResolution:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,format=yuv420p[v2]; \
 [0:a]aformat=sample_rates=48000:channel_layouts=stereo[a0]; \
 [1:a]aformat=sample_rates=48000:channel_layouts=stereo[a1]; \
 [2:a]aformat=sample_rates=48000:channel_layouts=stereo[a2]; \
 [v0][a0][v1][a1][v2][a2]concat=n=3:v=1:a=1[v][a]; \
 [a][3]amix=duration=first[a]; \
 [v]drawtext=text='example..':y=h-line_h-$h3:x=w/30*mod(t\,20):enable='gt(mod(t,$dr2),$Introdr_rounded)'[v]; \
 [v]drawtext=text='example..':y=h-line_h-$hcentral:x=w/20*mod(t\,100):enable='gt(mod(t,$dr2),$Introdr_rounded)'[v]; \
 [v]drawtext=text='example..':y=h-line_h-23:x=w/30*mod(t\,20):enable='gt(mod(t,$dr2),$Introdr_rounded)'[v]" \
 -map "[v]" -map "[a]" -c:v libx264 -crf 22 -preset veryfast -c:a aac -b:a 256k -movflags +faststart "$fp_dest"