
Recherche avancée
Autres articles (63)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...)
Sur d’autres sites (11311)
-
Shifting audio in MPEG4 content and manipulating atoms
10 janvier 2018, par LLL1. Shift audio
I use ffmpeg / avconv quite often ... and usually I hate it.
Those tools do what they are instructed to do about 30% of the time. I could give you countless examples but I don’t want to start flame war, so please help me with my current problem (really easy one).I wanted to shift audio (content is standard mp4 file with aac and h264 tracks), so I have found a "highly upvoted" solution :
https://superuser.com/a/983153/758887
the only problem with it is that it doesn’t work. I downloaded latest stable ffmpeg (even on windows as in the thread, so it’s version was 3.4.1) and executed command without changing literaly anything :
ffmpeg.exe -i "movie.mp4" -itsoffset 3.84 -i "movie.mp4" -map 0:v -map 1:a -vcodec copy -acodec copy "movie-audio-delayed.mp4"
Result was no shift (I expected audio to be 3.84s late).
2. Remove MPEG4 atoms
I would be also grateful if you could recommend some tool for removing MPEG4 boxes from content. For examining MPEG4 content I use MP4 Explorer / Codec Visa (limited) on Windows and AtomicParsley on Linux, however they only print atoms and I would like to edit / remove them. For example MP4Box can remove whole moov->track with "-rem" option but what if I would like to remove moov->track->edts only ?
-
Documentation #2094 : Déclarer ses objets éditoriaux - pipeline declarer_tables_objets_sql
17 août 2011, par Eric LupinacciIl existe aussi un fichier Google partagé que j’ai écrit avec Denisb et que Cédric a relu et corrigé : https://spreadsheets.google.com/spreadsheet/ccc?key=0Aq-LDsZ2YhzydDBvMjRSamQ5aWtfNWpKcnFESjQwU3c&hl=fr&authkey=CMmWhpEC
-
How to run a ffmpeg command in Powershell and pass variables to it ?
22 avril 2021, par lucullusI would like to run the following command in Powershell :

ffmpeg -i "VIDEO.mp4" -i "AUDIO.m4a" -c copy -map 0:v:0 -map 1:a:0 "OUTPUT VIDEO.mp4"


But I would like to browse for the files. I have tried this :


Add-Type -AssemblyName System.Windows.Forms 

$VideoBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{ 
 InitialDirectory = $PSCommandPath
 Filter = 'Video file (*.mp4)|*.mp4|All files (*.*)|*.*'
 Title = 'Choose video file'
}
$null = $VideoBrowser.ShowDialog()
if (!($VideoBrowser.FileName))
{
 return
}

$AudioBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{ 
 Filter = 'Video file (*.m4a)|*.m4a|All files (*.*)|*.*'
 Title = 'Choose audio file'
 RestoreDirectory = $true
}
$null = $AudioBrowser.ShowDialog()
if (!($AudioBrowser.FileName))
{
 return
}

$NewVideoBrowser = New-Object System.Windows.Forms.SaveFileDialog -Property @{ 
 Filter = 'Video file (*.mp4)|*.mp4|All files (*.*)|*.*'
 Title = 'Save new video file as'
 RestoreDirectory = $true
}
$null = $NewVideoBrowser.ShowDialog()
if (!($NewVideoBrowser.FileName))
{
 return
}



And all these ways to run the command but all fail :


$ArgumentList = '"{0}" -i "{1}" -c copy -map 0:v:0 -map 1:a:0 "{2}"' -f $VideoBrowser.FileName, $AudioBrowser.FileName, $NewVideoBrowser.FileName;
Start-Process -FilePath ffmpeg.exe -ArgumentList $ArgumentList -Wait -NoNewWindow



OR


$ArgumentList = '"' + $VideoBrowser.FileName + '" -i "' + $AudioBrowser.FileName + '" -c copy -map 0:v:0 -map 1:a:0 "' + $NewVideoBrowser.FileName + '"'
Start-Process -FilePath ffmpeg.exe -ArgumentList $ArgumentList -Wait -NoNewWindow



OR

ffmpeg.exe $VideoBrowser.FileName -i $AudioBrowser.FileName -c copy -map 0:v:0 -map 1:a:0 $NewVideoBrowser.FileName


What should I try ?