
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (80)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10689)
-
using ffmpeg to convert a video like ffprobe
10 avril 2016, par siyanewI want to use
ffmpeg
to convert my videos to these format - exactly thisffprobe
information , whats the command ?ffprobe version N-79139-gde1a0d4 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 30.100 / 57. 30.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Age ye rooz اگه یه روز بری سفر (Thai Style).mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2014-02-22 22:36:49
Duration: 00:02:42.21, start: 0.000000, bitrate: 280 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 182 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
Metadata:
creation_time : 2014-02-22 22:36:49
handler_name : IsoMedia File Produced by Google, 5-11-2011and
ffprobe version N-79139-gde1a0d4 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 30.100 / 57. 30.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Fast Track - Simon's Cat.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-04-09 07:15:21
Duration: 00:01:38.13, start: 0.000000, bitrate: 399 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 300 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
Metadata:
creation_time : 2016-04-09 07:15:22
handler_name : IsoMedia File Produced by Google, 5-11-2011 -
Rails Streamio FFMPEG taking a screenshot of the movie and upload with carrierwave
5 juin 2016, par FelixI have got a Form where I can upload a movie. Its uploaded with carrierwave.
In this process I want to Make a screenshot of the movie while uploading.
How can I do this with Streamio FFMPEG.
My code Looks like this at the moment.
#Laedt ein Video hoch
def uploadMovie
@channels = Channel.all
@vid = Movie.new(movies_params)
@channel = Channel.find(params[:channel_id])
@vid.channel = @channel
if @vid.save
flash[:notice] = t("flash.saved")
render :add
else
render :add
end
endDo I have to do this in controller method or in the carrierwave uplaoder ?
Update : I tried it this way :
if @vid.save
flash[:notice] = t("flash.saved")
movieFile = FFMPEG::Movie.new(@vid.video.to_s)
screenshot = movieFile.screenshot("uploads/screenshot", :seek_time => 10)
render :add
elseBut then I got tis error :
s3.amazonaws.com/uploads/movie/video/6/2016-04-24_16.26.10.mp4' does not exist
-
avconv : from multiple png to movie not exporting correctly
13 avril 2016, par abhraI am trying to generate a mp4 movie from a set of pngs using avconv on my debian8 system. The mp4 file its generating basically looping over the first figure for some time. Here is the command I am using
avconv -r 10 -start_number 8 -i images_%06d.png -b:v 1000k -vf scale=640 :-1 test.mp4
Output is
avconv version 11.6-6:11.6-1 deb8u1, Copyright (c) 2000-2014 the Libav developers built on Mar 2 2016 23:00:02 with gcc 4.9.2
(Debian 4.9.2-10) Input #0, image2, from ’images_%06d.png’ :
Duration : 00:00:16.00, start : 0.000000, bitrate : N/A
Stream #0.0 : Video : png, rgb24, 2400x1801, 25 fps, 25 tbn File ’test.mp4’ already exists. Overwrite ? [y/N] y [scale @ 0x820c60] The
::flags= option syntax is deprecated. Use either
: : or w=:h=:flags=. [libx264 @ 0x837760]
using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT
BMI2 [libx264 @ 0x837760] profile High, level 2.2 [libx264 @ 0x837760]
264 - core 142 r2431 a5831aa - 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=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=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to ’test.mp4’ : Metadata :
encoder : Lavf56.1.0
Stream #0.0 : Video : libx264, yuv420p, 640x480, q=-1—1, 1000 kb/s, 10 fps, 10 tbn, 10 tbc
Metadata :
encoder : Lavc56.1.0 libx264 Stream mapping : Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press ctrl-c to stop encoding frame= 17 fps= 0 q=0.0 size= 0kB time=10000000000.00
bitrate= 0.0kbitframe= 34 fps= 32 q=0.0 size= 0kB
time=10000000000.00 bitrate= 0.0kbitframe= 51 fps= 32 q=0.0 size=
0kB time=10000000000.00 bitrate= 0.0kbitframe= 393 fps= 32 q=0.0
Lsize= 139kB time=39.00 bitrate= 29.2kbits/s video:132kB
audio:0kB other streams:0kB global headers:0kB muxing overhead :
5.284794% [libx264 @ 0x837760] frame I:2 Avg QP : 3.69 size : 51320 [libx264 @ 0x837760] frame P:99 Avg QP : 0.32 size : 242 [libx264
@ 0x837760] frame B:292 Avg QP : 0.15 size : 26 [libx264 @
0x837760] consecutive B-frames : 0.8% 0.5% 0.0% 98.7% [libx264 @
0x837760] mb I I16..4 : 45.5% 19.2% 35.3% [libx264 @ 0x837760] mb P
I16..4 : 0.0% 0.0% 0.0% P16..4 : 0.9% 0.0% 0.0% 0.0% 0.0%
skip:99.0% [libx264 @ 0x837760] mb B I16..4 : 0.0% 0.0% 0.0%
B16..8 : 0.2% 0.0% 0.0% direct : 0.0% skip:99.8% L0:22.3% L1:77.7%
BI : 0.0% [libx264 @ 0x837760] final ratefactor : -21.09 [libx264 @
0x837760] 8x8 transform intra:18.9% inter:41.7% [libx264 @ 0x837760]
coded y,uvDC,uvAC intra : 34.1% 0.0% 0.0% inter : 0.1% 0.0% 0.0%
[libx264 @ 0x837760] i16 v,h,dc,p : 81% 14% 5% 0% [libx264 @
0x837760] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 49% 14% 36% 0% 0% 0% 0%
0% 0% [libx264 @ 0x837760] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 36% 28% 19%
3% 3% 2% 4% 2% 3% [libx264 @ 0x837760] i8c dc,h,v,p : 100% 0% 0%
0% [libx264 @ 0x837760] Weighted P-Frames : Y:0.0% UV:0.0% [libx264 @
0x837760] ref P L0 : 99.3% 0.0% 0.6% 0.1% [libx264 @ 0x837760] ref B
L0 : 4.2% 95.8% [libx264 @ 0x837760] ref B L1 : 99.8% 0.2% [libx264 @
0x837760] kb/s:27.34I have also tried
cat *.png | avconv -f image2pipe -i - -b:v 1000k -vf scale=640 :-1 test2.mp4
output shows
avconv version 11.6-6:11.6-1 deb8u1, Copyright (c) 2000-2014 the Libav developers built on Mar 2 2016 23:00:02 with gcc 4.9.2
(Debian 4.9.2-10) Codec AVOption b (set bitrate (in bits/s)) specified
for output file #0 (test2.mp4) has not been used for any stream. The
most likely reason is either wrong type (e.g. a video option with no
video streams) or that it is a private option of some encoder which
was not actually used for any stream. Output #0, image2pipe, to
’test2.mp4’ : Output file #0 does not contain any streamWhen getting frames fromtest.mp4
avconv -i test.mp4 -r 30 -f image2 %04d.png
I found 1000 or more copies of the images_000001.png.
Would you please help, whether I have made any mistake in commands ? Or am I missing some codec options ? Thanks for the help.