
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (98)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (7724)
-
Difficulty getting the expected output for .avi conversions to .mp4 using FFMPEG [closed]
25 avril 2024, par EricelI am trying to write a video converting script that converts an input video file to .mp4 output. I am using ffmpeg libx264 encoder. Unfortunately, when I convert from .avi to .mp4, the output video is not smooth, a little skippy. Here is how I set up the encoder code :


AVCodecContext *Video::setupVideoEncoder(const AVCodec *encoder, AVStream *inVideoStream, AVFormatContext *outFormatCtx)
{
 AVCodecContext *codecCtx = avcodec_alloc_context3(encoder);
 if (!codecCtx)
 {
 std::cerr << "Failed to allocate the video codec context." << std::endl;
 return nullptr;
 }

 if (avcodec_parameters_to_context(codecCtx, inVideoStream->codecpar) < 0)
 {
 std::cerr << "Failed to copy codec parameters to encoder context." << std::endl;
 avcodec_free_context(&codecCtx);
 return nullptr;
 }

 // Correctly assign pixel format based on encoder support
 if (!check_pix_fmt(encoder, inVideoStream->codecpar->format))
 {
 codecCtx->pix_fmt = encoder->pix_fmts[0];
 }
 else
 {
 codecCtx->pix_fmt = static_cast<avpixelformat>(inVideoStream->codecpar->format);
 }
 codecCtx->width = inVideoStream->codecpar->width;
 codecCtx->height = inVideoStream->codecpar->height;
 codecCtx->bit_rate = 2000000; // 2 Mbps
 codecCtx->gop_size = 12;
 codecCtx->max_b_frames = 3;

 // Setting frame rate and time base using guessed values
 AVRational framerate = av_guess_frame_rate(outFormatCtx, inVideoStream, nullptr);
 codecCtx->framerate = framerate;
 codecCtx->time_base = av_inv_q(framerate);

 AVDictionary *opts = nullptr;
 av_dict_set(&opts, "x264-params", "keyint=25:min-keyint=25:no-scenecut=1", 0);

 if (outFormatCtx->oformat->flags & AVFMT_GLOBALHEADER)
 {
 codecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
 }

 if (avcodec_open2(codecCtx, encoder, &opts) < 0)
 {
 std::cerr << "Failed to open the video encoder." << std::endl;
 avcodec_free_context(&codecCtx);
 av_dict_free(&opts);
 return nullptr;
 }

 av_dict_free(&opts);
 return codecCtx;
} 
</avpixelformat>


I can only thing the configurations here are the problem, because if I converted a .mov to .mp4, I get the expected output.


-
A basic query about video editing libraries and algorithms
8 janvier 2021, par Education 4FunI'm working with FFmpeg for a project so as per our college guidelines we need to write one research paper so I was confused about what to write
so I thought of writing a comparison of different video editing libraries as per my knowledge I just found FFmpeg if u know any other libraries/algorithms
or any suggestions for writing a research paper on ffmpeg
please let me know
sorry for asking here
Thank you


-
Set up basic Batch or Node.JS prompts for FFMPEG ?
18 août 2016, par ErraticFoxI have some game clips from Nvidia shadow play that I like to casually shorten and / or turn them into webms or keep them as mp4s. I use the same ffmpeg line for them. I do slightly change the line because of the input file, start time, and output file.
How could I set up something like a batch file (I was thinking maybe node as well) where it just asks for the input file, start time, and output file ?
The current ffmpeg command line I use is like this :
ffmpeg -i desktop.mp4 -ss 00:01:50 -b 900000 -vf scale=640:trunc(ow/a/2)*2 output.webm