
Advanced search
Medias (91)
-
Géodiversité
9 September 2011, by ,
Updated: August 2018
Language: français
Type: Text
-
USGS Real-time Earthquakes
8 September 2011, by
Updated: September 2011
Language: français
Type: Text
-
SWFUpload Process
6 September 2011, by
Updated: September 2011
Language: français
Type: Text
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 May 2011
Updated: July 2013
Language: français
Type: Text
-
Podcasting Legal guide
16 May 2011, by
Updated: May 2011
Language: English
Type: Text
-
Creativecommons informational flyer
16 May 2011, by
Updated: July 2013
Language: English
Type: Text
Other articles (23)
-
Keeping control of your media in your hands
13 April 2011, byThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Submit bugs and patches
13 April 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information: the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
List of compatible distributions
26 April 2011, byThe 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 (...)
On other websites (6060)
-
fftools/cmdutils: Use avfilter_pad_count() for AVFilter's number of pads
12 August 2021, by Andreas Rheinhardtfftools/cmdutils: Use avfilter_pad_count() for AVFilter's number of pads
Besides being nicer code this also has the advantage of not making
assumptions about the internal implementation: While it is documented
that the AVFilter.inputs and AVFilter.outputs arrays are terminated
by a zeroed sentinel, one is not allowed to infer that one can just
check avfilter_pad_get_name(padarray, i) to see whether one has reached
the sentinel:
It could be that the pointer to the string is contained
in a different structure than AVFilterPad that needs to be accessed
first: return pad->struct->string.
It could be that for small strings an internal buffer in
AVFilterPad is used (to avoid a relocation) whereas for longer strings
an external string is used; this is useful to avoid relocations:
return pad->string_ptr ? pad->string_ptr : pad->interal_string
Or it could be that the name has a default value:
return pad->name ? pad->name : "default"
(This actually made sense for us because the name of most of our
AVFilterPads is just "default"; doing so would save lots of relocations.)The only thing one is allowed to infer from the existence of the
sentinel is that one is allowed to use avfilter_pad_count() to get
the number of pads. Therefore it is used.Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> -
FFmpeg av_guess_format returns NULL
12 September 2014, by KageI’m following the example code here: http://cekirdek.pardus.org.tr/ ismail/ffmpeg-docs/output-example_8c-source.html
My code is as follows:
fmt = av_guess_format(NULL, filename, NULL);
if (!fmt) {
LOGE(1,"Could not deduce output format from file extension: using MPEG.\n");
fmt = av_guess_format("mp4", NULL, NULL);
}
if (!fmt) {
LOGE(1, "Could not find suitable output format\n");
exit(1);
}The two times that I call av_guess_format, it is returning NULL both times.
I am calling both av_register_all() and avcodec_register_all() beforehand.Any ideas as to why this is returning NULL?
Thanks in advance.
-
avutil/opt: Avoid av_strdup(NULL)
25 March 2024, by Andreas Rheinhardtavutil/opt: Avoid av_strdup(NULL)
It is not documented to be safe and in any case it is nonsense:
Currently av_strdup(NULL) returns NULL and in order to distinguish
this from a genuine allocation failure, opt_copy_elem()
checked afterwards whether src was actually NULL. But then one
can simply check in advance whether one should call av_strdup()
at all.
set_string() was even worse and returned ENOMEM in case the value
to be duplicated is NULL; this only worked because
av_opt_set_defaults2() does not check the return value at all
(given that it can't propagate it).These two places account for 389114 of 390356 av_strdup(NULL)
calls during one FATE run.Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>