
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (40)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5863)
-
Why do you need analytics for your WordPress ?
7 avril 2020, par Joselyn Khor — Analytics Tips, Plugins -
FFMPEG Error Handling Not Working
23 mars 2017, par WaverunnerI’m fairly new to batch files and trying to create a Windows script that automatically converts all files in the extensions list I provide to MP4 and log the successes and failures. The problem I’m running into is that some of the videos are failing with zero byte outputs and even though there’s two levels of error handling so the originals don’t get deleted, they aren’t working and the originals get deleted regardless if the conversions succeed or not.
The two protections are :
(1) FFMPEG - abort_on empty_output option
(2) IF/ELSE loop that checks for zero-size files
Any ideas for better error handling would be appreciated.
:: Name: MKV2MP4.cmd
:: Purpose: Automatically converts non-MP4 video files to MP4 either by stream copy or by reencoding.
:: Revision: March 2017 - Initial version
:: Variables
:: %%L = List of Extensions
:: %%F = Files to be converted
:: %%N = New file
@echo OFF
CLS
setlocal
echo This script automatically converts non-MP4 video files to MP4 either by stream copy or by reencoding.
echo.
echo Changing to data directory...
Z:
cd Z:\Users\Todd\
echo.
FOR /F "delims=*" %%L IN (Z:\Logs\Extensions.txt) DO (
echo Collecting %%L files...
dir /b /s *.%%L > Z:\Logs\%%L.txt
)
echo.
echo File collection complete.
echo.
FOR /F "delims=*" %%L in (Z:\Logs\Extensions.txt) DO (
echo Working on %%L files...
echo.
FOR /F "delims=*" %%F in (Z:\Logs\%%L.txt) DO (
echo Converting "%%F"
echo.
ffmpeg.exe -y -i "%%F" -abort_on empty_output -aspect 16:9 -c:v copy -c:a copy "%%~dpnF.mp4" || ffmpeg.exe -y -i "%%F" -abort_on empty_output -aspect 16:9 -c:v libx265 -c:a copy "%%~dpnF.mp4"
echo.
set N="%%~dpnF.mp4"
IF %%~zN==0 (
echo Conversion failed! Skipping file.
echo Adding log entry...
echo %time% - Failed - "%%F" >> "Z:\Logs\%date:~-4,4%%date:~-10,2%%date:~-7,2% - %%L.txt"
) ELSE (
echo Conversion successful! Deleting old file.
echo Deleting "%%F"
del "%%F" /F
echo Adding log entry...
echo %time% - Successful - "%%F" >> "Z:\Logs\%date:~-4,4%%date:~-10,2%%date:~-7,2% - %%L.txt"
)
echo.
)
echo %%L files completed.
echo. Cleaning up...
del %%L /F /S
)
echo Job completed. Exiting.. -
Merge commit ’5cc0057f4910c8c72421b812c8f337ef6c43696c’
23 mars 2017, par Clément BœschMerge commit ’5cc0057f4910c8c72421b812c8f337ef6c43696c’
* commit ’5cc0057f4910c8c72421b812c8f337ef6c43696c’ :
lavu : remove the custom atomic APIThis commit is a noop. The removal is postponed until all usages in
FFmpeg are dropped as well. A patchset is on discussion on the
mailing-list :
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-March/209003.htmlMerged-by : Clément Bœsch <u@pkh.me>