
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (60)
-
Submit bugs and patches
13 avril 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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe 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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (14847)
-
how to explain this C language code from ffmpeg remuxing
20 avril 2017, par Fidonacan someone help me what the meaning of this code ? this is a code from ffmpeg remuxing code.
static void log_packet(const AVFormatContext *fmt_ctx, const AVPacket *pkt, const char *tag, int hours, int mins, int secs, int us, int *time )
{
AVRational *time_base = &fmt_ctx->streams[pkt->stream_index]->time_base;
total = total + pkt->duration;
// printf( "%d:%d:%d.%d \n", hours, mins, secs, us );
*time = av_q2d(*time_base) * pkt->pts ;
}I’m kind of new to C language. thank you !
-
How to get bit stream rate of a mpeg Transport Stream ?
28 septembre 2015, par CompNetHow can we get the bit rate of a transport stream from the
TS
source ? One way is to use a constant bitrate while multiplexing the encoded video into TS stream. But how does the variable bitstream work ?I found the command with ffmpeg like :
ffmpeg -i encoded.mp4 -c copy -map 0 -vbsf h264_mp4toannexb mpegts out.ts
but could not understand the meaning of
-vbsf h264_mp4toannexb
. Can anyone please explain me how does variable bitrate work ?Also, is there any other way we can find the timestamp of each
TS
packet multiplexed in the Transport Stream ? -
how av_freep in ffmpeg works ?
11 août 2016, par Billy BobI have some questions regarding void pointer in C. I found out the following code, part of ffmpeg that I couldn’t understand... Could someone explain to me how it works ?
void av_freep(void *arg)
{
void *val;
memcpy(&val, arg, sizeof(val));
memcpy(arg, &(void *){ NULL }, sizeof(val));
av_free(val);
}and later it’s called like this :
char *str;
av_freep(&str);my questions :
- how passing address of str (&str) doesn’t trigger "incompatible type" warning when it’s compiled ? Shouldn’t &str type is become char** ?
- what’s the meaning of &(void *) NULL in one of memcpy parameter ?
- why it’s trying to free "val" which is not allocated ?
Thanks !