
Recherche avancée
Autres articles (72)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
Sur d’autres sites (11245)
-
FFmpeg Batch Merge From Input Folder
4 septembre 2022, par Parham.8I have this command that works perfectly fine :


echo off
mkdir inputs
mkdir outputs
set "InputFolder=%~dp0inputs"
for /R "%InputFolder%" %%i in (*.mp4) do ffmpeg -i "%%i" -c copy "outputs\%%~ni.mkv"



I'm trying to make this command work as well with no success :


echo off
mkdir inputs
mkdir outputs
set "InputFolder=%~dp0inputs"
for /R "%InputFolder%" %%i in (*.mp4) do (ffmpeg -n -i "%%~ni.mp4" -i "%%~ni-eng.srt" -c copy -max_interleave_delta 0 -map 0 -map -0:v:1? -map -0:v:2? -map 1 -fflags +bitexact -map_metadata:g -1 -map_metadata -1 -metadata title="" -metadata comment="" -metadata:s:v title="" -metadata:s:v language="und" -metadata:s:v VENDOR_ID="" -metadata:s:a title="" -metadata:s:a:0 language="eng" -metadata:s:a:0 handler_name="English" -metadata:s:a VENDOR_ID="" -metadata:s:s:0 language="eng" "outputs\%%~ni.mkv")



Any suggestions to make it work ?


-
Looping Variables in a Batch File (for use with FFmpeg)
16 avril 2021, par OrdinaryCarrot16I am creating a batch script that stores the input of the user into variables, that will later be used for creating converting files then adding metadata (via FFmpeg). It is working pretty good, now I'm just trying to figure out how to loop the FFmpeg line that uses all the variables the user inputted, and it will loop the command till it reaches the number specified in the 'track_amount' variable.


Do you have any ideas on how to make this work ? Thanks !


setlocal enabledelayedexpansion

:: Scan current directory for audio files
DIR *.mp3 OR *.m4a

set /P cover-art=Select the Audio/Image File with the Cover Art (ex. MP3/M4A or JPG/PNG): 
set /P artist=Artist/Band Name: 
set /P track_amount=How many tracks are in this album: 

if %track_amount% GTR 1 (
 set /P album=Album Name: 
)

set /P filename=Song File Name: 
set /P title=Song Name: 
set /P track=Track Number: 
set /P genre=Genre: 
set /P language=Language: 

ffmpeg -i "%cover-art%" -vf scale=512:512 -sws_flags bicubic cover_tmp.png

for %%t in (!track_amount!) do ffmpeg -i "%filename%" -i cover_tmp.png -map_metadata -1 -map 0:0 -map 1:0 -id3v2_version 3 -metadata artist="%artist%" -metadata album="%album%" -metadata title="%title%" -metadata track="%track%/%track_amount%" -metadata genre="%genre%" -metadata language="%language%" -c:1 png -disposition:1 attached_pic -c:a libmp3lame -ar 44100 -b:a 160k "%title%.mp3"

pause



-
How to chose the default audio track on IOS HLS
18 juillet 2020, par Maxouwhen I set my default audio track in my playlist with the "DEFAULT" params the IOS native player doesn't choose the right one. For example with the playlist below IOS choose the french audio track


this is my playlist file :


#EXTM3U
#EXT-X- VERSION:3

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="jpn",NAME="Japonais",DEFAULT=YES,AUTOSELECT=YES,URI="audio/1/128kbit.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="fre",NAME="Français",DEFAULT=NO,AUTOSELECT=YES,URI="audio/2/128kbit.m3u8"

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Français",DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE="fr",URI="subtitles_fr.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=9000000,AUDIO="audio",SUBTITLES="subs"
video/index.m3u8



Any ideas ?