
Recherche avancée
Autres articles (88)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (10950)
-
Add watermark to video using ffmpeg in php not working
13 juillet 2017, par RemyaI need to watermark a mp4 video , Currently i am using this code, but it is not working , please solve this
<?php $msg = exec('/usr/local/bin/ffmpeg -i uploads/videos/profile/movie.mp4 -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" uploads/videos/profile/output.mp4 2>&1', $output); var_dump($output);?>
The error shows
array (size=27) 0 => string 'FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers' (length=72) 1 => string ' built on Jan 14 2016 22:33:21 with gcc 4.4.7 20120313 (Red Hat 4.4.7-16)' (length=74) 2 => string ' configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-libx264 --enable-libtheora --enable-libfaac --enable-avfilter --enable-gpl --enable-nonfree --enable-x11grab --enable-libxvid' (length=220) 3 => string ' libavutil 50.36. 0 / 50.36. 0' (length=35) 4 => string ' libavcore 0.16. 1 / 0.16. 1' (length=35) 5 => string ' libavcodec 52.108. 0 / 52.108. 0' (length=37) 6 => string ' libavformat 52.93. 0 / 52.93. 0' (length=35) 7 => string ' libavdevice 52. 2. 3 / 52. 2. 3' (length=35) 8 => string ' libavfilter 1.74. 0 / 1.74. 0' (length=35) 9 => string ' libswscale 0.12. 0 / 0.12. 0' (length=35) 10 => string 'Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/videos/profile/movie.mp4':' (length=75) 11 => string ' Metadata:' (length=11) 12 => string ' major_brand : isom' (length=26) 13 => string ' minor_version : 512' (length=25) 14 => string ' compatible_brands: isomiso2avc1mp41' (length=39) 15 => string ' creation_time : 1970-01-01 00:00:00' (length=41) 16 => tring ' encoder : Lavf53.24.2' (length=33) 17 => string ' Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s' (length=60) 18 => string ' Stream #0.0(und): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc' (length=117) 19 => string ' Metadata:' (length=13) 20 => string ' creation_time : 1970-01-01 00:00:00' (length=43) 21 => string ' Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 384 kb/s' (length=62) 22 => string ' Metadata:' (length=13) 23 => string ' creation_time : 1970-01-01 00:00:00' (length=43) 24 => string '[buffer @ 0x1e95f70] w:1280 h:720 pixfmt:yuv420p' (length=48) 25 => string 'No such filter: 'movie'' (length=23) 26 => string 'Error opening filters!' (length=22)
-
FFMPEG command (For capturing keyframe) executes, but not creating the output file
3 mai 2017, par sforsandeepIm trying with an FFMPEG command using the latest FFMPEG exe. The command executes fine. But the output file is not being created.
Here is the command I tried from DOS prompt. According to a colleagues comment, it was (The command) working before without any trouble.
D:\Utilities\FFMPegVideoManager\FFMPEG_updated\ffmpeg.exe -i
"M:\content\video.mp4" -y -ss 1 -frames 1
"E:\frame\testtest.jpg"The output after the execution is
C:\Users\ABCD>D:\Utilities\FFMPegVideoManager\FFMPEG_updated\ffmpeg.exe -i "M:\FTP Home Directory\LocalUser\WAP_UAT\Processing Folder\wspa1\Delivery\San4\content\0101_eatingredpanda.mp4" -y -ss 1 -frames 1 "E:\sandeep\testtest.jpg"
ffmpeg version N-85266-g1229007 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 59.100 / 55. 59.100
libavcodec 57. 90.100 / 57. 90.100
libavformat 57. 72.100 / 57. 72.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 83.100 / 6. 83.100
libswscale 4. 7.100 / 4. 7.100
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\content\0101_eatingredpanda.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
creation_time : 1970-01-01T00:00:00.000000Z
encoder : Lavf52.31.0
Duration: 00:00:19.52, start: 0.000000, bitrate: 12506 kb/s
Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 12373 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 0000000006238340] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'E:\sandeep\testtest.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.72.100
Stream #0:0(eng): Video: mjpeg, yuvj420p(pc), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
encoder : Lavc57.90.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame= 1 fps=0.0 q=6.6 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.447x
video:48kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownSo from the output detials it seems to be fine. So why its not creating the output file ? Thanks
-
ffmpeg change the fps value of the MKV container
29 juin 2017, par Marios StaikopoulosI’ve been using the SVP video plugin, and we have come across an issue where an incorrect container fps value is causing audio desync.
It seems a set of videos that are actually encoded at 23.976 fps are showing as 23.81.
How can I remux the file using ffmpeg to make it show 23.976, since the file doesn’t actually need re-encoding ?
I have tried the -r and -framerate options to no avail.
What the file shows with ffprobe, 23.81 fps, when it is actually 23.976 fps
Input #0, matroska,webm, from 'test.mkv':
Metadata:
encoder : no_variable_data
creation_time : 1970-01-01T00:00:00.000000Z
Duration: 00:24:27.06, start: 0.000000, bitrate: 3188 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.81 fps, 23.81 tbr, 1k tbn, 47.95 tbc (default)