
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (58)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (11273)
-
mplayer generating online three thumbnail of video
5 mai 2013, par soacI am trying to create thumbnail of video using mplayer but it is only creating 3 thumbnail of video and then repeating the last thumbnail again and again.
MPlayer command 1 :
mplayer video/1.mp4 -sstep 5 -endpos 25 -nosound -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath 2>log.txt
Problem : It create 3 different image and then repeat last image again and again.
MPlayer command 2 :
mplayer video/1.mp4 -sstep 5 -endpos 25 -nosound -frames 5 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath 2>log.txt
Problem : It create 3 different image and then repeat last image 2 times, If I change -frames to 10 than it repeat last image 7 times.
MPlayer command 3 :
mplayer video/1.mp4 -ss 5 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 10 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 15 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 20 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 15 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / 2>log.txt
Problem : Same problem as above described. 3 thumbnail difference and other are same. Duration of video is 27 seconds. I run this command on mplayer and mplayer2 but same result. MPlayer Binary are taken from http://sourceforge.net/projects/smplayer/files/
I want MPlayer to capture thumbnail after every X seconds using MPlayer not FFMPEG. I am already using FFMPEG for creating thumbnail and it is working fine. My Operating System is Windows 7. Log File
MPlayer Redxii-SVN-r36237-4.6.3 (C) 2000-2013 MPlayer Team Custom build by Redxii, http://smplayer.sourceforge.net Compiled against FFmpeg version N-52748-g1ef82cc Build date : Sun May 5 03:45:49 EDT 2013 getch2 : 6 can't get number of input events [disabling console input] Playing D :/wamp/www/videoconverter/content/original/3.mp4. libavformat version 55.4.101 (internal) libavformat file format detected. [lavf] stream 0 : video (h264), -vid 0 [lavf] stream 1 : audio (aac), -aid 0, -alang und VIDEO : [H264] 960x540 24bpp 25.000 fps 2087.1 kbps (254.8 kbyte/s) Clip info : major_brand : isom minor_version : 512 compatible_brands : isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf52.77.0 comment : www.freemake.com Load subtitles in D :/wamp/www/videoconverter/content/original/ jpeg : Progressive JPEG disabled. jpeg : Baseline JPEG enabled. Opening video filter : [scale w=96 h=64] ========================================================================== Opening video decoder : [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 55.7.100 (internal) Selected video codec : [ffh264] vfm : ffmpeg (FFmpeg H.264) ========================================================================== Audio : no sound Starting playback... Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. [swscaler @ 01400520]BICUBIC scaler, from yuv420p to rgb24 using MMXEXT VO : [jpeg] 96x64 => 113x64 RGB 24-bit jpeg : content/tmp/sprites/HxHtQGKbsV - Output directory already exists and is writable. Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO : [jpeg] 96x64 => 113x64 RGB 24-bit jpeg : content/tmp/sprites/HxHtQGKbsV - Output directory already exists and is writable. V : 0.0 0/ 0 ??% ??% ??, ?% 0 0 V : 5.8 0/ 0 ??% ??% ??, ?% 0 0 V : 10.6 0/ 0 ??% ??% ??, ?% 0 0 V : 18.5 0/ 0 ??% ??% ??, ?% 0 0 V : 25.6 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 Exiting... (End of file)
-
Powerful Video Analytics and Audio Analytics for Piwik
10 novembre 2016, par InnoCraft — Plugins, Press ReleasesOver the years, one of the most frequently requested feature by users was to be able to measure how videos and audios are watched and engaged with on your website. We are finally able to announce that it is here ! We are very excited to launch Media Analytics, which will help you understand and grow your audience.
This article is a showcase of the new powerful video and audio analytics product built for Piwik.
Why media analytics ?
We all love media content such as videos as they can make our experiences on websites and apps so much more interesting. A growing number of websites now utilize media files in one form or another : a video presentation of a product or service, a video tutorial teaching you how to do something or interviews with key speakers. Also many creators and distributors are publishing audio files such as podcasts or music songs, and even broadcasting live video events such as music concerts or an entire conference online.
Whenever you publish videos or audio media on your websites or applications, Media Analytics provides you with clear insights on how your audience interacts with your content. It helps you see what content works and why – so you can better understand and further grow your business !
Valuable insights in Real time
See where your audience comes from.
How will Media Analytics help me grow ?
- Better understand your audience : who are the users playing videos and for how long, how often, and where have they dropped off.
- Gain quick insights into how interaction with your media changes over time with easy to use graphs and report overviews.
- Get closer to your users by seeing every action of your visitors before and after they utilized your media.
- View valuable insights in Real time : ‘most popular content right now’, your real time audience map, and more.
- See where your audience comes from. Drill down right from continents to specifics such as cities.
- Share and export media analytics reports with your colleagues by creating custom email reports.
- Video and audio players are supported either automatically (for Youtube, Vimeo, HTML5…) or via a simple custom player integration.
- No data limit and 100% privacy and data ownership.
Best of all, it is easy to use and understand, and integrates perfectly with Piwik. Media Analytics complements other reports to give you a 360 degree view of how your users engage with your content.
Learn more on the official website : www.media-analytics.net
How do I get Media Analytics ?
All premium plugins come with our 14 day money back guarantee and 1-click installation & updates. Customers get all product updates for free.
Media Analytics is available for purchase and download on the Marketplace.
If you are not using Piwik yet, you can also signup for a free trial of Piwik Cloud (including Media Analytics !).
Have a question about this product ? Get in touch.
-
What's wrong with my use of timestamps/timebases for frame seeking/reading using libav (ffmpeg) ?
17 septembre 2013, par mtreeSo I want to grab a frame from a video at a specific time using libav for the use as a thumbnail.
What I'm using is the following code. It compiles and works fine (in regards to retrieving a picture at all), yet I'm having a hard time getting it to retrieve the right picture.
I simply can't get my head around the all but clear logic behind libav's apparent use of multiple time-bases per video. Specifically figuring out which functions expect/return which type of time-base.
The docs were of basically no help whatsoever, unfortunately. SO to the rescue ?
#define ABORT(x) do {fprintf(stderr, x); exit(1);} while(0)
av_register_all();
AVFormatContext *format_context = ...;
AVCodec *codec = ...;
AVStream *stream = ...;
AVCodecContext *codec_context = ...;
int stream_index = ...;
// open codec_context, etc.
AVRational stream_time_base = stream->time_base;
AVRational codec_time_base = codec_context->time_base;
printf("stream_time_base: %d / %d = %.5f\n", stream_time_base.num, stream_time_base.den, av_q2d(stream_time_base));
printf("codec_time_base: %d / %d = %.5f\n\n", codec_time_base.num, codec_time_base.den, av_q2d(codec_time_base));
AVFrame *frame = avcodec_alloc_frame();
printf("duration: %lld @ %d/sec (%.2f sec)\n", format_context->duration, AV_TIME_BASE, (double)format_context->duration / AV_TIME_BASE);
printf("duration: %lld @ %d/sec (stream time base)\n\n", format_context->duration / AV_TIME_BASE * stream_time_base.den, stream_time_base.den);
printf("duration: %lld @ %d/sec (codec time base)\n", format_context->duration / AV_TIME_BASE * codec_time_base.den, codec_time_base.den);
double request_time = 10.0; // 10 seconds. Video's total duration is ~20sec
int64_t request_timestamp = request_time / av_q2d(stream_time_base);
printf("requested: %.2f (sec)\t-> %2lld (pts)\n", request_time, request_timestamp);
av_seek_frame(format_context, stream_index, request_timestamp, 0);
AVPacket packet;
int frame_finished;
do {
if (av_read_frame(format_context, &packet) < 0) {
break;
} else if (packet.stream_index != stream_index) {
av_free_packet(&packet);
continue;
}
avcodec_decode_video2(codec_context, frame, &frame_finished, &packet);
} while (!frame_finished);
// do something with frame
int64_t received_timestamp = frame->pkt_pts;
double received_time = received_timestamp * av_q2d(stream_time_base);
printf("received: %.2f (sec)\t-> %2lld (pts)\n\n", received_time, received_timestamp);Running this with a test movie file I get this output :
stream_time_base: 1 / 30000 = 0.00003
codec_time_base: 50 / 2997 = 0.01668
duration: 20062041 @ 1000000/sec (20.06 sec)
duration: 600000 @ 30000/sec (stream time base)
duration: 59940 @ 2997/sec (codec time base)
requested: 10.00 (sec) -> 300000 (pts)
received: 0.07 (sec) -> 2002 (pts)The times don't match. What's going on here ? What am I doing wrong ?
While searching for clues I stumbled upon this this statement from the libav-users mailing list…
[...] packet PTS/DTS are in units of the format context's time_base,
where the AVFrame->pts value is in units of the codec context's time_base.In other words, the container can have (and usually does) a different
time_base than the codec. Most libav players don't bother using the
codec's time_base or pts since not all codecs have one, but most
containers do. (This is why the dranger tutorial says to ignore AVFrame->pts)…which confused me even more, given that I couldn't find any such mention in the official docs.
Anyway, I replaced…
double received_time = received_timestamp * av_q2d(stream_time_base);
…with…
double received_time = received_timestamp * av_q2d(codec_time_base);
…and the output changed to this…
...
requested: 10.00 (sec) -> 300000 (pts)
received: 33.40 (sec) -> 2002 (pts)Still no match. What's wrong ?