
Recherche avancée
Autres articles (99)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
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, (...)
Sur d’autres sites (7169)
-
ffmpeg created video from images does not play in jwplayer
10 septembre 2013, par user2281222I have created a video from images with ffmpeg. Created video plays fine in my local machine with vlc. But it does not play in jwplayer/any web player.
Commands used :
ffmpeg -f image2 -r 1/4 -i image_%d.png -c:v libx264 -pix_fmt yuv420p -vf fps=fps=30 int_video.mp4
ffmpeg -i int_video.mp4 -c:v libx264 -b:v 500k -pix_fmt yuv420p final.mp4"Information about the create video is as below :
General
Complete name : /home/oodles/git/picdeo/web-app/uservideos/admin/z4/username_admin__s3vidname_z4.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 691 KiB
Duration : 20s 34ms
Overall bit rate : 282 Kbps
Writing application : Lavf55.12.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 20s 34ms
Bit rate : 279 Kbps
Nominal bit rate : 500 Kbps
Width : 480 pixels
Height : 360 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.054
Stream size : 683 KiB (99%)
Writing library : x264 core 135 r2 f0c1c53
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00How can I use ffmpeg to create a video that works in jwplayer ?
-
How to debug ffmpeg-static in a AWS Lambda layer
31 mars 2021, par boblapointeI have an AWS Lambda layer containing nodejs ffmpeg-static. Calling "ffmpeg.path" will return the correct location of the ffmpeg executable in the layer.



But any call to ffmpeg will stop silently, making it impossible for me to know what caused the error. Here is my test function :



const exec = require( "child_process" ).exec
const ffmpeg = require( "ffmpeg-static" )
exports.handler = async (event, context, callback ) => {
 console.log( ffmpeg.path ) // Outputs: "/opt/nodejs/node_modules/ffmpeg-static/bin/linux/x64/ffmpeg"
 exec( ffmpeg.path + " -version",
 function( error, stdout, stderr ) {
 console.log( stdout ) // Nothing
 console.log( stderr ) // Nothing
 if ( error ) {
 console.log( error ) // Nothing
 }
 }
 )




The exec() callback is never triggered. How can I identify the problem ?


-
Force ffmpeg to exit with error code whenever thumbnail isn't successfully created
12 janvier 2017, par user779159To get a thumbnail from an image at
100
seconds I can doffmpeg -ss 100 -i /tmp/video.mp4 -frames:v 1 -s 200x100 image.jpg
. However, if the video is less than100
seconds, ffmpeg doesn’t create a thumbnail but also doesn’t exit with any error code, which is quite unexpected.The command exits with no error code (exit status of
0
). It only outputs a message onstderr
sayingOutput file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
.I would like ffmpeg to exit with an error code under any situation where a thumbnail hasn’t been created. Otherwise I’ll always have to do another check from my application code after the ffmpeg command to ensure that the expected number of thumbnails has been output to the filesystem.
Is there a way around having to do this application-level check, and force ffmpeg to fail whenever it doesn’t successfully write a thumbnail to the filesystem ?