
Recherche avancée
Autres articles (21)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (3750)
-
Does 'force_style' work with 'subtitles=video.mkv' for FFMPEG ? [closed]
8 septembre 2023, par http.birdI am using this script to encode an burn in subtiles for an entire folder :


for filepath in newFiles:
 video = os.path.basename(filepath)
 videoName = os.path.splitext(video)[0]
 newFile = '%s.mp4' % videoName
 i = filepath
 o = os.path.join(destinationDirectory, newFile)
 if os.path.isfile(o):
 continue
 encodeCommand = f'ffmpeg -i "{i}" -vf "scale=-2:480, subtitles="{video}":force_style='PrimaryColour=&H0300FFFF&'" -c:v libx264 -profile:v baseline -level 3.0 -preset fast -crf 23 -pix_fmt yuv420p "{o}"'
 print('Encoding %s' % newFile)
 encode = os.popen(encodeCommand).read()



However, the
force_style='PrimaryColour=&H0300FFFF&'
does not work and just keeps the subtitles built into the original file untouched. I am usingsubtitles="{video}"
because it uses the subtitles that are saved in the video file. Does'force_style'
only work if I am providing a separate subtitle file ?

I tried a mixture of quote combinations to see if that was the problem, but that stopped the script from running. This script still runs, just doesn't change the color of the subtitles.


Edit : suddenly it doesn't run. Says that PrimaryColour is invalid syntax. I didn't change anything


-
FFMPEG does not work
28 novembre 2017, par rktechI use this command :
ffmpeg -y -f concat -safe 0 -i out.txt -vsync vfr -pix_fmt yuv420p output.mp4
But if I start encoding and play video, I can not play video.
Can someone help me -
avutil/cpu : fix cpu-test to work with ffmpegs cpuflags syntax
6 août 2014, par Michael Niedermayer