
Recherche avancée
Autres articles (51)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (10119)
-
FFMPEG change audio pitch of mp4 video [on hold]
17 octobre 2019, par PatrickHy Community,
im looking for an solution to fade the pitch of an audio track in an mp4 file.
so i want to increase the pitch from its half duration to the end of the file gradually.is it possible by
ffmpeg
?thank you in advance.
-
Alternate 2 videos with ffmpeg
2 juin 2012, par enzo.rivelloHere is the problem :
i got 2 videos, and 3 intervals ;
i need to create one video by mixing this 2 videos switching video A to B at interval 1, B to A at interval 2 and again A to B at interval 3.Switching needs to be done along the audio files .
Right now the only solution i came up was to cut the 2 videos and then chain them in the right order, but i was asking if there's a more elegant way to do this !
Thank you everyone in advance !
-
AVCodecContext::channel_layout 0 for WAV files
25 novembre 2020, par cmannett85I have been successfully loading compressed audio files using FFmpeg and querying their channel_layouts using some code I've written :



AVFormatContext* fmtCxt = nullptr;
avformat_open_input( &fmtCxt, "###/440_sine.wav", nullptr, nullptr );
avformat_find_stream_info( fmtCxt, nullptr );
av_find_best_stream( fmtCxt, AVMEDIA_TYPE_AUDIO, -1, -1, nullptr, 0 );

AVCodecContext* codecCxt = fmtCxt->streams[ret]->codec;
AVCodec* codec = avcodec_find_decoder( codecCxt->codec_id );
avcodec_open2( codecCxt, codec, nullptr );

std::cout << "Channel Layout: " << codecCxt->channel_layout << std::endl;
av_dump_format( fmtCxt, 0, "###/440_sine.wav", 0 );




I've removed all error checking for brevity. However for Microsoft WAV files (mono or stereo) the
AVCodecContext::channel_layout
member is always 0 - despiteffprobe
andav_dump_format(..)
both returning valid information :


Input #0, wav, from '###/440_sine.wav':
Duration: 00:00:00.01, bitrate: 740 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s




Also
codecCxt->channels
returns the correct value. Using a flac file (with exactly the same audio data generated from the same application), gives achannel_layout
of 0x4 (AV_CH_FRONT_CENTER
).