
Recherche avancée
Autres articles (84)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (9001)
-
ffmpeg & watermark issue on convert movie
27 mars 2017, par Sebastian Schweinsteafter update of WinFF i get error :
"C:\Program Files (x86)\WinFF\ffmpeg.exe" -t 0:00:25 -y -i "c:\Videos\temp\input.mpg" -f mp4 -r 14 -vcodec libx264 -coder 1 -flags +loop+cgop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 7 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 0 -qmax 69 -qdiff 4 -bf 3 -refs 3 -direct-pred 1 -trellis 1 -wpredp 2 -vf scale=240:180 -aspect 4:3 -maxrate 800k -bufsize 80k -b:v 400k -ar 44100 -b:a 80k -ac 2 -b 650k -vf "movie="c:\Videos\watermarklogo.png" [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" "c:\Videos\new\output.mpg"
error :
Filtergraph ’scale=240:180’ was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.vf/-af/-filter and -filter_complex cannot be used together for the same stream.
i downt know how to fix
-
I have 22,1 GB of movie data totally that I want to put on several DVDs
8 mars 2017, par P. DeeI have 22,1 GB of movie data totally that I want to put on several DVDs.
I want ffmpeg to create one long 22.1 GB mp4 file from a lot of small files to then split them into as many 4.7 GB mp4-files as necessary(should fit on 5 DVDs), so the order is preserved.
Which command do I need ?
I started with
ffmpeg -f concat -safe 0 -i mylist.txt -c copy -fs 5046586573 output1.mp4
withmylist.txt
containing# this is a comment
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'Then looking at the duration, to then continue with
ffmpeg -ss duration -f concat -safe 0 -i mylist.txt -c copy -fs 5046586573 output2.mp4
Which command does that at once ?
-
Extracting MP3 Data from Generic Movie Files using FFMPEG
21 février 2017, par MoonKnightI am using FFMPEG via MediaToolkit to extract MP3 data (to .mp3 file) from different movie files (merely .mp4 and .mov for now).
MediaToolkit is just a C# wrapper for FFMPEG which calls FFMPEG via
Process.Start
, so to do this I am using the methodpublic static string GenerateMp3FromVideoFile(string filePath)
{
string mp3Path = String.Empty;
using (var engine = new Engine())
{
mp3Path = Path.GetFileNameWithoutExtension(filePath);
mp3Path = Path.Combine(Utils.GetBuildRoamingAppDataDirectory(), mp3Path);
mp3Path = Path.ChangeExtension(mp3Path, ".mp3");
string paramString = String.Format(
//"-i \"{0}\" -q:a 0 -map a \"{1}\"",
//"-i \"{0}\" -ar 320K \"{1}\"",
//"-i \"{0}\" -acodec libmp3lame -ar 44100 -b:a 192k -id3v2_version 3 -write_id3v1 1 \"{1}\"",
//"-i \"{0}\" -vn -ar 44100 -ac 2 -ab 192k -f mp3 \"{1}\"",
"-i \"{0}\" -acodec libmp3lame \"{1}\"",
filePath,
mp3Path);
engine.CustomCommand(paramString);
}
return mp3Path;
}All of the options I have tried above for the command line arguments passed to FFMPEG have worked for .mp4 video files and create the desired .mp3 output. However, for the .mov file I have I am getting the following
System.Exception
69 : video:0kB audio:1059kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.030074%Conversion failed !
I have tried a number of different methods to perform this extraction with varing control via the arguments passed to FFMPEG, but with no luck for the .mov file.
Looking at https://linuxconfig.org/ffmpeg-audio-format-conversions it seems as though there is not conversion to MP3 from .mov files, so I have looked at first converting the .mov to .mp4 via
ffmpeg -i mymovie.mov -vcodec copy -acodec copy out.mp4
and then extracting the audio, but this is expensive for large files. Is there a way of extracting the MP3 data directly from the .mov file ?
Thanks for your time.
When the above command is run from FFMPEG.exe, the output is :
[aac @ 00000000021b00a0] Inconsistent channel configuration.
[aac @ 00000000021b00a0] get_buffer() failed
Error while decoding stream #0:1 : Invalid argument
[aac @ 00000000021b00a0] Reserved bit set.
[aac @ 00000000021b00a0] Number of bands (6) exceeds limit (5).
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Number of bands (16) exceeds limit (13).
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] channel element 3.7 is not allocated
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] channel element 3.8 is not allocated
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Reserved bit set.
[aac @ 00000000021b00a0] TNS filter order 28 is greater than maximum 12.
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Number of bands (26) exceeds limit (18).
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Sample rate index in program config element does not match the sample rate index configured by
the container.
[aac @ 00000000021b00a0] Too large remapped id is not implemented. Update your FFmpeg version to the newest one from Git
. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 00000000021b00a0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and cont
act the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Error while decoding stream #0:1 : Not yet implemented in FFmpeg, patches welcome
[aac @ 00000000021b00a0] Reserved bit set.
[aac @ 00000000021b00a0] Prediction is not allowed in AAC-LC.
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Reserved bit set.
[aac @ 00000000021b00a0] ms_present = 3 is reserved.
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Number of bands (3) exceeds limit (2).
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] SBR was found before the first channel element.
[aac @ 00000000021b00a0] channel element 3.14 is not allocated
Error while decoding stream #0:1 : Invalid data found when processing input
[aac @ 00000000021b00a0] Sample rate index in program config element does not match the sample rate index configured by
the container.