
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (71)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
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 (...) -
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 (3521)
-
Ffmpeg rounds seconds instead of using the milliseconds part
10 mai 2021, par NourElDineAI tried to cut a video using the following command :


ffmpeg -i input.mp4 -ss 00:00:00 -to 00:00:06.600 output.mp4



When I run the command ffmpeg rounds up and the output video is 7 seconds instead of 6.6 seconds.
I would like to know if there is a way to cut the video precisely where I tell it to.


Here is the log file content :


ffmpeg version 4.3.1-2021-01-01-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out2.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Duration: 00:00:10.52, start: 0.000000, bitrate: 1070 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x720 [SAR 1:1 DAR 4:3], 935 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0000015de0911400] using SAR=1/1
[libx264 @ 0000015de0911400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000015de0911400] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0000015de0911400] 264 - core 161 r3027 4121277 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=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 'out3.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 960x720 [SAR 1:1 DAR 4:3], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
 encoder : Lavc58.91.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
 encoder : Lavc58.91.100 aac
frame= 100 fps=0.0 q=29.0 size= 0kB time=00:00:03.56 bitrate= 0.1kbits/s speed=6.78x 
frame= 172 fps=167 q=29.0 size= 256kB time=00:00:05.95 bitrate= 352.4kbits/s speed=5.77x 
frame= 198 fps=126 q=-1.0 Lsize= 818kB time=00:00:06.61 bitrate=1013.6kbits/s speed=4.22x 
video:709kB audio:100kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.054347%
[libx264 @ 0000015de0911400] frame I:1 Avg QP: 3.25 size: 178
[libx264 @ 0000015de0911400] frame P:84 Avg QP:18.55 size: 6826
[libx264 @ 0000015de0911400] frame B:113 Avg QP:20.94 size: 1347
[libx264 @ 0000015de0911400] consecutive B-frames: 1.5% 66.7% 1.5% 30.3%
[libx264 @ 0000015de0911400] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0000015de0911400] mb P I16..4: 5.8% 6.9% 0.6% P16..4: 40.1% 4.8% 3.4% 0.0% 0.0% skip:38.4%
[libx264 @ 0000015de0911400] mb B I16..4: 0.1% 0.3% 0.0% B16..8: 12.1% 0.8% 0.1% direct: 6.5% skip:80.1% L0:33.9% L1:60.4% BI: 5.7%
[libx264 @ 0000015de0911400] 8x8 transform intra:48.3% inter:70.6%
[libx264 @ 0000015de0911400] coded y,uvDC,uvAC intra: 13.6% 73.4% 33.1% inter: 4.1% 20.1% 0.5%
[libx264 @ 0000015de0911400] i16 v,h,dc,p: 92% 4% 3% 2%
[libx264 @ 0000015de0911400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 7% 65% 2% 3% 3% 3% 3% 2%
[libx264 @ 0000015de0911400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 16% 22% 5% 7% 7% 7% 6% 3%
[libx264 @ 0000015de0911400] i8c dc,h,v,p: 54% 20% 23% 4%
[libx264 @ 0000015de0911400] Weighted P-Frames: Y:6.0% UV:6.0%
[libx264 @ 0000015de0911400] ref P L0: 69.2% 5.3% 17.7% 7.7% 0.1%
[libx264 @ 0000015de0911400] ref B L0: 92.8% 6.2% 1.0%
[libx264 @ 0000015de0911400] ref B L1: 99.5% 0.5%
[libx264 @ 0000015de0911400] kb/s:878.78
[aac @ 0000015de0914080] Qavg: 6573.620



The output file is 7 seconds long which means ffmpeg rounded up my 6.60 to 7 and I need it to cut exactly at 00:00:06.60


-
webm video - it can not be copy to cut a correct time part for ffmpeg command(without re-encode) [closed]
15 mars 2024, par DanielHsuCommand Goal :


- 

- fast copy video's part
- no re-encode with libvpx






Linux command below :
ffmpeg -ss 00:01:00 -to 00:02:00 -i input.webm -c copy output.webm


command's process details :


ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) configuration:
--enable-libvpx libavutil 58. 29.100 / 58. 29.100 libavcodec 60. 31.102 / 60. 31.102 libavformat 60. 16.100 / 60. 16.100 libavdevice 60. 3.100 / 60. 3.100 libavfilter 9. 12.100 / 
9. 12.100 libswscale 7. 5.100 / 7. 5.100 libswresample 4. 12.100 / 4. 12.100 Input #0, matroska,webm, from 'input.webm': Metadata:
 title : FFmpeg
 ENCODER : Lavf58.29.100 Duration: 00:06:04.43, start: 0.000000, bitrate: 2487 kb/s Stream #0:0: Video: vp8, yuv420p(tv, bt470bg/unknown/unknown, progressive), 1280x720, SAR 1:1 DAR 16:9, 1k tbr, 1k tbn (default)
 Metadata:
 DURATION : 00:06:04.432000000 Output #0, webm, to 'output.webm': Metadata:
 title : FFmpeg
 encoder : Lavf60.16.100 Stream #0:0: Video: vp8, yuv420p(tv, bt470bg/unknown/unknown, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1k tbr, 1k tbn (default)
 Metadata:
 DURATION : 00:06:04.432000000 Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [out#0/webm @ 0x5609ee9bb840] video:35912kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.069370% size= 35937kB time=00:00:59.96 bitrate=4909.2kbits/s speed= 211x



command usage's result :
output.webm always start from input.webm's 00:00:00 to end input.webm's 00:01:00
(it should be start from input.webm's 00:01:00 to end input.webm's 00:02:00 )


input.webm format details from mediainfo tool :




General Count : 331 Count of stream
of this kind : 1 Kind of stream

 : General Kind of stream : General Stream
identifier : 0 Count of video streams

 : 1 Video_Format_List : VP8
Video_Format_WithHint_List : VP8 Codecs Video

 : VP8 Complete name :
pure_film/65ea641a4075c92236151349_video.webm Folder name

 : pure_film File name extension :
65ea641a4075c92236151349_video.webm File name

 : 65ea641a4075c92236151349_video File extension

 : webm Format : WebM Format

 : WebM Format/Url :
http://www.webmproject.org/ Format/Extensions usually used :
webm Commercial name : WebM Format version

 : Version 2 Internet media type : video/webm File
size : 113301943 File size

 : 108 MiB File size : 108 MiB File size
 : 108 MiB File size : 108 MiB File size
 : 108.1 MiB Duration : 364432 Duration
 : 6 min 4 s Duration : 6 min 4 s 432
ms Duration : 6 min 4 s Duration

 : 00:06:04.432 Duration : 00:06:04.432
Overall bit rate : 2487201 Overall bit rate

 : 2 487 kb/s Stream size : 4801069 Stream
size : 4.58 MiB (4%) Stream size

 : 5 MiB Stream size : 4.6 MiB Stream size
 : 4.58 MiB Stream size : 4.579 MiB Stream
size : 4.58 MiB (4%) Proportion of this
stream : 0.04237 IsStreamable

 : Yes Title : FFmpeg Movie name

 : FFmpeg File last modification date : UTC 2024-03-08
01:41:47 File last modification date (local) : 2024-03-08
09:41:47 Writing application : Lavf58.29.100
Writing application : Lavf58.29.100 Writing
library : Lavf58.29.100 Writing library

 : Lavf58.29.100

Video Count : 377 Count of stream
of this kind : 1 Kind of stream

 : Video Kind of stream : Video Stream
identifier : 0 StreamOrder

 : 0 ID : 1 ID

 : 1 Unique ID : 1 Format

 : VP8 Format : VP8 Format/Url

 : http://www.webmproject.org/ Commercial name

 : VP8 Codec ID : V_VP8 Codec ID/Url

 : http://www.webmproject.org/ Duration

 : 364432.000000 Duration : 6 min 4 s
Duration : 6 min 4 s 432 ms Duration

 : 6 min 4 s Duration : 00:06:04.432
Duration : 00:06:04.432 Bit rate

 : 2381808 Bit rate : 2 382 kb/s Width
 : 1280 Width : 1 280 pixels Height
 : 720 Height : 720 pixels Pixel
aspect ratio : 1.000 Display aspect ratio

 : 1.778 Display aspect ratio : 16:9 Frame rate
mode : VFR Frame rate mode

 : Variable Color space : YUV Compression
mode : Lossy Compression mode

 : Lossy Delay : 0 Delay

 : 00:00:00.000 Delay, origin : Container
Delay, origin : Container Stream size

 : 108500874 Stream size : 103 MiB (96%)
Stream size : 103 MiB Stream size

 : 103 MiB Stream size : 103 MiB Stream
size : 103.5 MiB Stream size

 : 103 MiB (96%) Proportion of this stream : 0.95763
Default : Yes Default

 : Yes Forced : No Forced

 : No colour_description_present : Yes
colour_description_present_Source : Container Color range

 : Limited colour_range_Source : Container Matrix
coefficients : BT.470 System B/G
matrix_coefficients_Source : Container



How to make the output.webm be in correct time range(00:01:00 00:02:00) ????


-
lavc/exif : Make EXIF IFD decoding part of private API/ABI.
26 mars 2014, par Thilo Borgmann