
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (36)
-
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" (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (5924)
-
Batch file runs on one folder and not the next [closed]
9 novembre 2020, par user1738673Who Closed this question before it was resolved ?!? How can I get it reopened ?


After all of the suggestions, here is the code to run in the folder of flac files :


cd /D "%~dp0."

FOR %%# IN ("*.flac") DO (Title %~nx0 Processing: %%~nx#
 ffmpeg -i "%%~nx#" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~n#.mp3")
 
ECHO Completed %~nx0
PAUSE



Here are my current troubleshooting steps as completed :


I renamed the files in one of the folders in which it does not run to "a.flac", "b.flac", "c.flac", etc. That is to make sure it is not a filename related problem. It did not run.


I renamed the folder itself to a single letter to make sure it was not a folder name issue (F :\MUSIC\j). It did not run.


I copied the entire folder and gave it a new single-letter name (F :\MUSIC\y). It did not run.


I copied the files to a newly-created single-letter named folder at the same directory level (F :\MUSIC\d). It did not work.


I copied the flac files and bat file from the single-letter folder to a newly created single-letter folder. It did not run.


So, I went back the original folder and RENAMED MY .bat FILE from
single folder - flac to 192.bat
to192.bat
. It ran perfectly.

I went back and renamed the .bat file in all folders described above. They all ran perfectly.


Next, I renamed my master .bat file to
single_folder_flac_to_192.bat
. I ran it in the original file folder with all of the original names for folder and files. It ran perfectly.

I then copied it into each of the folder described above. It ran perfectly.


I then went back to my original code and renamed it to
192a.bat
. This still did not run in the original folder, but ran perfectly in the others I created.

So, I renamed my original folder from 'F :\MUSIC\Yanni - Live At The Acropolis (1994) [FLAC]
to
ylata`. It did not run.

That is all I have time for before needing to go to work. More at lunch time.


Original Post Starts Here :


I am using Windows 10 Pro on my home PC.


I have a batch file which uses ffmpeg to create mp3 from flac and then delete the flac. It runs perfectly in most folders of music. The code is here :


FOR %%a IN ("*.flac") DO (Title %~0 Processing: %%~na.flac
 ffmpeg -i "%%~na.flac" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~na.mp3"
 if not errorlevel 1 if exist "%%~pna.flac" del /q "%%~pna.flac")
ECHO Completed %~n0
PAUSE
 



In some folders, when I run the batch, it just blinks and goes away. Yes- there are flac files in the folders.


I have checked the different music folders for their properties (read only, access, etc.) and they look identical. The file names are "normal". It doesn't matter which drive I copy the folder into, the results are the same.


I have run the file as Administrator and get the same result.


What else should I be looking into ?


-
Need help : Can i get ffmpeg to burn in the source timecode of my file ?
6 novembre 2018, par MylesI have a .mov file that contains original source timecode metadata but i can’t figure out a way to get ffmpeg to burn the original timecode into the picture.
If i open the original file in QuickTime Player we can see it displays the true timecode on the far left :
I can also see that ffprobe is able to see the metadata when i run the following :
Command :
ffprobe -i test.mov -show_streams
Abbreviated Result :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2018-11-05T14:20:51.000000Z
timecode : 09:59:53:00
Duration: 00:16:37.64, start: 0.000000, bitrate: 1680 kb/sSo i can see that ffprobe is able to determine the start timecode of the file in its metadata results. The question is how to i pass that information into an ffmpeg command so that the timecode seen by ffprobe is what gets used when i convert the file for timecode burn-in ?
An example of a standard burnt in timecode command would be this :
ffmpeg -i test.mov -vcodec libx264 -cmp 22 -vf
"drawtext=fontfile=DroidSansMono.ttf : timecode=’09:59:53:00’ : r=25 :
x=(w-tw)/2 : y=h-(2*lh) : fontcolor=white : box=1 : boxcolor=0x00000099"
-y test_bitc.movThe only problem there though is that i’ve had to manually put the timecode in myself. I want the command to use the existing timecode metadata as the timecode input value so the same command can be used on multiple files.
Does anyone know how to do this ?
-
How do I mix multiple audio tracks mit FFMPEG and adjust each volume ?
4 avril 2022, par doppelzweiLet's say I have an input .mp4 file that contains 4 audio tracks.
How can I change their volumes independently and convert it to a new file that just contains all the 4 audio tracks mixed together and stored in the first audio track ? For example I want the first, second and third audio tracks from the input file to be double their original volume and the fourth to be half its original volume, all saved in the output files first audio track. How would that command look like ?