
Recherche avancée
Autres articles (46)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (6401)
-
Merge commit '8a34f3659371680ca523aecfd9098c28f0f809eb'
5 mai 2017, par James AlmerMerge commit '8a34f3659371680ca523aecfd9098c28f0f809eb'
* commit '8a34f3659371680ca523aecfd9098c28f0f809eb' :
build : Add version numbers to "Requires" entries in pkg-config filesThis commit is a noop, see 6fdd35a3126f6ecbe4ebab12bdf8867e4f544958
Merged-by : James Almer <jamrial@gmail.com>
-
Merge commit '92db5083077a8b0f8e1050507671b456fd155125'
4 mai 2017, par James AlmerMerge commit '92db5083077a8b0f8e1050507671b456fd155125'
* commit '92db5083077a8b0f8e1050507671b456fd155125' :
build : Generate pkg-config files from Make and not from configure
build : Store library version numbers in .version filesIncludes cherry-picked commits 8a34f3659371680ca523aecfd9098c28f0f809eb and
ee164727dd64c199b87118917e674b17c25e0da3 to fix issues.Changes were also made to retain support for raise_major and build_suffix.
Reviewed-by : ubitux
Merged-by : James Almer <jamrial@gmail.com>- [DH] Makefile
- [DH] configure
- [DH] ffbuild/.gitignore
- [DH] ffbuild/common.mak
- [DH] ffbuild/library.mak
- [DH] ffbuild/libversion.sh
- [DH] ffbuild/pkgconfig_generate.sh
- [DH] libavcodec/Makefile
- [DH] libavdevice/Makefile
- [DH] libavfilter/Makefile
- [DH] libavformat/Makefile
- [DH] libavresample/Makefile
- [DH] libavutil/Makefile
- [DH] libpostproc/Makefile
- [DH] libswresample/Makefile
- [DH] libswscale/Makefile
-
Copy frame specific properties (eg. width and height)
5 août 2014, par gkuczeraIt’s not that something is not working, I just can’t figure out how to copy frame props (eg. height and width) after usage of sws_scale function - this function doesn’t copy them into the destination frame).
Why I need this ? My frame after scaling is becoming the input for the filter, and it’s source props have to be specified to specific numbers, not like it accepts everything (so a frame with width and height equal to zero - which I get after scaling - is not an option).
I tried to use
av_frame_copy_props
but even in this function’s description, they mentioned that it will not do this.
Here is the code :
AVFrame* tOwnersFrame = pOwner->getFrame();
AVFrame* tResizedFrame = avcodec_alloc_frame();
int tResizedFrameWidth = pMaxFrameWidth;
int tResizedFrameHeight = pMaxFrameHeight;
if (!tResizedFrame)
{
cout << "Couldn't allocate the frame!" << endl;
return;
}
uint8_t* tBuffer;
int tBytesNeeded;
tBytesNeeded = avpicture_get_size(PIX_FMT_RGB24, tResizedFrameWidth, tResizedFrameHeight);
tBuffer = (uint8_t*)av_malloc(tBytesNeeded * sizeof(uint8_t));
avpicture_fill((AVPicture*)tResizedFrame, tBuffer, PIX_FMT_RGB24, tResizedFrameWidth, tResizedFrameHeight);
mSwsContext = sws_getCachedContext(mSwsContext, pOwner->getFrameWidth(), pOwner->getFrameHeight(), AV_PIX_FMT_BGR24, tResizedFrameWidth, tResizedFrameHeight, PIX_FMT_RGB24, SWS_BILINEAR, NULL, NULL, NULL);
sws_scale(mSwsContext, (const uint8_t* const *)tOwnersFrame->data, tOwnersFrame->linesize, 0, pOwner->getFrameHeight(), tResizedFrame->data, tResizedFrame->linesize);
cout << "FramesMerger::resizeFrameMax - arg frame size: " << pOwner->getFrame()->width << ", " << pOwner->getFrame()->height << endl;
cout << "FramesMerger::resizeFrameMax - resized frame size: " << tResizedFrame->width << ", " << tResizedFrame->height << endl;