
Recherche avancée
Autres articles (21)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (4015)
-
FFMPEG/AVCONV Video flipping is taking long time, How can we reduce the process time ?
10 juillet 2014, par Prasanth PI am trying to flip video using
FFMPEG/AVCONV
on Ubuntu. When it flips 1 minute video, it takes 12 to 40 seconds for processing and conversion.ffmpeg
is deprecated andavconv
is being using instead.Video file size : 7mb, Duration : 1 minute
avconv -i 1_1.mp4 -c:v libx264 -c:a copy -vf "vflip" conv.mp4
and the result is :
avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Jun 10 2014 15:32:44 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1_1.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2013-06-06 07:42:07
Duration: 00:03:45.15, start: 0.000000, bitrate: 266 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 216 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc
Metadata:
creation_time : 2013-06-06 07:42:07
Stream #0.1(eng): Audio: aac, 32000 Hz, mono, s16, 46 kb/s
Metadata:
creation_time : 2013-06-06 07:42:07
[buffer @ 0x972c240] w:640 h:360 pixfmt:yuv420p
[libx264 @ 0x9745e20] using SAR=1/1
[libx264 @ 0x9745e20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x9745e20] profile Main, level 3.0
[libx264 @ 0x9745e20] 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=6 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 'conv.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2013-06-06 07:42:07
encoder : Lavf53.21.1
Stream #0.0(eng): Video: libx264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
Metadata:
creation_time : 2013-06-06 07:42:07
Stream #0.1(eng): Audio: libvo_aacenc, 32000 Hz, mono, 46 kb/s
Metadata:
creation_time : 2013-06-06 07:42:07
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (copy)
Press ctrl-c to stop encoding
frame= 5627 fps=153 q=-1.0 Lsize= 7880kB time=225.04 bitrate= 286.9kbits/s
video:6487kB audio:1271kB global headers:0kB muxing overhead 1.580010%
[libx264 @ 0x9745e20] frame I:27 Avg QP:15.59 size: 19598
[libx264 @ 0x9745e20] frame P:1478 Avg QP:20.11 size: 3175
[libx264 @ 0x9745e20] frame B:4122 Avg QP:29.13 size: 344
[libx264 @ 0x9745e20] consecutive B-frames: 1.9% 0.5% 2.1% 95.5%
[libx264 @ 0x9745e20] mb I I16..4: 20.1% 0.0% 79.9%
[libx264 @ 0x9745e20] mb P I16..4: 1.2% 0.0% 1.7% P16..4: 23.9% 12.3% 5.6% 0.0% 0.0% skip:55.2%
[libx264 @ 0x9745e20] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 18.4% 2.3% 0.2% direct: 0.3% skip:78.8% L0:41.7% L1:51.7% BI: 6.6%
[libx264 @ 0x9745e20] coded y,uvDC,uvAC intra: 64.4% 44.0% 15.7% inter: 4.3% 4.8% 0.2%
[libx264 @ 0x9745e20] i16 v,h,dc,p: 40% 19% 13% 28%
[libx264 @ 0x9745e20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 22% 17% 5% 7% 6% 6% 5% 4%
[libx264 @ 0x9745e20] i8c dc,h,v,p: 65% 13% 19% 3%
[libx264 @ 0x9745e20] Weighted P-Frames: Y:1.9% UV:1.2%
[libx264 @ 0x9745e20] ref P L0: 72.8% 7.2% 13.5% 6.4% 0.0%
[libx264 @ 0x9745e20] ref B L0: 91.2% 8.8%
[libx264 @ 0x9745e20] kb/s:236.07And time taken is 13 seconds.
-
Revision 8701ed0270 : update vp9_thread.c pull the latest from libwebp. Original source : http://git
9 juillet 2014, par James ZernChanged Paths :
Modify /test/vp9_thread_test.cc
Modify /vp9/common/vp9_thread.c
update vp9_thread.cpull the latest from libwebp.
Original source :
http://git.chromium.org/webm/libwebp.git
100644 blob 264210ba2807e4da47eb5d18c04cf869d89b9784 src/utils/thread.ccommit 46fd44c1042c9903b2f1ab87e9f200a13c7e702d
Author : James Zern <jzern@google.com>
Date : Tue Jul 8 19:53:28 2014 -0700thread : remove harmless race on status_ in End()
if a thread was still doing work when End() was called there’d be a race
on worker->status_. in these cases, however, the specific value is
meaningless as it would be >= OK and the thread would have been shut
down properly, but we’ll check ’impl_’ instead to avoid any potential
TSan/DRD reports.Change-Id : Ib93cbc226a099f07761f7bad765549dffb8054b1
Change-Id : Ib0ef25737b3c6d017fa74822e21ed58508230b91
-
FFMPEG - How to record multiple RTMP streams into multiple files
11 juillet 2014, par user3146313I tried the following, but it does not work.
ffmpeg -i rtmp://83.229.210.89/RAZTV/BTVraztv1 -map 0 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/ort.mp4 -i rtmp://mirtv.cdnvideo.ru/mirtv-live/mirtv600.sdp -map 1 -b:v 900k -vcodec libx4 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/mir.mp4 -i rtmp://chanson.cdnvideo.ru/chanson-live/shansontv.sdp -map 2 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/shansontv.mp4 -i rtmp://83.229.210.89:1935/TROTV/BTVtro0 -map 3 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/tro.mp4
Looks like it hangs on a second stream and no movement. S.O.S. Please help.
I have 4 stream URLs. I want them to be recording together at the same time.With one ffmpeg command:
I want: rtmp://83.229.210.89/RAZTV/BTVraztv1 to record into file: /media/TV_1T_3T_6/ffmpegtest/ort.mp4
I want: rtmp://mirtv.cdnvideo.ru/mirtv-live/mirtv600.sdp to record into file: /media/TV_1T_3T_6/ffmpegtest/mir.mp4
I want: rtmp://chanson.cdnvideo.ru/chanson-live/shansontv.sdp to record into file: /media/TV_1T_3T_6/ffmpegtest/shansontv.mp4
I want: rtmp://83.229.210.89:1935/TROTV/BTVtro0 to record into file: /media/TV_1T_3T_6/ffmpegtest/tro.mp4The log that I get right now is :
ffmpeg version 2.2.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 6 2014 21:42:17 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame
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
[flv @ 0x24981c0] Stream discovered after head already parsed
Input #0, flv, from 'rtmp://83.229.210.89/RAZTV/BTVraztv1':
Metadata:
Server : NGINX RTMP (github.com/arut/nginx-rtmp-module)
displayWidth : 720
displayHeight : 576
fps : 25
profile :
level :
Duration: 00:00:00.00, start: 1826.816000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 699 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2: Data: none
[flv @ 0x261c7e0] Stream discovered after head already parsed
[flv @ 0x261c7e0] negative cts, previous timestamps might be wrong
Last message repeated 8 times
Input #1, flv, from 'rtmp://mirtv.cdnvideo.ru/mirtv-live/mirtv600.sdp':
Metadata:
author :
copyright :
description :
keywords :
rating :
title :
presetname : Custom
creationdate : Fri Jul 11 03:34:37 2014
:
videodevice : AVerMedia Hybrid TV Video Capture
avclevel : 30
avcprofile : 66
videokeyframe_frequency: 5
audiodevice : ?8=. 2E>4 (#AB@>9AB2> A ?>445@6
audiochannels : 1
audioinputvolume: 100
Duration: N/A, start: 0.000000, bitrate: 1038 kb/s
Stream #1:0: Video: h264 (Baseline), yuv420p(tv), 720x576 [SAR 1:1 DAR 5:4], 972 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #1:1: Audio: mp3, 44100 Hz, mono, s16p, 65 kb/s
Stream #1:2: Data: none