
Recherche avancée
Autres articles (44)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7429)
-
ffmpeg - Creates a Terminal like Text Video Instead of Slide Show Of Images
15 novembre 2017, par RAJESH KUMAR ARUMUGAMI am using ffmpeg encoder to render Images in my Android App with the Help of this Library
The following Command is used to Render video from a list of images.
String command[] = {"-r","1/5","-i",gpxfile.getAbsolutePath(),"-c:v","libx264","-vf","fps=25","-pix_fmt","yuv420p",root.getAbsolutePath()+"/"+"video.mp4"};
and here the gpxfile is my text file that contains the following
file '/storage/emulated/0/DCIM/Camera/P_20170807_143916.jpg'
duration 2
file '/storage/emulated/0/DCIM/Pic/P_20170305_142948.jpg'
duration 5
file '/storage/emulated/0/DCIM/Camera/P_20170305_142939.jpg'
duration 6
file '/storage/emulated/0/DCIM/Pic/P_20170305_142818.jpg'
duration 2My Problem is While Running the Command it renders a Terminal Like Black Screen with the TextPaths inside the file instead of a Video...!!!
Any Suggestions...??Here is my Project Source Code
-
ffmpeg libfdk-aac open coder error and show The encoder timebase is not set
28 octobre 2019, par RodStewardI try to encode some pcm data,and I compile ffmpeg for myself with libfdk-aac,but When I use a aac encoder,It shows timebase is not set,but aac data seems not need a timebase,and even I set the timebase,it shows the same error again
here is the Initializationcode :
AVCodec *pCodec;
AVCodecContext *pCodecCtx = NULL;
int i, ret, got_output;
FILE *fp_in;
FILE *fp_out;
AVFrame *pFrame;
uint8_t* frame_buf;
int size = 0;
AVPacket pkt;
int y_size;
int framecnt = 0;
char filename_in[] = "tdjm.pcm";
AVCodecID codec_id = AV_CODEC_ID_AAC;
char filename_out[] = "tdjm.aac";
int framenum = 1000;
avcodec_register_all();
pCodec = avcodec_find_encoder_by_name("libfdk_aac");
if (!pCodec) {
printf("Codec not found\n");
return -1;
}
pCodecCtx = avcodec_alloc_context3(pCodec);
if (!pCodecCtx) {
printf("Could not allocate video codec context\n");
return -1;
}
//pCodecCtx->codec_id = codec_id;
pCodecCtx->codec_type = AVMEDIA_TYPE_AUDIO;
pCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16;
pCodecCtx->sample_rate = 44100;
pCodecCtx->channel_layout = AV_CH_LAYOUT_STEREO;
pCodecCtx->channels = av_get_channel_layout_nb_channels(pCodecCtx->channel_layout);
pCodecCtx->bit_rate = 64000;
pCodecCtx->time_base = AVRational{1,10};
if (avcodec_open2(pCodecCtx, pCodec, NULL) < 0) {
printf("Could not open codec\n");
return -1;
} -
In ffmpeg command-line, how to show all filter settings and their parameters before encoding ?
7 décembre 2023, par F.X.Is there a way to force the
ffmpeg
command-line to display a comprehensive list of all filters and their parameters, even those that are applied automatically like-vf scale
?

(EDIT : To clarify, I do not mean filter documentation, but rather displaying filters that are instantiated at runtime for a particular command-line, just before transcoding starts. The goal of this is mostly checking that ffmpeg is indeed doing the right thing and not inserting/changing filters when I do not intend it to.)


There are a few options available, but none are comprehensive enough. For example :


- 

- The
lavfi
module has adumpgraph
option (here) but only if you're usinglavfi
. - The
-sws_flags print_info
option (here) can be used to determine if-vf scale
is applied automatically and shows a subset of its parameters, but not all of them.






Additionally, this question appears related the answer doesn't answer what I'm looking for.


Are there better ways to achieve that ?


- The