
Recherche avancée
Autres articles (64)
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (7059)
-
Compile FFmpeg with openssl for macOS
23 juin 2017, par H. WilsonHi I would like to ask how to compile ffmpeg with openssl for macOS.
When I type https in ffmpeg to download / encode webstream from the website I always get an error
"https protocol not found, recompile FFmpeg with openssl, guntls. or securetransport enabled"
whilst http does work (some websites didn’t allow http as I got an error "HTTP error 403 Forbidden though)
https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX
I have read the link above but I am unsure about the process as I don’t use homebrew to install ffmpeg but built myself.
I am the very beginner using ffmpeg and any help would be appreciated..
I hope somebody could show me its process to compile ffmpeg with openssl.For further advice, I am wondering if the function of ffmpeg I built myself is same as the static one here : ttps ://ffmpeg.zeranoe.com/builds/
I built ffmpeg for mac by this website : http://ericholsinger.com/install-ffmpeg-on-a-mac
Thanks in advance
-
Setting qscale programmatically when using MPEG4 encoder ( for constant quality / VBR)
14 février 2019, par Dennisi implemented the possibility to encode various self-rendered video-frames with MPEG4 codec and create an .mp4 video file. This works fine. Now i want to add the possibility to define a quality slider (0-100%) to parameterize a factor for constant quality (VBR). I don’t know how to do that.
I found out that -qscale seems to do what i want, so i looked in ffmpeg_opt.c what happens there and tried the same :
config.codecContext->flags |= AV_CODEC_FLAG_QSCALE;
config.codecContext->global_quality = FF_QP2LAMBDA * QualityLvl;with :
- "config.codecContext" being the code context
- "FF_QP2LAMBDA" being 118
- "QualityLvl" is the "factor for constant quality" (has to be an int between 1 and 31 according to this :
https://trac.ffmpeg.org/wiki/Encode/MPEG-4)
The problem is, that it actually doesn’t matter if "QualityLvl" is 1,2 or 30 it always results in the same file size and a visually same(?) video file. I would have expected file size and quality differences ?!
-
Convert mp3 to AAC with mpeg-2 container (FFMPEG)
18 mars 2016, par jsurfI’m trying to convert an mp3 audio file to an AAC file with FFMPEG, and I need the audio to be wrapped in an MPEG-2 container.
The resulting AAC file needs to be AAC-LC (Low Complexity), 1-channel, CBR mode, 44100 sample rate, and 48kb/s bitrate, so I use this command :ffmpeg -y -i input.mp3 -ar 44100 -ab 48k -acodec libfdk_aac -ac 1 output.aac
But when I examine the ADTS headers, the audio file is always being wrapped in an MPEG-4 container. I have tried all the codecs listed here but I still end up with an mpeg-4 container wrapped around the audio : http://trac.ffmpeg.org/wiki/AACEncodingGuide.
Here are the headers I get when examining the AAC output file :
mpeg_type : ’MPEG4’,
profile : 2,
profile_name : ’AAC LC’,
sample_freq : 44100,
channel_config : 1,
channels : 1,
frame_length : 139,
buffer_fullness : 157,
number_of_frames : 1,
frames_per_sec : 43.06640625Any ideas as to why ffmpeg wraps an mp4 container around the audio ? Can I get around this somehow ? Are there any other encoders I can try aside from FFMPEG ? I was giving FAAC encoder a shot and it gives me the proper encoding and ADTS headers, but alas it does not support mp3, only WAV.