
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (43)
-
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 -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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
Sur d’autres sites (8084)
-
Video Spec to fluent-FFMPEG settings
26 novembre 2020, par Dean Van GreunenNot sure how to translate this video spec into fluent-FFmpeg. please assist.





This is the only video I have that plays on my iPhone, and I would like to reuse the video's encoding to allow other videos I have, to be converted into the same video format. resulting in having my other videos playable via iPhone and iOS. (this also happens to play on android, I would like the recommended encoding settings to also work on android)






The video should also be streamable, I know theres a flag called
+faststart
but not sure how to use it.







here is my existing code


function convertWebmToMp4File(input, output) {
 return new Promise(
 function (resolve, reject) {
 ffmpeg(input)
 .outputOptions([
 // Which settings should I put here, each on their own line/entry <-- Important plz read
 '-c:v libx264',
 '-pix_fmt yuv420p',
 '-profile:v baseline',
 '-level 3.0',
 '-crf 22',
 '-preset veryslow',
 '-vf scale=1280:-2',
 '-c:a aac',
 '-strict experimental',
 '-movflags +faststart',
 '-threads 0',
 ])
 .on("end", function () {
 resolve(true);
 })
 .on("error", function (err) {
 reject(err);
 })
 .saveToFile(output);
 });
}




TIA


-
Audio problems when resizing video - moviepy
17 août 2020, par JordanI am resizing an mp4 video with this code (moviepy) :


video_clip = VideoFileClip(url)
resized = video_clip.resize(width=720)
d = tempfile.mkdtemp()
video_path = os.path.join(d, 'output.mp4')
resized.write_videofile(video_path)



The resized clip's audio works when I play it on my pc, but not on an iPhone. (The original clip's audio does work on my iPhone.)


How can I fix this ?


First image : Codec of resized video

Second image : Codec of original video



-
FFmpeg decoding H264
27 juillet 2020, par Steve McFarlinI am decoding a H264 stream using FFmpeg on the iPhone. I know the H264 stream is valid and the SPS/PPS are correct as VLC, Quicktime, Flash all decode the stream properly. The issue I am having on the iPhone is best shown by this picture.






It is as if the motion vectors are being drawn. This picture was snapped while there was a lot of motion in the image. If the scene is static then there are dots in the corners. This always occurs with predictive frames. The blocky colors are also an issue.



I have tried various build settings for FFmpeg such as turning off optimizations, asm, neon, and many other combinations. Nothing seems to alter the behavior of the decoder. I have also tried the Works with HTML, Love and Peace releases, and also the latest GIT sources. Is there maybe a setting I am missing, or maybe I have inadvertently enabled some debug setting in the decoder.



Edit



I am using sws_scale to convert the image to RGBA. I have tried various different pixel formats with the same results.



sws_scale(convertCtx, (const uint8_t**)srcFrame->data, srcFrame->linesize, 0, codecCtx->height, dstFrame->data, dstFrame->linesize);




I am using PIX_FMT_YUV420P as the source format when setting up my codec context.