
Recherche avancée
Autres articles (89)
-
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 (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...)
Sur d’autres sites (7537)
-
Unable to open FFmpegFrameRecorder stream on a UDP port on Windows
4 juin 2022, par DeoBelbertI am trying to stream a webcam video with FFmpegFrameRecorder and play it with "ffplay" command, but the ffplay command fails with the following message 'udp ://127.0.0.1:25777 : Invalid data found when processing input/0'.


The code I am using for streaming the video,


public void startStreaming() throws Exception {
 OpenCVFrameGrabber grabber = new OpenCVFrameGrabber(0);
 grabber.setVideoCodec(27);
 grabber.setImageMode(FrameGrabber.ImageMode.COLOR);
 grabber.setBitsPerPixel(10);
 grabber.setFormat("yuvj420p");
 grabber.start();
 FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("udp://127.0.0.1:25777", grabber.getImageWidth(), grabber.getImageHeight());
 recorder.setFrameRate(grabber.getFrameRate());
 recorder.setVideoBitrate(grabber.getVideoBitrate());
 recorder.setOption("listen", "1");
 recorder.setFormat("h264");
 recorder.setPixelFormat(AV_PIX_FMT_YUV420P);
 recorder.setVideoCodecName("h264_videotoolbox");
 recorder.setVideoCodec(27);
 recorder.setOption("keyint", "10");
 recorder.start();}



And I am calling the recorder.record in a thread as follows,


frame = grabber.grabFrame(); 
recorder.record(frame);



After starting the stream, I opened the command line and tried to play the stream with the following command,


ffplay udp://127.0.0.1:25777



And it is failing with the following message,


udp://127.0.0.1:25777: Invalid data found when processing input/0



To get the stream information, I used the following command,


ffmpeg -i udp://127.0.0.1:25777



And it showed the following output,


[h264 @ 0000014dd1424880] non-existing PPS 0 referenced
[h264 @ 0000014dd1424880] decode_slice_header error
[h264 @ 0000014dd1424880] non-existing PPS 0 referenced
[h264 @ 0000014dd1424880] decode_slice_header error
[h264 @ 0000014dd1424880] non-existing PPS 0 referenced
[h264 @ 0000014dd1424880] decode_slice_header error
[h264 @ 0000014dd1424880] non-existing PPS 0 referenced
[h264 @ 0000014dd1424880] decode_slice_header error
[h264 @ 0000014dd1424880] no frame!



But when I tried with TCP protocol it is working fine and I am able to play the video.
How can I fix this issue ? this is the first time I am using the FFmpeg and JavaCV.


-
FFmpeg "Could not open file" error message when processing with PHP
22 juin 2022, par FlyingCatI am using
ffmpeg
to get the image from several video files. I got myffmpeg
codes ready but I got the following error when Iexec
my codes.


ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3

*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
//files info...
//files info...
Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
//file info...
[buffer @ 0x1513c40] Buffering several frames is not supported. Please consume all available frames before adding a new one.
 Last message repeated 75 times
[image2 @ 0x1513460] Could not open file : /test/project
av_interleaved_write_frame(): Input/output error




I only show the error messages that have color highlighted. 
My code :



$ffmpeg ="/usr/bin/ffmpeg";

 $image_source_path = '/test/project/test.mp4';
 $ALL_PLACE_WIDTH = 300;
 $ALL_PLACE_HEIGHT = 300;

 $image_cmd = " -r 1 -ss 00:00:10 -t 00:00:01 -s ".$ALL_PLACE_WIDTH."x".$ALL_PLACE_HEIGHT." -f image2 " ;

 $dest_image_path = '/test/project';

 $str_command= $ffmpeg ." -i " . $image_source_path . $image_cmd .$dest_image_path;
 shell_exec($str_command);




It seems my Linux wants to me to switch to
avconv
. I am not sure how to fix these errors. Can someone give me a hint about it ?

-
Suggestions for an open source non-linear video editor that runs in the command line in Linux that will achieve layering of videos, audio, and photos [closed]
20 juillet 2022, par Ota-CoderI need an open source non-linear video editor that runs in the command line in Linux that will achieve layering of videos, audio, and photos.


What I’m trying to achieve in the end is like a talking heads version of comments on youtube that there would be conversations.


So far, I’ve tried using python opencv combined with ffmpeg xfade transitions using the script I found here - https://stackoverflow.com/a/70043923/13826771 - but sadly, it is linear editing (?) and the result is something like this which doesn’t look like talking heads that are having a conversation - https://streamable.com/bpbbsy


So far I have looked into MLT / Melt but I’m really puzzled and confused about how I should achieve the talking head conversation.


Any help would be appreciated