
Recherche avancée
Autres articles (102)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (6058)
-
avutil/hwcontext_videotoolbox : add frame hwctx to specify color range
29 décembre 2023, par Zhao Zhiliavutil/hwcontext_videotoolbox : add frame hwctx to specify color range
VideoToolbox use different identifiers for the same pixel format
with different color range, likekCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
kCVPixelFormatType_420YpCbCr8BiPlanarFullRange.Before the patch, vt_pool_alloc() always use limited range, and it
will fail for pixel format AV_PIX_FMT_BGRA since there is no limited
range kCVPixelFormatType_32BGRA.Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>
-
How to change or modify pitch of audio file (music etc like .mp3 file)using FFMPEG ?
18 octobre 2022, par syed kashifullahI want to change and modify pitch an .mp3 audio file using FFMPEG.
But I am unable to use FFMPEG to change or modify pitch of that sound.
what command (exact command) should be exactly use for changing pitch of an audio file ?


String outPutPath = new File("/storage/emulated/0/Share it Application/Over_the_HorizonTemp.wav").getPath();
 
 String[] strFfmpeg = {"ffmpeg","-i" ,strInputPath,"-af", "rubberband=tempo=1.0:pitch=1.5:pitchq=quality" ,outPutPath};
 execffmpegBinary(strFfmpeg);



execffmpegBinary Function :


public void execffmpegBinary(String[] command) {
 Config.enableLogCallback(new LogCallback() {
 @Override
 public void apply(LogMessage message) {
 Log.e(Config.TAG, message.getText());
 Log.e("TAG", "apply: " +message.getText());
 }
 });
 Config.enableStatisticsCallback(new StatisticsCallback() {
 @Override
 public void apply(Statistics statistics) {

 }
 });

 long executionId = FFmpeg.executeAsync(command, new ExecuteCallback() {
 @Override
 public void apply(long executionId, int returnCode) {
 if (returnCode == RETURN_CODE_SUCCESS) {
 
 Log.e("1TAG", "apply:return code "+returnCode );
 Log.e("1TAG", "apply:execution Id "+executionId );
 Log.e("1TAG", "apply:execution Id "+ new FFmpegExecution(executionId,command));


 } else if (returnCode == RETURN_CODE_CANCEL) {
 Log.e("2TAG", "apply:return code "+returnCode );
 Log.e("2TAG", "apply:execution Id "+executionId );
 Log.e("2TAG", "apply:execution Id "+ new FFmpegExecution(executionId,command));

 } else {
 Log.e("3TAG", "apply: returnCode"+ returnCode);
 Log.e("3TAG", "apply:return code "+returnCode );
 Log.e("3TAG", "apply:execution Id "+executionId );
 Log.e("3TAG", "apply:execution Id "+ new FFmpegExecution(executionId,command));

 }
 }
 });
}



-
How can I generate a hls.m3u8 file using a youtube URL ?
8 avril 2021, par User0011I used ffmpeg in python and I was able to generate a hls file from a local mp4 file that i had on my computer, but now I want to know if there is a way to generate the hls file using a youtube URL and give this url to the input() function of ffmpeg in python ?
Here is the code I used for the first time, I want to replace test.mp4 with a youtube URL, is it possible ?
Thanks for the help


import ffmpeg_streaming
from ffmpeg_streaming import Formats, Bitrate, Representation, Size


video = ffmpeg_streaming.input('/Users/test.mp4')

_480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
_720p = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024))

hls = video.hls(Formats.h264(), hls_list_size=10, hls_time=5)
hls.representations(_480p, _720p)
hls.fragmented_mp4()
hls.output('/Users//hls.m3u8')