
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (48)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (6580)
-
how can I read all file in a folder and compute PSNR for them using ffmpeg command as a batch file ?
25 avril 2021, par davidI have some videos that I encode them to mp4 file using FFmpeg, now I need to write a batch file that read all the file in a folder and compute PSNR for them and save in separate text file for each video. I used the following code for each video, but I have to write this command for each video and the number of videos is high. do you have any suggestions for this issue ?


ffmpeg.exe -i input.mkv -i 2.mkv -lavfi psnr=stats_file=psnrmkv.txt -f null -



I used this code to encode all files in a folder to mp4 format :


for %%a in ("*.mp4") do ffmpeg.exe -i "%%a" -c:v libx264 -pix_fmt yuv420p -b:v 6000K -bufsize 6000K -minrate 6000K -maxrate 6000K -x264opts keyint=120:min-keyint=120 -preset veryfast -profile:v high output\%%~na.mp4"
pause



but I do not know how can I write some this similar for computing psnr for all video files in a folder ?


-
C# File.Move creates an empty file and IO exception
30 novembre 2020, par MaddieMy code processes a video file (using ffmpeg) and creates different qualities (360p, 480p, etc) and formats (mp4 and HLS) of that. After creating these files, I move all of them to another drive (a network location).


my code looks Like this :


var files = Directory.GetFiles(srcFolder);
string filename, destFile = string.Empty, srcFile = string.Empty;
try
{
 for (int i = 0; i < files.Length; i++)
 {
 srcFile = files[i];
 filename = Path.GetFileName(srcFile);
 destFile = Path.Combine(destFolder, filename);
 File.Move(srcFile, destFile);
 }
}
catch
{
 _logger.LogError("Error in moving file. srcFile: {0}, destFile: {1}", destFile, srcFile);
 throw;
}



This process works fine most of the time, but for some files, I get an IO exception every time I run this process.




System.IO.IOException : The file exists. at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)




I made sure that destFolder does not exist before, nor did the destFile.


After logging the error and finding the path of source and target files, I downloaded both of them. The source file is a .ts file with a size of 1,048 KB, and the target file is an empty file with the same name (0KB).


This error happened multiple times with the same video, so I assume that it has something to do with the file itself. But I cannot figure it out.


-
FFMPEG Incorrect File Output Path
3 avril 2016, par Benny ChenI’am working in windows 7 32bit and trying to stream file with ffmpeg, but the output file keep going on wrong location.
If I use this code :
ffmpeg -i input -c:v copy -c:a copy output.mp4
The output file will be saved in /Users/username
If I use absolute path :
ffmpeg -i input -c:v copy -c:a copy c:/output.mp4
or
ffmpeg -i input -c:v copy -c:a copy "c:/output.mp4"
It put the file in /Users/username/AppData/Local/VirtualStore
So..it is weird and what the heck is the "VirtualStore" folder still a mystery....
My question is simple, how to put output file in desired path location. Thanks.