
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (80)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6716)
-
FileNotFoundError : [WinError 2] The system cannot find the file specified in Windows 10
26 juillet 2021, par cr_untiltedI am attempting to use ffmpeg in a script that take screenshots of a video in my directory and I keep getting the following errors :


Saving Screens...
Process Process-1:
Traceback (most recent call last):
 File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap
 self.run()
 File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 108, in run
 self._target(*self._args, **self._kwargs)
 File "C:\Users\User1\ffmpegScreenshot-Assistant\src\prep.py", line 580, in screenshots
 ffmpeg
 File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 313, in run
 process = run_async(
 File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
 return subprocess.Popen(
 File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified



Below is the code snippet from 'prep.py' where the error occurs above.


while i != self.screens:
 image = f"{base_dir}/tmp/{folder_id}/{filename}-{i}.png"
 (
 ffmpeg
 .input(path, ss=random.randint(round(length/5) , round(length - length/5)))
 .output(image, vframes=1)
 .overwrite_output()
 .global_args('-loglevel', 'quiet')
 .run(quiet=True)
 )



The error message does not mention what file it is unable to find so debugging this issue has proven challenging. I am using Windows 10 and I have tried 'cmd', Git-Bash, and PowerShell. I am also using Python Version 3.9.6. Any tips or ideas on how I can debug this issue and get it fixed ?


-
How to split a mp4 file into multiple .m4s chunks with one init.mp4 file
29 novembre 2018, par JAVA CoderI am trying to split one audio.mp4 into multiple chunks(each of 10 seconds) with file format of .m4s or .mpd and one init.mp4 .
1>I have successfully made chunks of 10 secs with one m3u8 file by this command-
ffmpeg -i song.mp3 -c:a aac -b:a 64k -vn -hls_time 10 -hls_list_size 0 abc.m3u8
2>Tried this command also
MP4Box -dash 10000 -frag 1000 -rap -segment-name myDash -subsegs-per-sidx 5 -url-template test.mp4
But not able to make .m4s chunks with one init.mp4.
-
FFMPEG : How to transcode(transfer) Attached Picture (APIC) from source mp3 file to destination mp3 file using FFMPEG ?
24 février 2012, par javanetbeansI have input file as 02.mp3. I want to change it to mp3 file only with specific bit rate. While doing so, I want to preserve all the metadata and the APIC, attached picture corresponding to image should also be transfered to the destionation file. I am using FFMPEG and i am using the following command line...
ffmpeg -y -i 02.mp3 -id3v2_version 3 -ab 128000 -ss 0 -acodec libmp3lame -f mp3 -ac 2 -ar 44100 output.mp3
source file : 02.mp3
destination file : output.mp3.But in destination file, i am not getting APIC(attached picture corresponding to 02.mp3). Can anyone help. I am getting all other mp3 tags in output.mp3 except for APIC. How to get APIC in destinaton file as well ?