
Recherche avancée
Autres articles (40)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)
Sur d’autres sites (9254)
-
FFmpeg - Merge two images (.png) to video (.mp4) doesn't work
12 juin 2019, par JokoeI want to merge two images (names are not numbered in a sequence) to a video, but the result includes only a video of the first image.
I would appreciate any kind of help !
ffmpeg.exe -r 1/5 -i image_x.png -r 1/5 -i image_y.png -codec:v libx264 -vf fps=50 video.mp4
Output :
Input #0, png_pipe, from
’C :\Users\khj\Desktop\SpeakerLayoutTool\Images_video\iamge_x.png’ :
Duration : N/A, bitrate : N/A
Stream #0:0 : Video : png, rgba(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc Input #1, png_pipe, from
’C :\Users\khj\Desktop\SpeakerLayoutTool\Images_video\image_y.png’ :
Duration : N/A, bitrate : N/A
Stream #1:0 : Video : png, rgba(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc File ’C :\Users\khj\Desktop\SpeakerLayoutTool\video.mp4’ already
exists. Overwrite ? [y/N] y Stream mapping : Stream #0:0 -> #0:0 (png
(native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @
0000016c2a46e000] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 BMI2 AVX2 [libx264 @ 0000016c2a46e000] profile High 4:4:4
Predictive, level 5.2, 4:4:4, 8-bit [libx264 @ 0000016c2a46e000] 264 -
core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 -
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=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
’C :\Users\khj\Desktop\SpeakerLayoutTool\video.mp4’ : Metadata :
encoder : Lavf58.27.103
Stream #0:0 : Video : h264 (libx264) (avc1 / 0x31637661), yuv444p, 3840x2160, q=-1—1, 50 fps, 12800 tbn, 50 tbc
Metadata :
encoder : Lavc58.52.100 libx264
Side data :
cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1 frame= 250 fps= 22 q=-1.0 Lsize= 162kB time=00:00:04.94 bitrate=
268.1kbits/s speed=0.444x -
Converting 2-channel .mov file to .mp3 with ffmpeg
29 mai 2019, par Josh EarlI use Skype Call Recorder to record Skype interviews. The app saves files in
.mov
format, with 2 audio channels.When I submit these files for transcription, they always come back with just one channel transcribed.
I need to 1.) merge the tracks, and 2.) convert the
.mov
file to.mp3
format.Right now the command I’m working with is :
ffmpeg -i input.mov -map 0:a output.mp3
I get the following errors :
Invalid audio stream. Exactly one MP3 audio stream is required.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argumentWhat am I missing ?
Here’s the full console output, if it helps :
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2019-05-18 15:00:59
Duration: 00:11:41.82, start: 0.000000, bitrate: 120 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 58 kb/s (default)
Metadata:
creation_time : 2019-05-18 15:00:59
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 58 kb/s (default)
Metadata:
creation_time : 2019-05-18 15:00:59
handler_name : Apple Alias Data Handler
[mp3 @ 0x7fd8b1003c00] Invalid audio stream. Exactly one MP3 audio stream is required.
Output #0, mp3, to 'output.mp3':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.25.101
Stream #0:0(eng): Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp (default)
Metadata:
creation_time : 2019-05-18 15:00:59
handler_name : Apple Alias Data Handler
encoder : Lavc56.26.100 libmp3lame
Stream #0:1(eng): Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp (default)
Metadata:
creation_time : 2019-05-18 15:00:59
handler_name : Apple Alias Data Handler
encoder : Lavc56.26.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument -
FFMPEG | How to attach a path URL for .ts chunks in m3u8 ?
29 mai 2019, par mendy25What I need to do is to add a full path address inside the m3u8 for each .ts
How to do it please ?
Example :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10.000000,
http://...com/tsfiles/2019-05-29_12:40:41.ts
#EXTINF:10.000000,
http://...com/tsfiles/2019-05-29_12:40:45.ts
#EXTINF:10.000000,
http://...com/tsfiles/2019-05-29_12:40:51.tsThe result / command right now :
ffmpeg -y -user_agent 'VLC/2.1.4 LibVLC/2.1.4' -i *** -strftime 1 -strftime_mkdir 1 -force_key_frames expr:'gte(t,n_forced*10)' -hls_time 10 -hls_segment_filename /var/www/html/tsfiles/%Y-%m-%d_%H:%M:%S.ts /var/www/html/m3u8files/stream.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10.000000,
/var/www/html/tsfiles/2019-05-29_12:40:41.ts
#EXTINF:10.000000,
/var/www/html/tsfiles/2019-05-29_12:40:45.ts
#EXTINF:10.000000,
/var/www/html/tsfiles/2019-05-29_12:40:51.ts