
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...)
Sur d’autres sites (15305)
-
Custom text and background color in subtitles FFMPEG | Converting HEX to AARRGGBB
3 octobre 2023, par YoussefI have this code that was working fine with text color only but when I added the background using outline to draw box around subtitles it started outputing weird colors, for example using black #000 I got red


var alpha = 1.0;

 const textColorHex = "#000000";
 const textColor = `&H${tinycolor(textColorHex).setAlpha(alpha).toHex8().substr(2)}`;
 // textColor : &H0000ff

 const bgColorHex = '#ffffff';
 const bgColor = `&H${tinycolor(bgColorHex).setAlpha(alpha).toHex8().substr(2)}`;
 // bgColor : &Hffffff


 const ffmpeg = spawn("ffmpeg", [
 "-i",
 "test.mp4",
 "-vf",
 `subtitles=${subtitlePath}:force_style='Alignment=${alignment},OutlineColour=${bgColor},BorderStyle=3,PrimaryColour=${textColor},Fontsize=${fontSize}'`,
 "-c:a",
 "copy",
 "-progress", "pipe:1",
 outputPath,
 ]);



I am not sure how to fix that


-
How to encode an mp4 to the exact specs of another mp4 with FFMPEG
15 décembre 2021, par BCooperI'm working on a batch file to concatenate 3 files together, as follows :


1_Intro_Bumper.mp4,
2_Session.mp4,
3_Outro_Bumper.mp4



I've run into problems with the session.mp4 having slightly different specs, causing the concat to have weird problems with speed/sync/etc, and found out that if I encode the Bumpers through Handbrake to the exact specs of the Session, then the concat works great.


My question is : Can I bypass Handbrake here and include a line in my batch file to encode the Intro and Outro Bumpers to the exact specs of the Session ?


Here's my current batch file :


:: Create File List

for %%i in (*.mp4) do echo file '%%i'>> mylist.txt

:: Concatenate Files

ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4

:: Encode to x264

ffmpeg -i output.mp4 output_x264.mp4



Thanks !


-
FFmpeg 1.0 causing audio playback issues
7 novembre 2013, par JonaI have an audio streamer based on ffplay. It works great using ffmpeg 0.11 but when I use ffmpeg 1.0 or the latest 1.2 release the audio seems to be decoded or played weirdly.
Essentially it sounds like chipmunks with mp3 streams and with aac streams I hear tons of static barely hearing the actual stream and the actual stream sounds slow.
Any ideas the possible changes in ffmpeg that could have caused these types of issues ?
Similar issue was posted here but no actual answer about what is going on. Supposedly this code reproduces the same issue.
UPDATE 1 :
I have done a step by step copy from ffplay and still no luck ! :/ The channel and sampling rate look correct so there must be something internally that is returning a weird decoded format ?