
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (51)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...)
Sur d’autres sites (7180)
-
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 ?
-
Ffmpeg examples run in debug mode [on hold]
25 août 2017, par Saeid ZangenehI’m not so professional in c and cpp. I want to run FFmpeg official examples but there are many errors on include files. I can’t solve them.
below output :when i try to run or debug the sample code
debug output :
cd '/home/saeid/NetBeansProjects/CppApplication_2'
/usr/bin/make -f Makefile CONF=Debug
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build- conf
make[1]: Entering directory '/home/saeid/NetBeansProjects
/CppApplication_2'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-
Linux/cppapplication_2
make[2]: Entering directory '/home/saeid/NetBeansProjects
/CppApplication_2'
mkdir -p dist/Debug/GNU-Linux
gcc -o dist/Debug/GNU-Linux/cppapplication_2 build/Debug/GNU-
Linux/sample.o
build/Debug/GNU-Linux/sample.o: In function `select_channel_layout':
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:87: undefined
reference to `av_get_channel_layout_nb_channels'
build/Debug/GNU-Linux/sample.o: In function `audio_encode_example':
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:112: undefined
reference to `avcodec_find_encoder'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:117: undefined
reference to `avcodec_alloc_context3'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:127: undefined
reference to `av_get_sample_fmt_name'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:134: undefined
reference to `av_get_channel_layout_nb_channels'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:136: undefined
reference to `avcodec_open2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:146: undefined
reference to `av_frame_alloc'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:156: undefined
reference to `av_samples_get_buffer_size'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:162: undefined
reference to `av_malloc'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:169: undefined
reference to `avcodec_fill_audio_frame'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:179: undefined
reference to `av_init_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:183: undefined
reference to `sin'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:189: undefined
reference to `avcodec_encode_audio2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:196: undefined
reference to `av_free_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:201: undefined
reference to `avcodec_encode_audio2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:208: undefined
reference to `av_free_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:212: undefined
reference to `av_freep'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:213: undefined
reference to `av_frame_free'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:214: undefined
reference to `avcodec_close'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:215: undefined
reference to `av_free'
build/Debug/GNU-Linux/sample.o: In function `audio_decode_example':
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:229: undefined
reference to `av_init_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:232: undefined
reference to `avcodec_find_decoder'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:237: undefined
reference to `avcodec_alloc_context3'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:243: undefined
reference to `avcodec_open2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:254: undefined
reference to `av_free'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:264: undefined
reference to `av_frame_alloc'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:269: undefined
reference to `avcodec_decode_audio4'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:276: undefined
reference to `av_get_bytes_per_sample'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:305: undefined reference to `avcodec_close'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:306: undefined reference to `av_free'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:307: undefined reference to `av_frame_free'build/Debug/GNU-Linux/sample.o : In function `video_encode_example’ :
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:323: undefined reference to `avcodec_find_encoder'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:328: undefined reference to `avcodec_alloc_context3'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:350: undefined reference to `av_opt_set'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:352: undefined reference to `avcodec_open2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:361: undefined reference to `av_frame_alloc'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:371: undefined reference to `av_image_alloc'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:379: undefined reference to `av_init_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:399: undefined reference to `avcodec_encode_video2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:407: undefined reference to `av_free_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:413: undefined reference to `avcodec_encode_video2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:421: undefined reference to `av_free_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:427: undefined reference to `avcodec_close'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:428: undefined reference to `av_free'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:429: undefined reference to `av_freep'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:430: undefined reference to `av_frame_free'
build/Debug/GNU-Linux/sample.o: In function `decode_write_frame':
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:452: undefined reference to `avcodec_decode_video2'build/Debug/GNU-Linux/sample.o : In function `video_decode_example’ :
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:481: undefined reference to `av_init_packet'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:486: undefined reference to `avcodec_find_decoder'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:491: undefined reference to `avcodec_alloc_context3'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:502: undefined reference to `avcodec_open2'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:511: undefined reference to `av_frame_alloc'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:545: undefined reference to `avcodec_close'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:546: undefined reference to `av_free'
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:547: undefined reference to `av_frame_free'
build/Debug/GNU-Linux/sample.o: In function `main':
/home/saeid/NetBeansProjects/CppApplication_2/sample.c:556: undefined
reference to `avcodec_register_all'
collect2: error: ld returned 1 exit status
nbproject/Makefile-Debug.mk:62: recipe for target 'dist/Debug/GNU-
Linux/cppapplication_2' failed
make[2]: *** [dist/Debug/GNU-Linux/cppapplication_2] Error 1
make[2]: Leaving directory '/home/saeid/NetBeansProjects/CppApplication_2'
nbproject/Makefile-Debug.mk:59: recipe for target '.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory '/home/saeid/NetBeansProjects/CppApplication_2'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2