
Recherche avancée
Autres articles (28)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (4349)
-
Revision 72b146690a : Merge "Refactor vp9_dequant_idct_add function" into experimental
28 février 2013, par Yunqing WangChanged Paths : Modify /vp9/common/vp9_rtcd_defs.sh Modify /vp9/decoder/vp9_dequantize.c Merge "Refactor vp9_dequant_idct_add function" into experimental
-
Revision 078f5bf439 : Merge "mv dct_sse2.c dct_sse2_intrinsics.c to avoid collision" into experimental
1er mars 2013, par Jim BankoskiMerge "mv dct_sse2.c dct_sse2_intrinsics.c to avoid collision" into experimental
-
batch file FOR %%f IN (*) DO
13 juin 2017, par RyanMe321I’ve created a script based of this example however I don’t understand how to correctly implement the
FOR %%f IN (*.mkv) DO (MY SCRIPT)
component as when i do and replacevideo.mkv
with"%%f"
(contains the full file name and format ?)"%%~nf"
(only the file name ?) in the same way the example code does it doesn’t seem to work. However when run on a test file called "video.mkv" works perfectly.::ID FILE
for /F "delims=" %%I in ('C:\ffmpeg\bin\ffprobe.exe -v error -show_entries format^=filename -of default^=noprint_wrappers^=1:nokey^=1 video.mkv') do set "FILENAME=%%I"
for /F "delims=" %%I in ('C:\ffmpeg\bin\ffprobe.exe -v error -select_streams v:0 -show_entries stream^=codec_name -of default^=noprint_wrappers^=1:nokey^=1 video.mkv') do set "Vcodec=%%I"
for /F "delims=" %%I in ('C:\ffmpeg\bin\ffprobe.exe -v error -select_streams a:0 -show_entries stream^=codec_name -of default^=noprint_wrappers^=1:nokey^=1 video.mkv') do set "Acodec=%%I"
echo %FILENAME% is using %Vcodec% and %Acodec% codecs
if %Vcodec% == h264 (echo DO NOT CONVERT VIDEO) else (echo CONVERT VIDEO)
if %Acodec% == ac3 (echo DO NOT CONVERT AUDIO) else (echo CONVERT AUDIO)
timeout /t 5
:: COPY V FIX A
if %Vcodec% == h264 if not %Acodec% == ac3 (echo Copying Video, Converting Audio
timeout /t 5
C:\ffmpeg\bin\ffmpeg.exe -i video.mkv -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640K video-AC3.mkv)
:: FIX V COPY A
if not %Vcodec% == h264 if %Acodec% == ac3 (echo Converting Video, Copying Audio
timeout /t 5
C:\ffmpeg\bin\ffmpeg.exe -i video.mkv -map 0 -vcodec libx264 -scodec copy -acodec copy video-h264.mkv)
:: FIX V FIX A
if not %Vcodec% == h264 if not %Acodec% == ac3 (echo Converting Video, Converting Audio
timeout /t 5
C:\ffmpeg\bin\ffmpeg.exe -i video.mkv -map 0 -vcodec libx264 -scodec copy -acodec ac3 -b:a 640K video-h264-AC3.mkv)
:: COPY V COPY A
if %Vcodec% == h264 if %Acodec% == ac3 (echo "Doesn't require any Conversion")
pauseI’ve limited programming experience and have come up short trying to find what is wrong with using this implementation of
FOR %%f IN
of what to search to get me to an answer.Also I’d be interested if there is a way to recognise a list of file types i.e. *.mp4 and *.mkv and *.avi etc not just MKV to be processed.