
Recherche avancée
Autres articles (89)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
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 (...)
Sur d’autres sites (6636)
-
AWS ffmpeg-lambda-layer and concat protocol (Node.js)
25 février 2021, par portikI am trying to concatenate two .mp3 files using ffmpeg lambda-layer. I have what I think is the correct command, but I struggle to represent it in code so that it is formatted correctly for the lambda layer. Here is a piece of code that I am struggling to get right :


spawnSync(
 '/opt/ffmpeg/ffmpeg',
 [
 '-i',
 '"concat:/tmp/pt1.mp3|/tmp/pt2.mp3"',
 '-acodec',
 'copy',
 `/tmp/${fileName}`
 ],
 { stdio: 'inherit' }
)



The error I'm getting :
"concat:/tmp/pt1.mp3|/tmp/pt2.mp3": No such file or directory
.

I tried to list files in
/tmp/
folder - both files listed in the input are there, not sure why lambda layer can't find them.

Similar question : https://lists.ffmpeg.org/pipermail/ffmpeg-user/2019-December/046299.html. Ffmpeg concatenate protocol documentation : https://trac.ffmpeg.org/wiki/Concatenate#protocol.


Thanks in advance !


-
ffmpeg command to GStreamer pipeline for srtp stream
1er avril 2021, par Muhammet IlendemliI would like to convert this working ffmpeg command to a GStreamer pipeline but I couldn't manage to get it working. Tried using srtpenc toset the key to a hex representation of the buffer and udpsink with the target host and port set.



The command I currently have :



ffmpeg -re -i <<rtspurl>> -map 0:0 -vcodec h264_omx -pix_fmt yuv420p \
 -r 30 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 300k \
 -bufsize 300k -payload_type 99 -ssrc <<ssrc>> \
 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 \
 -srtp_out_params <<base64key>> srtp://<<targetip>>:<<targetport>>?rtcpport=<<targetport>>&localrtcpport=<<targetport>>&pkt_size=1378
</targetport></targetport></targetport></targetip></base64key></ssrc></rtspurl>



Some references :



- 

-
https://github.com/KhaosT/HAP-NodeJS/blob/master/src/lib/Camera.ts
-
https://github.com/KhaosT/HAP-NodeJS/wiki/IP-Camera#prepare-stream






-
-
Recording video in C#
30 décembre 2022, par pfedotovskyI have to do the following : record video from a camera using C#. The camera I use produces video frames (the frame rate is not fixed) and I have to somehow put all the frames together and create a video file. Also I need to use different codecs, such as AVI or MPEG-4 (these codecs are required, others are optional).


The main problem I faced was how to create a video in which the frame rate is not fixed. I have a stream of frames. For example, I can receive the first frame after 1 ms, then after 20 ms, then 36 ms and so on. If I create video with 25 frames/second the result will be wrong because it means that frames are added after 40 ms.


I tried to use Aforge.Video library. It has a method which adds a frame according to a timespan. But this method has problems with setting the bitrate. The bitrate value I pass to the method is simply ignored (About an FFmpeg bitrate and framerate issue).


Is there some C# library which I can use to do video recording ? I have to support AVI and MPEG-4, and also the possibility to set the bitrate and last but not least - record video with a variable framerate.


I can't connect to the camera directly. All I have is a stream of frames and I need to convert this stream to video at run time.


A library I'm looking for should satisfy the following properties. It has to contain a method (or some way how to do the same) to add the next frame with a timestamp, just like in Aforge.Video.FFMPEG :


public void WriteVideoFrame(Bitmap frame, TimeSpan timestamp)



And it should be possible to choose different codecs (at least AVI and MPEG-4) and also to set bitrate.
Are there some alternatives to Aforge.Video.FFMPEG ? Because Aforge doesn't work properly. The bitrate value is ignored, and also some codecs are not supported (MPEG-2 for example).


About the codec license. If I use an open source library, should I worry about the codec license ?