
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (82)
-
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 (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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
Sur d’autres sites (4967)
-
Announcing Piwik Community Meetup in Munich : Register now !
5 mai 2014, par Piwik Core TeamWe’re excited to announce our second Piwik community Meetup ! This will be a unique opportunity to connect with other Piwik users, and meet the core team behind Piwik.
Updated : presentation slides
The Making Of The Analytics Platform Of The Future
Piwik in Enterprise
Piwik Analytics Platform
Guest lecture : TV to Web Analytics
Guest lecture : Oxid analytics with Piwik
When and where is the meetup ? (update, see below)
Location : Munich, Germany
Date : Tuesday July 29th 2014
Time : 5PM
Language : German/English
Cost : Free !Who can join ?
All Piwik community members (users, translators, contributors) are warmly invited to join the meetup. Almost all of the core team will be present, we’re looking forward to meeting you !
What to expect for the Piwik meetup ?
The meetup will consist of three speakers giving quick 15-20 minute presentations followed by Q&A.
- Discover some of the upcoming features
- Learn tricks to make the most out of Piwik
- Networking and socialising… and an after party in a local bar to continue the discussion !
Who can join the meetup ?
This meetup is open to all Piwik users and members of the community.
- If you are using Piwik to improve your websites and apps, or generally curious about digital analytics and marketing
- If you are interested in the platform, integrating your app with Piwik or building plugins, come meet with other developers and creators of Piwik
Timing
- Doors open at 17:00
- Starts at 17:30
- Ends at 20:00 – 20:30
Schedule
- 17:30 – Welcome speech (Peter Boehlke (german))
- 17:40 – Piwik for governments & corporations – Piwik PRO case study (Maciej Zawadziński english)
- 18:05 – Break (25 minutes) – Coffee, Tea, pastries and cold buffet (free)
- 18:30 – Overview of the platform Piwik, custom data tracking, publishing on the new Marketplace (Thomas Steur (german))
- 18:55 – Break (10 minutes)
- 19:05 – Piwik users present interesting real world use cases (german)
– TV-to-Web analytics (Jasper Sasse)
– Piwik from a SEO’s perspective (Thomas Zeithaml)
– Using the Piwik Framework to analyze Shop-Data (Joachim Barthel) - 19:30 – Break (10 minutes)
- 19:40 – Next big features, milestones, future roadmap (Matthieu Aubry english)
- 20:05 – Break (5 minutes)
- 20:10 – Summary & end of the conference (german)
- After party at a nearby bar or restaurant (open end)
Call for Papers
We would like to hear about how you use Piwik ! If you’d like to present your interesting use case on the conference (speaking time 5 to 7 minutes), please contact us at hello@piwik.org !
Meetup location
Munich Workstyle
Landwehrstraße 61
80336 München
Location / DirectionsParking space is limited : We recommend to use public transport !
Stations nearby :
S-Bahn : Hauptbahnhof, Stachus (both 700m)
U-Bahn : Stachus (700m), Theresienwiese (400m)
Beverage pricing
Mineral water : EUR 3,10 (0,75l)
Softdrinks / juices : EUR 2,10
Beer : EUR 2,80
A special thank you to our sponsor Mayflower GmbH !
Register now
Seats are limited, please register today to secure your seat :
Register now ! -
lavc : Deprecate avctx.me_method
7 juillet 2015, par Vittorio Giovaralavc : Deprecate avctx.me_method
This option is extremely codec specific and only a few codecs employ it.
Move it to codec private options instead : mpegenc family supports only 3
values, xavs and x264 use 5, and xvid has a different metric entirely.Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>
- [DBH] doc/encoders.texi
- [DBH] libavcodec/avcodec.h
- [DBH] libavcodec/libx264.c
- [DBH] libavcodec/libxavs.c
- [DBH] libavcodec/libxvid.c
- [DBH] libavcodec/motion_est.c
- [DBH] libavcodec/motion_est.h
- [DBH] libavcodec/mpegvideo.h
- [DBH] libavcodec/mpegvideo_enc.c
- [DBH] libavcodec/options_table.h
- [DBH] libavcodec/svq1enc.c
- [DBH] libavcodec/svq1enc.h
- [DBH] libavcodec/version.h
- [DBH] libavcodec/wmv2enc.c
-
FFMpeg C++ encoder fails with hardware acceleration quick sync intel
28 août 2022, par tealsI am trying to debug an issue I have with a simple C++ encoder using FFMmpeg. The following code below works correctly on these other hardware acceleration systems/platforms :


- 

- Mac/VideoToolbox,
- Cuda/NVEnc
- Raspberry pi/h264_v4l2m2m.








It fails on intel quick sync at
avcodec_open2
. I'm using Ubuntu 22.04. I built FFMpeg from source with the Intel Media SDK installed and configured. I verified that the QuickSync install works. I also have a corresponding decoder implementation that works correctly using intel quick sync. So I know everything properly installed. I am also running this on an 11th Gen Intel CPU.

[hevc_qsv @ 0x564b0d34f0c0] Low power mode is unsupported (This sometimes shows up)
[hevc_qsv @ 0x563691234000] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



This is the only error that I get and I haven't found any helpful resources. I tried playing around with different parameters but nothing seems to work. Any help or insight would be extremely helpful.


bool VideoEncoder::create() {
 char const* outfile = filePath.c_str();

 // open output format context
 int ret = avformat_alloc_output_context2(&ofctx, nullptr, nullptr, outfile);
 if (ret < 0) {
 std::cerr << "fail to avformat_alloc_output_context2(" << outfile << "): ret=" << ret;
 return false;
 }

 // create new video stream
 const AVCodec* codec = avcodec_find_encoder_by_name(encoderName.c_str());
 vstrm = avformat_new_stream(ofctx, codec);
 if (!vstrm) {
 std::cerr << "fail to avformat_new_stream";
 return false;
 }

 // open video encoder
 cctx = avcodec_alloc_context3(codec);
 if (!vstrm) {
 std::cerr << "fail to avcodec_alloc_context3";
 return false;
 }
 const AVRational dst_fps = {fps, 1};
 cctx->width = width;
 cctx->height = height;
 if(pixel_format != AV_PIX_FMT_NONE) {
 cctx->pix_fmt = pixel_format;
 }
 else {
 cctx->pix_fmt = codec->pix_fmts[0];
 }
 cctx->time_base = av_inv_q(dst_fps);
 cctx->framerate = dst_fps;
 cctx->bit_rate = bitrate * 1000000;


 AVDictionary* options = nullptr;
 if(gpu_id >= 0) {
 av_dict_set_int(&options, "gpu", gpu_id, 0);
 }

 
 if (ofctx->oformat->flags & AVFMT_GLOBALHEADER)
 cctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
 ret = avcodec_open2(cctx, codec, &options);
 if (ret < 0) {
 std::cerr << "fail to avcodec_open2: ret=" << ret;
 return false;
 }
 avcodec_parameters_from_context(vstrm->codecpar, cctx);

 //For mac/quicktime we need to add hvc1 tag.
 if (encoderName.find("hevc") != std::string::npos) {
 vstrm->codecpar->codec_tag = MKTAG('h', 'v', 'c', '1');
 }

 /*
 std::cout
 << "outfile: " << outfile << "\n"
 << "format: " << ofctx->oformat->name << "\n"
 << "vcodec: " << codec->name << "\n"
 << "size: " << width << 'x' << height << "\n"
 << "fps: " << av_q2d(cctx->framerate) << "\n"
 << "pixfmt: " << av_get_pix_fmt_name(cctx->pix_fmt) << "\n"
 << std::flush;*/

 // initialize sample scaler
 swsCtx = sws_getContext(
 width, height, AV_PIX_FMT_BGR24,
 width, height, cctx->pix_fmt,
 SWS_BILINEAR, nullptr, nullptr, nullptr);
 if (!swsCtx) {
 std::cerr << "fail to sws_getContext";
 return false;
 }

 // allocate frame buffer for encoding
 frame = av_frame_alloc();
 frame->width = width;
 frame->height = height;
 frame->format = static_cast<int>(cctx->pix_fmt);
 ret = av_frame_get_buffer(frame, 32);
 if (ret < 0) {
 std::cerr << "fail to av_frame_get_buffer: ret=" << ret;
 return false;
 }

 // allocate packet to retrive encoded frame
 pkt = av_packet_alloc();
 // open output IO context
 ret = avio_open2(&ofctx->pb, outfile, AVIO_FLAG_WRITE, nullptr, nullptr);
 if (ret < 0) {
 std::cerr << "fail to avio_open2: ret=" << ret;
 return false;
 }

 // write media container header (if any)
 ret = avformat_write_header(ofctx, nullptr);
 if (ret < 0) {
 std::cerr << "fail to avformat_write_header: ret=" << ret;
 return false;
 }

 return true;
}
</int>