
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (73)
-
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...)
Sur d’autres sites (11178)
-
regainplay_analysis : Work around GCC optimizer bug.
15 juin 2014, par Erik de Castro Loporegainplay_analysis : Work around GCC optimizer bug.
Discussion : http://lists.xiph.org/pipermail/flac-dev/2014-June/004720.html
Patch-from : lvqcl <lvqcl.mail@gmail.com> -
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