
Recherche avancée
Autres articles (76)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7720)
-
FFmpeg four audiochannels but the first two are static noise
2 octobre 2014, par sebastianI have a handful of videos with one audio stream in which includes four audio channels. I am having trouble in getting the last two channels wherein lies the actual sound. I don’t want to create wave files or anything like that I just want to create a video out of it with the two channels correct channels (three and four). I was thinking about using the
-map 0:a:2
and-map 0:a:3
but it does not work quite as well as I had hoped for. Does anyone know a better way or what I am doing wrong ?
Any help would be appreciated.Audio
ID : 2
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Unsigned
Codec ID : lpcm
Duration : 3mn 54s
Bit rate mode : Constant
Bit rate : 6 144 Kbps
Channel(s) : 4 channels
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 172 MiB (3%)
Language : English
Encoded date : UTC 2014-09-25 16:54:09
Tagged date : UTC 2014-09-25 16:55:41 -
Invalid pixel aspect ratio in ffmpeg
26 septembre 2014, par dudeofeaI want to scale a video to a certain size using ffmpeg, but I get the following error :
ffmpeg -i Ad_939.avi -vf scale=1000:64 test_ad.avi
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 26 2014 10:31:06 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
Input #0, avi, from 'Ad_939.avi':
Metadata:
encoder : Lavf56.4.101
Duration: 00:00:20.50, start: 0.000000, bitrate: 75 kb/s
Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 160x64, 68 kb/s, SAR 32:45 DAR 16:9, 24 fps, 24 tbr, 24 tbn, 24 tbc
[mpeg4 @ 0x2305cc0] Invalid pixel aspect ratio 128/1125, limit is 255/255 reducing
[mpeg4 @ 0x2305cc0] too many threads/slices (5), reducing to 4
Output #0, avi, to 'test_ad.avi':
Metadata:
ISFT : Lavf55.48.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1000x64 [SAR 19:167 DAR 2375:1336], q=2-31, 200 kb/s, SAR 128:1125 DAR 16:9, 24 fps, 24 tbn, 24 tbc
Metadata:
encoder : Lavc55.69.100 mpeg4
Stream mapping:
Stream #0:0 -> #0:0 (wmv2 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame= 228 fps=0.0 q=2.0 size= 222kB time=00:00:09.50 bitrate= 191.6kbits/s
frame= 468 fps=467 q=2.0 size= 435kB time=00:00:19.50 bitrate= 182.8kbits/s
frame= 492 fps=456 q=2.0 Lsize= 458kB time=00:00:20.50 bitrate= 183.1kbits/s
video:441kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.981523%I’ve read around and it seems this was a past bug but that was 3 years ago. I’ve tried running this command with version 2.4.1, 2.3.3, 2.4.git (compiled from source Sept 16, 2014), and N-40951-g1ea7a3e (Newest static build) and they all fail.
EDIT : When I say
fail
I mean that the video is not playing at the proper resolution. The file’s properties say that it is 1000x64 but VLC plays (as well as my website using a<video></video>
tag) it with the original aspect ratio with the new width which is not what I want. I want a crunched up video the same size no matter what.Is there something I’m missing ?
-
ffmpeg Error while opening decoder for input stream #0:0 : Resource temporarily unavailable [migrated]
24 septembre 2014, par Fanzaholic BeanI want to convert png images into mp4, this my ffmpeg code :
/usr/local/vencode/bin/ffmpeg -y -framerate 1/5 -i /home/fanzaholic/public_html/lab/server/script/1411400997_open_%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p /home/fanzaholic/public_html/lab/server/script/test.mp4 2>&1
This is output from that code :
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from '/home/fanzaholic/public_html/lab/server/script/1411400997_open_%03d.png':
Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 896x504, 0.20 tbr, 0.20 tbn, 0.20 tbc
[libx264 @ 0x1341860] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1341860] profile High, level 3.1
[libx264 @ 0x1341860] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=36 lookahead_threads=3 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=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 '/home/fanzaholic/public_html/lab/server/script/test.mp4':
Stream #0:0: Video: h264, yuv420p, 896x504, q=-1--1, 90k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Error while opening decoder for input stream #0:0 : Resource temporarily unavailablethe mp4 file was created but with 0 bytes size
Any help for me ?
thanks