
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (79)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (10130)
-
Exoplayer FFMPEG issue. Video froze on the first frame after adding Exoplayer FFMPEG extension
13 mai 2020, par AravindI am working on adding Exoplayer and it works fine. But some of the videos were playing without audio, it plays fine in VLC medial player. So I was suggested to add Exoplayer FFMPEG. I added Exoplayer FFMPEG extension and I modified the code as below,



val videoTrackSelectionFactory: TrackSelection.Factory = AdaptiveTrackSelection.Factory(BANDWIDTH_METER)
val trackSelector: TrackSelector = DefaultTrackSelector(videoTrackSelectionFactory)

val renderersFactory: RenderersFactory = DefaultRenderersFactory(mContext, null, EXTENSION_RENDERER_MODE_PREFER)
mPlayer = ExoPlayerFactory.newSimpleInstance(mContext, renderersFactory, trackSelector)
mediaSource = mMediaSourceUri?.let { createLeafMediaSource(it) }!!
mPlayer.prepare(mediaSource)




After I modified the video stuck with the first frame and it keeps on loading. I checked the log and I didn't see any error.






Can anyone help me with this ? Thanks in advance !


-
Output filename extension in fswatch and ffmpeg
30 juin 2020, par rr09I'm having issue with the file-naming extension output. My input is JPG files that needs to convert to MP4 using FFMPEG. However, when I run the code below it output as
img1.jpg.mp4
including the input file extension instead of justimg1.mp4
.

fswatch -e ".*" -i "\\.jpg$" . |xargs -n1 basename|xargs -n1 -t -I {} sh -c 'pwd;[[ -f {} ]] && ffmpeg -y -loop 1 -i "{}" -vf "fade=t=in:st=0:d=1,fade=t=out:st=2:d=1" -preset "ultrafast" -c:v libx264 -t 3 -pix_fmt yuv420p "{}.mp4"'



Any help is much appreciated.


Running on MAC, SH/BASH


EDITED :


BTW I also tried a loop to do the trick like the code below, but I'm looking to more neat solution to fix it in the same line of code above or call function after
FSWATCH
successful operation.

for file in
 *.jpg.mp4; do
 mv "$file" "$(basename "$file" .jpg.mp4).mp4"
 done



-
FFmpeg same Filename for output but without extension with python
10 septembre 2020, par Ptibouc77i'm kinda noob with Python but i managed to make this code to encode multiple videos files from a folder to H265, everything woks fine exept for the output name.


Actually the output name keep the old file extension with the new one like this "MyMovie.mov.mp4" and i want it to be named like this "MyMovie.mp4" is there any way to exclude the original file extension from the output file ?


import os, sys, re

input_folder= '/content/drive/My Drive/Videos'
output_folder= '/content/drive/My Drive/Videos/X265' 
quality_setting = '30'
file_type = 'mp4

my_suffixes = (".mp4", ".mov", ".mkv", ".avi", ".ts", ".flv", ".webm", ".wmv", ".mpg", ".m4v", ".f4v")

from pathlib import Path
Path(output_folder).mkdir(parents=True, exist_ok=True)

for filename in os.listdir(my_folder):
 if (filename.endswith(my_suffixes)):
 cmd = !ffmpeg -v quiet -stats -hwaccel cuvid -i "$input_folder/{filename}" -metadata comment="X265-QF$quality_setting-AAC" -c:v hevc_nvenc -preset:v slow -rc vbr -cq $quality_setting -c:a aac -b:a 160k "$output_folder/{filename}.$file_type"



Ps : This code is used on Google Colab that's why i need this with python.