
Recherche avancée
Autres articles (98)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
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 (...)
Sur d’autres sites (8270)
-
How to Generate accurate thumbnails with FFMPEG
5 juillet 2023, par Caloux FldI am using FFmpeg for generating thumbnails map.


I need to generate a thumbnail for every second. Here is code i use on Windows :


ffmpeg -i "C:\temp\MyVideo.mp4" -vf "drawtext=fontfile=../Fonts/calibri.ttf: text=%%`
`{n}: r=25: x=(w-tw)/2: y=h-lh-122: fontsize=295: fontcolor=Red: box=0:` `boxcolor=Black,fps=1/1" -s 400x300 -vcodec ppm -f image2pipe - | montage - -`
 `tile 10x -geometry 200x+0+0 C:\temp\Thumbnailer.jpg`



Code Work's Fine , generate a thumbnails map with piping FFMPEG+Imagemagick (montage).
In ffmpeg i burn the frame number to check accuracy.


Only problem is FFMPEG start generating at frames 12, 37, 62, 87...(video is 25 fps).


How to start generating thumbnails at first frame #1 accurate ?


In FFMPEG i try options like
-ss 00:00:00.0
but FFMPEG start always at frame 12.
Only solution i found is to generate all frames (25fps) and post process to keep frames number 1,25,50... but very slow post process...

My FFMPEG version : ffmpeg version N-88153-ga4743d2574-Reino


-
Heroku ffmpeg buildpack
20 octobre 2015, par Manuel QuintanillaPutting together the video upload section in my rails app and am having some issues with video play on mobile phones. Im using
paperclip-av-transcoder, s3 and Heroku
On my laptop I can visit the page and see the video thumbnails and play the videos only because I have previously installed ffmpeg to my machine.
Remotely on Heroku I’ve set the appropriate buildpacks for ffmpeg and have run push heroku master to install the buildpacks - Now when I visit the page on my mobile iPhone I don’t get a thumbnail but when I play the video it plays - on the other hand when I visit the page on my Android phone I don’t get a thumbnail and the video dose not play but I can upload mp4s on Android.
Check out my set up here : Heroku ffmpeg buildpacks for video uploads
It seems I don’t have the proper buildpack setup or some other heroku setting with ffmpeg.
Any suggestions ? Thanks in advance !
-
fluent-ffmpeg module : "end" event does not fire
6 décembre 2015, par nduggerI’m using the
fluent-ffmpeg
npm moduleI’ve POSTed a video from my client, and am using
new stream.Readable
to "read" the video Buffer.ffmpeg is converting and saving the file, and everything seems beautiful, but the "end" event never fires.
My code is as follows :
const videoStream = new stream.Readable({
read: function (n) {
this.push(myVideoBuffer);
}
});
ffmpeg(videoStream)
.on('progress', e => console.log(e))
.on('end', () => {
console.log('ended')
videoStream.destroy();
})
.on('error', e => console.error(e))
.save(`${process.cwd()}/media/videos/${Date.now()}.mp4`);I get a log on every progress event, and it does save the video, but the "end" event’s callback never gets called.
I assume this is a bug, since everything else works just fine.