
Recherche avancée
Autres articles (25)
-
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 (...) -
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 (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (2772)
-
Where can I find my output video file after execution of ffmpeg command
7 août 2019, par Giri AakulaI run this command to capture my screen
ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4
I didn’t find the output.mp4 file anywhere in my HDD. I checked in the bin folder of ffmpeg it is not there.
I searched the whole PC I didn’t find it anywhere. Can anyone please help me out to find the file.
The console output isC:\Users\USER>ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4
ffmpeg version N-94405-g43891ea8ab Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190716
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 32.100 / 56. 32.100
libavcodec 58. 55.100 / 58. 55.100
libavformat 58. 30.100 / 58. 30.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.100 / 7. 58.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[gdigrab @ 0000020d04e3b280] Capturing whole desktop as 1366x768x32 at (0,0)
[gdigrab @ 0000020d04e3b280] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, gdigrab, from 'desktop':
Duration: N/A, start: 1565202714.962639, bitrate: 2014274 kb/s
Stream #0:0: Video: bmp, bgra, 1366x768, 2014274 kb/s, 60 fps, 1000k tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0000020d04e3edc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0000020d04e3edc0] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[libx264 @ 0000020d04e3edc0] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf58.30.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1366x768, q=-1--1, 60 fps, 15360 tbn, 60 tbc
Metadata:
encoder : Lavc58.55.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
More than 1000 frames duplicated 5632kB time=00:00:19.86 bitrate=2322.4kbits/s dup=981 drop=0 speed=1.01x
More than 10000 frames duplicated 53504kB time=00:03:39.21 bitrate=1999.4kbits/s dup=9978 drop=0 speed= 1x
frame=58906 fps= 60 q=-1.0 Lsize= 234800kB time=00:16:21.75 bitrate=1959.2kbits/s dup=45257 drop=0 speed= 1x
video:234566kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.099927%
[libx264 @ 0000020d04e3edc0] frame I:236 Avg QP: 0.00 size:230265
[libx264 @ 0000020d04e3edc0] frame P:58670 Avg QP: 0.00 size: 3168
[libx264 @ 0000020d04e3edc0] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0000020d04e3edc0] mb P I16..4: 52.9% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:47.1%
[libx264 @ 0000020d04e3edc0] coded y,u,v intra: 0.2% 0.2% 0.2% inter: 0.0% 0.0% 0.0%
[libx264 @ 0000020d04e3edc0] i16 v,h,dc,p: 100% 0% 0% 0%
[libx264 @ 0000020d04e3edc0] kb/s:1957.25 -
I tried to make an avi file from images using ffmpeg but the avi file is very small why ?
13 mai 2013, par Yaron Cohen MinzI tried this :
In C# i'm creating 100 bitmap files :
for (int i = 0; i < 100; i++)
{
t.Save(@"D:\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots\" + "Screenshot" + i.ToString("D6") + ".Bmp",ImageFormat.Bmp);
}Then i'm using the ffmpeg.exe command line to create an avi file movie of all the bitmaps.
D :\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>ffmpeg -
f image2 -r 5 -i Screenshot000099.bmp -c:v libx264 -r 30 out.mp4And before it i tried :
D :\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>ffmpeg -
f image2 -r 1/5 -i Screenshot000099.bmp -c:v libx264 -r 30 out.mp4When i tried to use jpg files i got an error say jpeg is not supported.
Then when the files were 1920X1080 i got an error say this resolution is not supported.Now i did it again and hot this :
D:\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>ffmpeg -
f image2 -r 1/5 -i Screenshot000099.bmp -c:v libx264 -r 30 out.mp4
ffmpeg version N-52941-g13cb6ed Copyright (c) 2000-2013 the FFmpeg developers
built on May 9 2013 17:18:28 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libr
tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
libavutil 52. 30.100 / 52. 30.100
libavcodec 55. 7.100 / 55. 7.100
libavformat 55. 4.101 / 55. 4.101
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 63.101 / 3. 63.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[image2 @ 02532b00] Stream #0: not enough frames to estimate rate; consider incr
easing probesize
Input #0, image2, from 'Screenshot000099.bmp':
Duration: 00:00:05.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: bmp, bgra, 1920x1080, 0.20 tbr, 0.20 tbn, 0.20 tbc
File 'out.mp4' already exists. Overwrite ? [y/N] y
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0253e180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0253e180] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0253e180] 264 - core 132 r2309 3b1f1f7 - H.264/MPEG-4 AVC codec - Cop
yleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 de
block=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 chr
oma_qp_offset=4 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=25 scene
cut=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 'out.mp4':
Metadata:
encoder : Lavf55.4.101
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1920x1
080, q=-1--1, 15360 tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (bmp -> libx264)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=29.0 Lsize= 74kB time=00:00:00.03 bitrate=18159.5kbit
s/s
video:73kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.014632%
[libx264 @ 0253e180] frame I:1 Avg QP:29.34 size: 74174
[libx264 @ 0253e180] mb I I16..4: 77.5% 4.0% 18.6%
[libx264 @ 0253e180] 8x8 transform intra:4.0%
[libx264 @ 0253e180] coded y,u,v intra: 13.7% 8.5% 8.4%
[libx264 @ 0253e180] i16 v,h,dc,p: 66% 34% 0% 0%
[libx264 @ 0253e180] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 29% 55% 1% 0% 0% 0%
0% 2%
[libx264 @ 0253e180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 38% 14% 2% 2% 3% 3%
2% 3%
[libx264 @ 0253e180] kb/s:17801.76
D:\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>The results are a very small out.mp4 or if it was jpg and avi before files.
For now the out.mp4 file on the hard disk is : 73.8KBWhat i want is to create in the CSHARP 100 jpg files then make one avi file of them using the ffmpeg with h264 of mpeg4 .
-
make video from image file using ffmpeg
4 août 2014, par Roylisto Putra Pradanai have 64 images sequence and i want to make a video using that images.
you can download the images here
i use ffmpeg in ubuntu.
here’s my commandffmpeg -r 60 -f image2 -s 1360x768 -i "/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/tmp/result%d.png" -vcodec libx264 -crf 20 "/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/render/test.mp4"
it works but only 39 images has generated to a video. My question is why ffmpeg not render all images in that folder into a video, what is my mistake and how to solve it ?
Output Command :
ffmpeg version 2.2.git-73d820e Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 16 2014 10:08:12 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libpulse --enable-libx264 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.101 / 55. 66.101
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from '/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/tmp/result%d.png':
Duration: 00:00:00.62, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 320x240, 60 fps, 60 tbr, 60 tbn, 60 tbc
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x2bccce0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 0x2bccce0] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit
[libx264 @ 0x2bccce0] 264 - core 142 r2431 ac76440 - 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=4 threads=3 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/render/test.mp4':
Metadata:
encoder : Lavf55.43.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 320x240, q=-1--1, 60 fps, 15360 tbn, 60 tbc
Metadata:
encoder : Lavc55.66.101 libx264
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:320x240 fmt:rgb24 to size:480x360 fmt:rgb24
frame= 35 fps=0.0 q=-1.0 Lsize= 18kB time=00:00:00.55 bitrate= 264.7kbits/s dup=0 drop=2
video:17kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.355630%
[libx264 @ 0x2bccce0] frame I:1 Avg QP:14.45 size: 1829
[libx264 @ 0x2bccce0] frame P:12 Avg QP:20.02 size: 908
[libx264 @ 0x2bccce0] frame B:22 Avg QP:24.15 size: 161
[libx264 @ 0x2bccce0] consecutive B-frames: 14.3% 5.7% 0.0% 80.0%
[libx264 @ 0x2bccce0] mb I I16..4: 3.3% 84.3% 12.3%
[libx264 @ 0x2bccce0] mb P I16..4: 0.6% 2.9% 1.9% P16..4: 7.6% 6.0% 2.8% 0.0% 0.0% skip:78.3%
[libx264 @ 0x2bccce0] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 10.1% 3.2% 0.5% direct: 0.3% skip:85.8% L0:36.3% L1:56.4% BI: 7.3%
[libx264 @ 0x2bccce0] 8x8 transform intra:72.3% inter:49.0%
[libx264 @ 0x2bccce0] coded y,u,v intra: 34.4% 16.0% 10.7% inter: 3.6% 0.5% 0.3%
[libx264 @ 0x2bccce0] i16 v,h,dc,p: 76% 21% 3% 0%
[libx264 @ 0x2bccce0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 22% 50% 2% 2% 1% 5% 2% 3%
[libx264 @ 0x2bccce0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 30% 32% 2% 8% 3% 11% 3% 5%
[libx264 @ 0x2bccce0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x2bccce0] ref P L0: 64.9% 22.6% 9.7% 2.8%
[libx264 @ 0x2bccce0] ref B L0: 86.1% 12.2% 1.7%
[libx264 @ 0x2bccce0] ref B L1: 94.3% 5.7%
[libx264 @ 0x2bccce0] kb/s:223.06