
Recherche avancée
Autres articles (73)
-
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (11178)
-
Fix edge case for Safari + Flash, where Safari does not load SWFs on pages opened in new, unfocused tabs ; SM2 waits for focus before starting init/timeout process. Also removed ancient Safari 3.1 focus-related mousemove() workaround (since 3.1 lacked modern onfocus().)
23 mai 2012, par Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Fix edge case for Safari + Flash, where Safari does not load SWFs on pages opened in new, unfocused tabs ; SM2 waits for focus before starting init/timeout process. (...)
-
Pages keep loading until ffmpeg complete (running using php exec)
18 octobre 2017, par shoaib_qureshiI am using ffmpeg command in php
exec()
. At the end of the command I have added the line below to get the command-line output in a text file.2>&1 | tee -a progress.txt 2>/dev/null >/dev/null
But the problem is while running this command the other project page keeps loading until the command is finished.
Here I am converting video into 3 resolutions in a single command which is separated by pipe, and added above line to get output in a text file.
Here is my whole command echoed :
ffmpeg -y -i test5.mp4 -vcodec libx264 -vprofile high -preset medium -b:v 250k -maxrate 250k -bufsize 500k -vf scale=-2:144,setdar=16:9 -acodec copy -b:a 128k 1.mp4 | ffmpeg -y -i test5.mp4 -vcodec libx264 -vprofile high -preset medium -b:v 350k -maxrate 350k -bufsize 600k -vf scale=-2:240,setdar=16:9 -acodec copy -b:a 128k 2.mp4 | ffmpeg -y -i test5.mp4 -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-2:360,setdar=16:9 -acodec copy -b:a 128k 3.mp4 2>&1 | tee -a progress.txt 2>/dev/null >/dev/null
-
ffmpeg how to calculate complete frame ['I' frame ] from [ 'P' frame ]. It is conceptually correct ?
15 février 2014, par WhoamiI am trying to get the knowledge of ffmpeg streaming video handling.
what I understood :
I get from the IPed Camaera, the frames like 'IPPPPPPPPPPPPPPPPIPPPPPPP'..
Frame 'I' is a complete frame, where as frame 'P' depends on the previous either 'P' or 'I' frame which ever is the closes.
I get the frame by using avcodec_decode_video2
while (av_read_frame (context, &packet) >=0)
{
//LOGD (" Received PACKET...DTS and PTS %ld and %ld ", packet.pts, packet.dts);
if(packet.stream_index == videoStreamIndex ) {
avcodec_decode_video2 (pCodecCtx, pFrame, &finished, &packet);
if ( finished) {
// Here is my frame, getting the type by av_get_picture_type_char(pFrame->pict_type).
}
}Now, When i display just the frames that i have received, looks like whenever 'I' frame received, it displays properly, when received 'P' frames, the image goes for a toss.
1) We need to manually do any calculation to convert 'P' Frame to 'I' Frame so that it can be rendered ?
2) If not (1), what do i have to take care ?..Does DTS/PTS calcuation do the magic here ?