
Recherche avancée
Autres articles (53)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6573)
-
JavaCV FFmpegFrameRecorder properties explanation needed
29 décembre 2014, par LeronI’m using
FFmpegFrameRecorder
to get the video input from my webcam and record it into a video file. The problem is that I’m building my application using a few different demo source codes that I found and I use properties some of which are not completely clear to me.First, here is my code snippet :
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(FILENAME, grabber.getImageWidth(),grabber.getImageHeight());
recorder.setVideoCodec(13);
recorder.setFormat("mp4");
recorder.setPixelFormat(avutil.PIX_FMT_YUV420P);
recorder.setFrameRate(30);
recorder.setVideoBitrate(10 * 1024 * 1024);
recorder.start();- setVideoCodec(13) - What is the meaning of this
(13)
how can I understand what actual codec stands behind any number ? - setPixelFormat - Just get this, don’t know what it’s doing in general
- setFrameRate(30) - I think this should be pretty clear but still what is the logic behind what frame rate we choose (isn’t the high the better ?)
- setVideoBitrate(10*1024*1024) - again almost no idea what this does and what’s the logic behind the numbers ?
At the end I just want to mention one last problem that I get recording video like this. If the actual length of the video is let’s say 20secs. When I play the video file created from the program it runs significantly faster. Can’t tell if it’s exactly 2 times faster than it should be but in general if I record a 20sec video then it’s played for about 10secs. What may cause this and how can I fix it ?
- setVideoCodec(13) - What is the meaning of this
-
ffmpeg time unit explanation and av_seek_frame method
3 septembre 2013, par user325320What does
time_base
mean in ffmpeg ? document(here) says it is "frames per second".
and I see in a real example that :AVFormatContext->streams[video_index]->time_base
== 1 / 30000But video's
AVCodecContext->time_base
== 1001 / 60000This makes me quite confused, and I don't understand them.
The second question is about av_seek_frame method.
If seeking via time stamp (last parameter is AVSEEK_FLAG_BACKWARD or 0),
the seek is started from current position read by av_seek_frame ?
or from the start of the file ? or from the start position of decoding after last av_seek_frame call ? -
Clarify the importance of the "X-Content-Type-Options : nosniff" header. Closes #2414
9 juillet 2013, par blueimpClarify the importance of the "X-Content-Type-Options : nosniff" header. Closes #2414
Add the "Content-Disposition : attachment" header.