
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (63)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
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 (7663)
-
avconv : Saving MP4 is Taking Hours
4 septembre 2015, par PeregrineStudiosnot entirely sure if I should post this on askubuntu or stackoverflow. Posted on askubuntu and not getting any answers. I’m hoping I can find an answer here.
I’m setting up a website where users can upload videos and share them. I’m using avconv to reduce the video size and save it twice, once as an mp4 and again as a webm.
Uploading a .MOV from a phone, the video conversion is quick and manageable.
Uploading a .mp4 from a Samsung Galaxy S3, the video conversion to webm is also quick. But, the conversion to another mp4 takes FOREVER - literally hours. Why ? Is anyone able to shed light on the problem ?
My avconv output is below.
avconv -i /var/www/dev_jackpine/ottawa2017/temp_videos/37a949071acaee714dae829ca8df9b29.mp4 -c:v libx264 -vf transpose=1,transpose=1,transpose=1 -s 640x480 /var/www/dev_jackpine/ottawa2017/spinnies/test.mp4
avconv version 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Mar 16 2015 13:26:50 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/dev_jackpine/ottawa2017/temp_videos/37a949071acaee714dae829ca8df9b29.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2015-09-04 15:08:21
Duration: 00:00:07.76, start: 0.000000, bitrate: 11756 kb/s
Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1280x720, 11967 kb/s, 29.81 fps, 90k tbr, 90k tbn, 180k tbc
Metadata:
creation_time : 2015-09-04 15:08:21
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 119 kb/s
Metadata:
creation_time : 2015-09-04 15:08:21
File '/var/www/dev_jackpine/ottawa2017/spinnies/test.mp4' already exists. Overwrite ? [y/N] y
[buffer @ 0xc3d580] w:1280 h:720 pixfmt:yuv420p
[scale @ 0xc3dac0] w:1280 h:720 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0x4
[transpose @ 0xc3e280] w:640 h:480 dir:1 -> w:480 h:640 rotation:clockwise vflip:0
[transpose @ 0xc3e7c0] w:480 h:640 dir:1 -> w:640 h:480 rotation:clockwise vflip:0
[transpose @ 0xc3ede0] w:640 h:480 dir:1 -> w:480 h:640 rotation:clockwise vflip:0
[libx264 @ 0xc2b100] MB rate (108000000) > level limit (983040)
[libx264 @ 0xc2b100] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0xc2b100] profile Main, level 5.1
[libx264 @ 0xc2b100] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
Output #0, mp4, to '/var/www/dev_jackpine/ottawa2017/spinnies/test.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2015-09-04 15:08:21
encoder : Lavf53.21.1
Stream #0.0(eng): Video: libx264, yuv420p, 480x640, q=-1--1, 180k tbn, 90k tbc
Metadata:
creation_time : 2015-09-04 15:08:21
Stream #0.1(eng): Audio: libvo_aacenc, 48000 Hz, stereo, s16, 200 kb/s
Metadata:
creation_time : 2015-09-04 15:08:21
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Press ctrl-c to stop encodingHere’s an example frame output :
frame=124398 fps=142 q=33.0 size= 16885kB time=1.38 bitrate=100110.2kbits/s dup=124356 drop=0
I’ve had the process running the whole time I’ve been writing this question, and so far it’s done... 22 frames.
What could be the problem ?
-
Burn subtitles Ffmpeg Segmantation Fault error
5 septembre 2012, par Batuhan TopbaşI have vps and ffmpeg latest version. I wanna burn subtitles on videos then i use this input
ffmpeg -i ohd.avi -report -acodec copy -strict -2 -vcodec libx264 -acodec aac -sameq -vf ass=ohd.ass outputass.mp4
But this is give me error. Segmantation Fault. See in output..
ffmpeg started on 2012-09-05 at 10:30:37
Report written to "ffmpeg-20120905-103037.log"
ffmpeg version N-44073-g54ca7e3 Copyright (c) 2000-2012 the FFmpeg developers
built on Aug 31 2012 16:15:40 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
configuration: --enable-libfreetype --enable-libx264 --enable-gpl --enable-libfaac --enable-libass --enable-nonfree
libavutil 51. 70.100 / 51. 70.100
libavcodec 54. 55.100 / 54. 55.100
libavformat 54. 25.104 / 54. 25.104
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 15.101 / 3. 15.101
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from 'ohd.avi':
Metadata:
encoder : Lavf54.25.104
Duration: 00:01:00.22, start: 0.000000, bitrate: 4538 kb/s
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, s16, 192 kb/s
File 'outputass.mp4' already exists. Overwrite ? [y/N] y
FreeType library version: 2.2.1
[Parsed_ass_0 @ 0xa6b4b00] FreeType headers version: 2.2.1
[Parsed_ass_0 @ 0xa6b4b00] Init
[Parsed_ass_0 @ 0xa6b4b00] File size: 622
[Parsed_ass_0 @ 0xa6b4b00] [0xa6b7420] Style: Default,FreeSerif,24,&H00FFFFFF,&H00FFFFFF,&H00FFFFFF,&H00C0C0C0,-1,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1
[Parsed_ass_0 @ 0xa6b4b00] Added subtitle file: 'ohd.ass' (1 styles, 1 events)
[Parsed_ass_0 @ 0xa6b4b00] Fontconfig disabled, only default font will be used.
[graph 0 input from stream 0:0 @ 0xa6cd900] w:1280 h:720 pixfmt:yuv420p tb:1001/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
[graph 1 input from stream 0:1 @ 0xa6b0ae0] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
[audio format for output stream 0:1 @ 0xa6b0c60] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[auto-inserted resampler 0 @ 0xa6b17c0] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt r:44100Hz
[libx264 @ 0xa6bfa20] using SAR=1/1
[libx264 @ 0xa6bfa20] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
[libx264 @ 0xa6bfa20] profile High, level 3.1
[libx264 @ 0xa6bfa20] 264 - core 125 r2208 d9d2288 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: 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=12 lookahead_threads=2 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=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'outputass.mp4':
Metadata:
encoder : Lavf54.25.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (ac3 -> aac)
Press [q] to stop, [?] for help
Segmentation faultWhat is wrong my input code ? i can't find because i am amateur.
-
Why ffmpeg convert only the first frame of gif to mp4 [closed]
3 juin 2020, par JayvantGif has 6 frames with 2 sec delay per each.
I used following command :



ffmpeg -i input.gif -y -an anim123.mp4 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"




output log :



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
Trailing options were found on the commandline.
Input #0, gif, from 'input.gif':
Duration: N/A, bitrate: N/A 
 Stream #0:0: Video: gif, bgra, 560x315, 0.50 fps, 0.50 tbr, 100 tbn, 100 tbc
Stream mapping: 
 Stream #0:0 -> #0:0 (gif (native) -> h264 (libx264))
Press [q] to stop, [?] for help 
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players. 
[libx264 @ 0000000000681a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX 
[libx264 @ 0000000000681a00] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit 
[libx264 @ 0000000000681a00] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: 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=4 threads=6 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=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'anim123.mp4': 
Metadata: 
 encoder : Lavf57.72.100 
 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 560x315, q=-1--1, 0.50 fps, 16384 tbn, 0.50 tbc 
 Metadata: 
 encoder : Lavc57.90.100 libx264 
 Side data: 
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 
frame= 6 fps=0.0 q=-1.0 Lsize= 338kB time=00:00:06.00 bitrate= 461.9kbits/s speed=22.9x 
 video:337kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.251471%
[libx264 @ 0000000000681a00] frame I:1 Avg QP:14.97 size: 51472 
[libx264 @ 0000000000681a00] frame P:5 Avg QP:17.08 size: 58681
[libx264 @ 0000000000681a00] mb I I16..4: 27.9% 23.6% 48.6% 
[libx264 @ 0000000000681a00] mb P I16..4: 15.0% 17.3% 48.2% P16..4: 1.5% 0.1% 0.1% 0.0% 0.0% skip:17.8% 
[libx264 @ 0000000000681a00] 8x8 transform intra:21.9% inter:9.4% 
[libx264 @ 0000000000681a00] coded y,u,v intra: 63.8% 59.7% 55.8% inter: 2.2% 1.0% 0.6% 
[libx264 @ 0000000000681a00] i16 v,h,dc,p: 77% 10% 12% 0% 
[libx264 @ 0000000000681a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 34% 4% 4% 4% 7% 3% 10% 
[libx264 @ 0000000000681a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 22% 17% 6% 7% 5% 13% 5% 14% 
[libx264 @ 0000000000681a00] Weighted P-Frames: Y:40.0% UV:20.0%
[libx264 @ 0000000000681a00] ref P L0: 40.8% 0.8% 44.6% 8.8% 5.0%
[libx264 @ 0000000000681a00] kb/s:229.92




Input Gif Link


Video not generating properly, It takes only 1st frame in video.