
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 (58)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7801)
-
How to get native frame rate of vide with FFmpex ?
18 juin 2021, par Flame_PhoenixBackground


I have an
.mp4
video and I need to get the video's frame rate. Using ffmepg (in Linux) I know I can get this information via the following command :

ffprobe -v 0 -of compact=p=0 -select_streams 0 -show_entries stream=r_frame_rate 'MyVideoFIle.mp4'



Which returns :


r_frame_rate=24000/1001



FFmpex


Doing this in bash is fine, but what I really want is to use it in my Elixir application. To this end I found out about
ffmpex
.

First I tried using
FFprobe
:

> FFprobe.format("Devil May Cry 5 Bury the Light LITTLE V COVER.mp4")

{:ok,
 %{
 "bit_rate" => "611784",
 "duration" => "482.999000",
 "filename" => "Devil May Cry 5 Bury the Light LITTLE V COVER.mp4",
 "format_long_name" => "QuickTime / MOV",
 "format_name" => "mov,mp4,m4a,3gp,3g2,mj2",
 "nb_programs" => 0,
 "nb_streams" => 2,
 "probe_score" => 100, 
 "size" => "36936415",
 "start_time" => "0.000000",
 "tags" => %{
 "compatible_brands" => "isomiso2avc1mp41",
 "encoder" => "Lavf58.19.102",
 "major_brand" => "isom",
 "minor_version" => "512"
 }
 }}



Which gives me some information, but not the frame rate.


My next tentative was to use the command options :


command = 
 FFmpex.new_command() 
 |> add_input_file("Devil May Cry 5 Bury the Light LITTLE V COVER.mp4") 
 |> add_video_option(???) 



But the problem here is that I can't find in the documentation the video option I need to get the native frame rate. I only found
vframe
which is used to set the video frame rate.

Question


- 

- How can I get the native fps of a video using
ffmpex
?




- How can I get the native fps of a video using
-
Anomalie #4363 : mot de passe vide bloque le formulaire de réinitialisation du mot de passe d’un u...
3 août 2019, par b bComme tu le dis, "on" ne veut pas, mais en attendant que quelqu’un
propose mieuxmette à disposition la super fonctionnalité "qu’on veut", on peut répondre à la demande avec ce bouton. C’est bien de rappeler qu’on fait de la merde et qu’on devrait s’améliorer, mais en attendant on peut toujours s’en sortir avec l’existant :* -
Unable to run ffmpeg with qProcess to extract a single frame from Vide
24 janvier 2018, par user3840315I am trying to extract a single frame from a video using the QProcess in qt framework and ffmpeg and store it in a tmp folder. When I run the program in terminal command line it is able to extract it but not when QProcess runs it. I’m developing on a mac. What am I doing wrong.
QString extractSingleFrame(QString videoPath, QDir tmpDir)
{
QString program = ffmpegPath();
QProcess *ffmpegProcess = new QProcess();
QString arguments;
QFileInfo videoInfo(videoPath);
QString videoName = videoInfo.fileName();
QString firstFrameName(tmpDir.absolutePath() + "/" + videoName + ".jpg");
arguments = " -y -i " + QDir::toNativeSeparators(videoPath)
+ " -frames:v 1 -q:v 1 -f image2 " + QDir::toNativeSeparators(firstFrameName);
QFile::remove(firstFrameName);
qDebug() << "Starting program" << program + arguments;
ffmpegProcess->start(program + arguments);
// ffmpegProcess->start(program , QStringList() << arguments); this also doesnt work
if (ffmpegProcess->state() == QProcess::Starting){
qDebug() << "program is starting" + ffmpegProcess->state();
}
ffmpegProcess->waitForFinished(-1);
qDebug() << "done";
delete ffmpegProcess;
return firstFrameName;
}This is the printed command
to start the program "ffmpeg -y -i "/Users/userX/test.mov" -vframes 1 -q:v 1 -f image2 "/var/folders/s1/vtv2cx36p3h0000gn/T/test-ywDBgj/test.mov.jpg""