
Recherche avancée
Autres articles (46)
-
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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9396)
-
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.. -
ffmpeg_opt : remove unused variable and undocumented and not working command line...
31 mai 2014, par Michael Niedermayer -
ffmpeg avformat_open_input not working in device
20 décembre 2018, par Chuck Mc DuranI have a method in an iOS project that calls
avformat_open_input()
, it runs very well in the simulator, however, when I try to run it on the device it hangs up and just stays there.Has anyone seen this before ?, Any help would be much appreciated.