Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (12)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (4083)
-
Rematrix is needed between 10 channels and mono but there is not enough information to do it
8 octobre 2017, par sirieleI’ve been fighting for a number of days now trying to get FFmpeg working with combining several audio files at specific times into one file. So my idea was to generate silence up to the time i want to play a sound.Then merge the audio together with a filter. The below code works when I have five or less files, but seems to fall apart. What I’m trying
ffmpeg \
-i "tutorial_bass/C-maj/TutorialBassJR.wav" \
-i "tutorial_drums/TutorialDrumsJR.wav" \
-i "tutorial_drums/TutorialDrumsTU.wav" \
-i "tutorial_bass/C-maj/TutorialBassTU.wav" \
-i "tutorial_drums/TutorialDrumsTU.wav" \
-i "tutorial_drums/TutorialDrumsTD.wav" \
-i "tutorial_bass/C-maj/TutorialBassTD.wav" \
-i "tutorial_drums/TutorialDrumsTD.wav" \
-i "tutorial_drums/TutorialDrumsTR.wav" \
-i "tutorial_bass/C-maj/TutorialBassTR.wav" \
-i "tutorial_drums/TutorialDrumsTR.wav" \
-i "tutorial_drums/TutorialDrumsWL.wav" \
-i "tutorial_bass/C-maj/TutorialBassWL.wav" \
-i "tutorial_drums/TutorialDrumsWL.wav" \
-i "tutorial_drums/TutorialDrumsWU.wav" \
-i "tutorial_bass/C-maj/TutorialBassWU.wav" \
-i "tutorial_drums/TutorialDrumsWU.wav" \
-i "tutorial_drums/TutorialDrumsWD.wav" \
-i "tutorial_bass/C-maj/TutorialBassWD.wav" \
-i "tutorial_drums/TutorialDrumsWD.wav" \
-i "tutorial_drums/TutorialDrumsJL.wav" \
-i "tutorial_bass/C-maj/TutorialBassJL.wav" \
-i "tutorial_drums/TutorialDrumsJL.wav" \
-i "tutorial_drums/TutorialDrumsJR.wav" \
-i "tutorial_bass/C-maj/TutorialBassJR.wav" \
-i "tutorial_drums/TutorialDrumsJR.wav" \
-i "tutorial_drums/TutorialDrumsJU.wav" \
-i "tutorial_bass/C-maj/TutorialBassJU.wav" \
-i "tutorial_drums/TutorialDrumsJU.wav" \
-i "tutorial_drums/TutorialDrumsJD.wav" \
-i "tutorial_bass/C-maj/TutorialBassJD.wav" \
-i "tutorial_drums/TutorialDrumsJD.wav" \
-i "tutorial_drums/TutorialDrumsTL.wav" \
-i "tutorial_bass/C-maj/TutorialBassTL.wav" \
-i "tutorial_drums/TutorialDrumsTL.wav" \
-i "tutorial_drums/TutorialDrumsTR.wav" \
-i "tutorial_bass/C-maj/TutorialBassTR.wav" \
-i "tutorial_drums/TutorialDrumsTR.wav" \
-i "tutorial_drums/TutorialDrumsTU.wav" \
-i "tutorial_bass/C-maj/TutorialBassTU.wav" \
-i "tutorial_drums/TutorialDrumsTU.wav" \
-i "tutorial_drums/TutorialDrumsTD.wav" \
-i "tutorial_bass/C-maj/TutorialBassTD.wav" \
-i "tutorial_drums/TutorialDrumsTD.wav" \
-filter_complex "\
aevalsrc=0:d=3.0 [d0];\
aevalsrc=0:d=3.0 [d1];\
aevalsrc=0:d=4.5 [d2];\
aevalsrc=0:d=4.5 [d3];\
aevalsrc=0:d=4.5 [d4];\
aevalsrc=0:d=6.0 [d5];\
aevalsrc=0:d=6.0 [d6];\
aevalsrc=0:d=6.0 [d7];\
aevalsrc=0:d=7.5 [d8];\
aevalsrc=0:d=7.5 [d9];\
aevalsrc=0:d=7.5 [d10];\
aevalsrc=0:d=9.0 [d11];\
aevalsrc=0:d=9.0 [d12];\
aevalsrc=0:d=9.0 [d13];\
aevalsrc=0:d=10.5 [d14];\
aevalsrc=0:d=10.5 [d15];\
aevalsrc=0:d=10.5 [d16];\
aevalsrc=0:d=12.0 [d17];\
aevalsrc=0:d=12.0 [d18];\
aevalsrc=0:d=12.0 [d19];\
aevalsrc=0:d=13.5 [d20];\
aevalsrc=0:d=13.5 [d21];\
aevalsrc=0:d=13.5 [d22];\
aevalsrc=0:d=15.0 [d23];\
aevalsrc=0:d=15.0 [d24];\
aevalsrc=0:d=15.0 [d25];\
aevalsrc=0:d=16.5 [d26];\
aevalsrc=0:d=16.5 [d27];\
aevalsrc=0:d=16.5 [d28];\
aevalsrc=0:d=18.0 [d29];\
aevalsrc=0:d=18.0 [d30];\
aevalsrc=0:d=18.0 [d31];\
aevalsrc=0:d=19.5 [d32];\
aevalsrc=0:d=19.5 [d33];\
aevalsrc=0:d=19.5 [d34];\
aevalsrc=0:d=21.0 [d35];\
aevalsrc=0:d=21.0 [d36];\
aevalsrc=0:d=21.0 [d37];\
aevalsrc=0:d=22.5 [d38];\
aevalsrc=0:d=22.5 [d39];\
aevalsrc=0:d=22.5 [d40];\
aevalsrc=0:d=24.0 [d41];\
aevalsrc=0:d=24.0 [d42];\
aevalsrc=0:d=24.0 [d43];\
[d0][0:a]concat=n=2:v=0:a=1 [a0];\
[d1][1:a]concat=n=2:v=0:a=1 [a1];\
[d2][2:a]concat=n=2:v=0:a=1 [a2];\
[d3][3:a]concat=n=2:v=0:a=1 [a3];\
[d4][4:a]concat=n=2:v=0:a=1 [a4];\
[d5][5:a]concat=n=2:v=0:a=1 [a5];\
[d6][6:a]concat=n=2:v=0:a=1 [a6];\
[d7][7:a]concat=n=2:v=0:a=1 [a7];\
[d8][8:a]concat=n=2:v=0:a=1 [a8];\
[d9][9:a]concat=n=2:v=0:a=1 [a9];\
[d10][10:a]concat=n=2:v=0:a=1 [a10];\
[d11][11:a]concat=n=2:v=0:a=1 [a11];\
[d12][12:a]concat=n=2:v=0:a=1 [a12];\
[d13][13:a]concat=n=2:v=0:a=1 [a13];\
[d14][14:a]concat=n=2:v=0:a=1 [a14];\
[d15][15:a]concat=n=2:v=0:a=1 [a15];\
[d16][16:a]concat=n=2:v=0:a=1 [a16];\
[d17][17:a]concat=n=2:v=0:a=1 [a17];\
[d18][18:a]concat=n=2:v=0:a=1 [a18];\
[d19][19:a]concat=n=2:v=0:a=1 [a19];\
[d20][20:a]concat=n=2:v=0:a=1 [a20];\
[d21][21:a]concat=n=2:v=0:a=1 [a21];\
[d22][22:a]concat=n=2:v=0:a=1 [a22];\
[d23][23:a]concat=n=2:v=0:a=1 [a23];\
[d24][24:a]concat=n=2:v=0:a=1 [a24];\
[d25][25:a]concat=n=2:v=0:a=1 [a25];\
[d26][26:a]concat=n=2:v=0:a=1 [a26];\
[d27][27:a]concat=n=2:v=0:a=1 [a27];\
[d28][28:a]concat=n=2:v=0:a=1 [a28];\
[d29][29:a]concat=n=2:v=0:a=1 [a29];\
[d30][30:a]concat=n=2:v=0:a=1 [a30];\
[d31][31:a]concat=n=2:v=0:a=1 [a31];\
[d32][32:a]concat=n=2:v=0:a=1 [a32];\
[d33][33:a]concat=n=2:v=0:a=1 [a33];\
[d34][34:a]concat=n=2:v=0:a=1 [a34];\
[d35][35:a]concat=n=2:v=0:a=1 [a35];\
[d36][36:a]concat=n=2:v=0:a=1 [a36];\
[d37][37:a]concat=n=2:v=0:a=1 [a37];\
[d38][38:a]concat=n=2:v=0:a=1 [a38];\
[d39][39:a]concat=n=2:v=0:a=1 [a39];\
[d40][40:a]concat=n=2:v=0:a=1 [a40];\
[d41][41:a]concat=n=2:v=0:a=1 [a41];\
[d42][42:a]concat=n=2:v=0:a=1 [a42];\
[d43][43:a]concat=n=2:v=0:a=1 [a43];\
[a0][a1][a2][a3][a4][a5][a6][a7][a8][a9][a10][a11][a12][a13][a14][a15][a16][a17][a18][a19]amix=inputs=20:duration=longest [a0-a19];\
[a20][a21][a22][a23][a24][a25][a26][a27][a28][a29][a30][a31][a32][a33][a34][a35][a36][a37][a38][a39]amix=inputs=20:duration=longest [a20-a39];\
[a40][a41][a42][a43]amix=inputs=4:duration=longest [a40-a43];
[a0-a19][a20-a39][a40-a43]amix=inputs=3:duration=longest" -codec:a libmp3lame output.mp3When I run this command I get :
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.2.0/include/openjpeg-2.2 --enable-nonfree --enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'tutorial_bass/C-maj/TutorialBassJR.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, wav, from 'tutorial_drums/TutorialDrumsJR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #1:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #2.0 : stereo
Input #2, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #2:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #3.0 : stereo
Input #3, wav, from 'tutorial_bass/C-maj/TutorialBassTU.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #3:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #4.0 : stereo
Input #4, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #4:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Input #5, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
Duration: 00:00:04.50, bitrate: 14112 kb/s
Stream #5:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
Guessed Channel Layout for Input Stream #6.0 : stereo
Input #6, wav, from 'tutorial_bass/C-maj/TutorialBassTD.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #6:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Input #7, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
Duration: 00:00:04.50, bitrate: 14112 kb/s
Stream #7:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
Guessed Channel Layout for Input Stream #8.0 : stereo
Input #8, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #8:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #9.0 : stereo
Input #9, wav, from 'tutorial_bass/C-maj/TutorialBassTR.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #9:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #10.0 : stereo
Input #10, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #10:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #11.0 : stereo
Input #11, wav, from 'tutorial_drums/TutorialDrumsWL.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #11:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #12.0 : stereo
Input #12, wav, from 'tutorial_bass/C-maj/TutorialBassWL.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #12:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #13.0 : stereo
Input #13, wav, from 'tutorial_drums/TutorialDrumsWL.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #13:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #14.0 : stereo
Input #14, wav, from 'tutorial_drums/TutorialDrumsWU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #14:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #15.0 : stereo
Input #15, wav, from 'tutorial_bass/C-maj/TutorialBassWU.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #15:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #16.0 : stereo
Input #16, wav, from 'tutorial_drums/TutorialDrumsWU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #16:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #17.0 : stereo
Input #17, wav, from 'tutorial_drums/TutorialDrumsWD.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #17:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #18.0 : stereo
Input #18, wav, from 'tutorial_bass/C-maj/TutorialBassWD.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #18:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #19.0 : stereo
Input #19, wav, from 'tutorial_drums/TutorialDrumsWD.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #19:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #20.0 : stereo
Input #20, wav, from 'tutorial_drums/TutorialDrumsJL.wav':
Duration: 00:00:00.75, bitrate: 33869 kb/s
Stream #20:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #21.0 : stereo
Input #21, wav, from 'tutorial_bass/C-maj/TutorialBassJL.wav':
Duration: 00:00:01.51, bitrate: 2822 kb/s
Stream #21:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #22.0 : stereo
Input #22, wav, from 'tutorial_drums/TutorialDrumsJL.wav':
Duration: 00:00:00.75, bitrate: 33869 kb/s
Stream #22:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #23.0 : stereo
Input #23, wav, from 'tutorial_drums/TutorialDrumsJR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #23:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #24.0 : stereo
Input #24, wav, from 'tutorial_bass/C-maj/TutorialBassJR.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #24:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #25.0 : stereo
Input #25, wav, from 'tutorial_drums/TutorialDrumsJR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #25:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #26.0 : stereo
Input #26, wav, from 'tutorial_drums/TutorialDrumsJU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #26:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #27.0 : stereo
Input #27, wav, from 'tutorial_bass/C-maj/TutorialBassJU.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #27:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #28.0 : stereo
Input #28, wav, from 'tutorial_drums/TutorialDrumsJU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #28:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #29.0 : stereo
Input #29, wav, from 'tutorial_drums/TutorialDrumsJD.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #29:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #30.0 : stereo
Input #30, wav, from 'tutorial_bass/C-maj/TutorialBassJD.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #30:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #31.0 : stereo
Input #31, wav, from 'tutorial_drums/TutorialDrumsJD.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #31:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #32.0 : stereo
Input #32, wav, from 'tutorial_drums/TutorialDrumsTL.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #32:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #33.0 : stereo
Input #33, wav, from 'tutorial_bass/C-maj/TutorialBassTL.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #33:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #34.0 : stereo
Input #34, wav, from 'tutorial_drums/TutorialDrumsTL.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #34:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #35.0 : stereo
Input #35, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #35:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #36.0 : stereo
Input #36, wav, from 'tutorial_bass/C-maj/TutorialBassTR.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #36:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #37.0 : stereo
Input #37, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #37:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #38.0 : stereo
Input #38, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #38:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #39.0 : stereo
Input #39, wav, from 'tutorial_bass/C-maj/TutorialBassTU.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #39:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Guessed Channel Layout for Input Stream #40.0 : stereo
Input #40, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
Duration: 00:00:00.75, bitrate: 2822 kb/s
Stream #40:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Input #41, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
Duration: 00:00:04.50, bitrate: 14112 kb/s
Stream #41:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
Guessed Channel Layout for Input Stream #42.0 : stereo
Input #42, wav, from 'tutorial_bass/C-maj/TutorialBassTD.wav':
Duration: 00:00:01.50, bitrate: 2822 kb/s
Stream #42:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
Input #43, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
Duration: 00:00:04.50, bitrate: 14112 kb/s
Stream #43:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
File 'output.mp3' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 (pcm_f32le) -> concat:in1:a0
Stream #1:0 (pcm_f32le) -> concat:in1:a0
Stream #2:0 (pcm_f32le) -> concat:in1:a0
Stream #3:0 (pcm_f32le) -> concat:in1:a0
Stream #4:0 (pcm_f32le) -> concat:in1:a0
Stream #5:0 (pcm_f32le) -> concat:in1:a0
Stream #6:0 (pcm_f32le) -> concat:in1:a0
Stream #7:0 (pcm_f32le) -> concat:in1:a0
Stream #8:0 (pcm_f32le) -> concat:in1:a0
Stream #9:0 (pcm_f32le) -> concat:in1:a0
Stream #10:0 (pcm_f32le) -> concat:in1:a0
Stream #11:0 (pcm_f32le) -> concat:in1:a0
Stream #12:0 (pcm_f32le) -> concat:in1:a0
Stream #13:0 (pcm_f32le) -> concat:in1:a0
Stream #14:0 (pcm_f32le) -> concat:in1:a0
Stream #15:0 (pcm_f32le) -> concat:in1:a0
Stream #16:0 (pcm_f32le) -> concat:in1:a0
Stream #17:0 (pcm_f32le) -> concat:in1:a0
Stream #18:0 (pcm_f32le) -> concat:in1:a0
Stream #19:0 (pcm_f32le) -> concat:in1:a0
Stream #20:0 (pcm_f32le) -> concat:in1:a0
Stream #21:0 (pcm_f32le) -> concat:in1:a0
Stream #22:0 (pcm_f32le) -> concat:in1:a0
Stream #23:0 (pcm_f32le) -> concat:in1:a0
Stream #24:0 (pcm_f32le) -> concat:in1:a0
Stream #25:0 (pcm_f32le) -> concat:in1:a0
Stream #26:0 (pcm_f32le) -> concat:in1:a0
Stream #27:0 (pcm_f32le) -> concat:in1:a0
Stream #28:0 (pcm_f32le) -> concat:in1:a0
Stream #29:0 (pcm_f32le) -> concat:in1:a0
Stream #30:0 (pcm_f32le) -> concat:in1:a0
Stream #31:0 (pcm_f32le) -> concat:in1:a0
Stream #32:0 (pcm_f32le) -> concat:in1:a0
Stream #33:0 (pcm_f32le) -> concat:in1:a0
Stream #34:0 (pcm_f32le) -> concat:in1:a0
Stream #35:0 (pcm_f32le) -> concat:in1:a0
Stream #36:0 (pcm_f32le) -> concat:in1:a0
Stream #37:0 (pcm_f32le) -> concat:in1:a0
Stream #38:0 (pcm_f32le) -> concat:in1:a0
Stream #39:0 (pcm_f32le) -> concat:in1:a0
Stream #40:0 (pcm_f32le) -> concat:in1:a0
Stream #41:0 (pcm_f32le) -> concat:in1:a0
Stream #42:0 (pcm_f32le) -> concat:in1:a0
Stream #43:0 (pcm_f32le) -> concat:in1:a0
amix -> Stream #0:0 (libmp3lame)
Press [q] to stop, [?] for help
[auto_resampler_5 @ 0x7fdc19641e00] [SWR @ 0x7fdc1c286e00] Rematrix is needed between 10 channels and mono but there is not enough information to do it
[auto_resampler_5 @ 0x7fdc19641e00] Failed to configure output pad on auto_resampler_5
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #43:0
Conversion failed!Any ideas what I’m doing wrong or other approaches I could take to do this ?
-
ffmpeg - splitting, overlaying and selecting frame range in multiple input/outputs with complex video filter producing empty output
11 octobre 2017, par Josep CarnerI am trying to use ffmpeg to apply multiple filters -single input, multiple outputs-. In concrete, I am splitting the output in two, then applying an overlaying patch to one of those streams, split again and select a time range. The command I am using is :
ffmpeg \
-i ./dataset_test/videos/jz_10_huron_barstow.mkv \
-an \
-sn \
-loglevel error \
-filter_complex \
"[0:v]split=2[L_in][F_in];
[L_in]
crop=226:307:21:74,scale=200x200,setdar=200:200,split=2\
[L_in_0][L_in_1];\
color=#808080:226x307,setpts=PTS-STARTPTS[L_PATCH];\
[F_in][L_PATCH]
overlay=21:74:shortest=1,scale=200x200,setdar=200:200,split=2\
[F_in_0][F_in_1];\
[F_in_0]select='between(t\,32\,212)',select='not(mod(n\,20))',setpts=(PTS-STARTPTS)/20[F_0];\
[F_in_1]select='between(t\,213\,393)',select='not(mod(n\,20))',setpts=(PTS-STARTPTS)/20[F_1];\
[L_in_0]select='between(t\,32\,212)',select='not(mod(n\,20))',setpts=(PTS-STARTPTS)/20[L_0];\
[L_in_1]select='between(t\,213\,393)',select='not(mod(n\,20))',setpts=(PTS-STARTPTS)/20[L_1]\
"\
-map [F_0] -an -sn ./out/jz_10_huron_barstow/F/0_F.mp4\
-map [F_1] -an -sn ./out/jz_10_huron_barstow/F/1_F.mp4\
-map [L_0] -an -sn ./out/jz_10_huron_barstow/L/0_L.mp4\
-map [L_1] -an -sn ./out/jz_10_huron_barstow/L/1_L.mp4\For some reason, 0_F.mp4 is empty and 1_F.mp4 is cropped. My intuition is that it has something to do with applying splitting + overlaying + selecting. I think at some point some filter before select is changing the PTS of the frames in some way select is not properly discarding them, but I honestly don’t know how to solve it. Some insights :
-
L_0 and L_1 are fine (no overlay is used in those two)
-
If I suppress L outputs everything works fine (no "split" is needed at the beginning)
Could someone provide some light ? I don’t really know what else to try.
The logs with loglevel 40 are (some repeated lines ommited) :ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.37)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.1_1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, matroska,webm, from './dataset_test/videos/jz_10_huron_barstow.mkv':
Metadata:
ENCODER : Lavf57.66.104
Duration: 00:24:04.14, start: 0.000000, bitrate: 2117 kb/s
Stream #0:0: Video: h264 (Main), 1 reference frame, yuv420p, 1440x900 (1440x912) [SAR 1:1 DAR 8:5], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Metadata:
ENCODER : Lavc57.83.100 h264_nvenc
DURATION : 00:24:04.102000000
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
ENCODER : Lavc57.83.100 ac3
DURATION : 00:24:04.135000000
[Parsed_scale_2 @ 0x7fdfd2403d20] w:200 h:200 flags:'bilinear' interl:0
[Parsed_setdar_3 @ 0x7fdfd240ad80] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_color_5 @ 0x7fdfd24096a0] size:226x307 rate:25/1 duration:-1.000000 sar:1/1
[Parsed_scale_8 @ 0x7fdfd24092c0] w:200 h:200 flags:'bilinear' interl:0
[Parsed_setdar_9 @ 0x7fdfd240b360] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_scale_2 @ 0x7fdfd2509b00] w:200 h:200 flags:'bilinear' interl:0
[Parsed_setdar_3 @ 0x7fdfd25092c0] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_color_5 @ 0x7fdfd250a520] size:226x307 rate:25/1 duration:-1.000000 sar:1/1
[Parsed_scale_8 @ 0x7fdfd250b620] w:200 h:200 flags:'bilinear' interl:0
[Parsed_setdar_9 @ 0x7fdfd250a960] num:den syntax is deprecated, please use num/den or named options instead
[graph 0 input from stream 0:0 @ 0x7fdfd2511360] w:1440 h:900 pixfmt:yuv420p tb:1/1000 fr:30/1 sar:1/1 sws_param:flags=2
[Parsed_crop_1 @ 0x7fdfd2509c80] w:1440 h:900 sar:1/1 -> w:226 h:306 sar:1/1
[Parsed_scale_2 @ 0x7fdfd2509b00] w:226 h:306 fmt:yuv420p sar:1/1 -> w:200 h:200 fmt:yuv420p sar:113/153 flags:0x2
[Parsed_setdar_3 @ 0x7fdfd25092c0] w:200 h:200 dar:113/153 sar:113/153 -> dar:1/1 sar:1/1
[Parsed_select_21 @ 0x7fdfd250a760] TB:0.001000 FRAME_RATE:30.000000 SAMPLE_RATE:nan
[Parsed_select_18 @ 0x7fdfd250a080] TB:0.001000 FRAME_RATE:30.000000 SAMPLE_RATE:nan
[Parsed_color_5 @ 0x7fdfd250a520] TB:0.040000 FRAME_RATE:25.000000 SAMPLE_RATE:nan
[Parsed_overlay_7 @ 0x7fdfd250b020] main w:1440 h:900 fmt:yuv420p overlay w:226 h:306 fmt:yuva420p eof_action:endall
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Selected 1/1000 time base
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Sync level 2
[Parsed_scale_8 @ 0x7fdfd250b620] w:1440 h:900 fmt:yuv420p sar:1/1 -> w:200 h:200 fmt:yuv420p sar:8/5 flags:0x2
[Parsed_setdar_9 @ 0x7fdfd250a960] w:200 h:200 dar:8/5 sar:8/5 -> dar:1/1 sar:1/1
[Parsed_select_15 @ 0x7fdfd250dd00] TB:0.001000 FRAME_RATE:30.000000 SAMPLE_RATE:nan
[Parsed_select_12 @ 0x7fdfd250ca60] TB:0.001000 FRAME_RATE:30.000000 SAMPLE_RATE:nan
[libx264 @ 0x7fdfd4005e00] using SAR=1/1
[libx264 @ 0x7fdfd4005e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fdfd4005e00] profile High, level 1.2
[libx264 @ 0x7fdfd4005e00] 264 - core 148 r2601 a0cd7d3 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=6 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x7fdfd400f600] using SAR=1/1
[libx264 @ 0x7fdfd400f600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fdfd400f600] profile High, level 1.2
[libx264 @ 0x7fdfd400f600] 264 - core 148 r2601 a0cd7d3 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=6 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x7fdfd4018e00] using SAR=1/1
[libx264 @ 0x7fdfd4018e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fdfd4018e00] profile High, level 1.2
[libx264 @ 0x7fdfd4018e00] 264 - core 148 r2601 a0cd7d3 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=6 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x7fdfd4022600] using SAR=1/1
[libx264 @ 0x7fdfd4022600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fdfd4022600] profile High, level 1.2
[libx264 @ 0x7fdfd4022600] 264 - core 148 r2601 a0cd7d3 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=6 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to './out/jz_10_huron_barstow/F/0_F.mp4':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: h264 (libx264), -1 reference frame ([33][0][0][0] / 0x0021), yuv420p, 200x200 [SAR 1:1 DAR 1:1], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
Metadata:
encoder : Lavc56.60.100 libx264
Output #1, mp4, to './out/jz_10_huron_barstow/F/1_F.mp4':
Metadata:
encoder : Lavf56.40.101
Stream #1:0: Video: h264 (libx264), -1 reference frame ([33][0][0][0] / 0x0021), yuv420p, 200x200 [SAR 1:1 DAR 1:1], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
Metadata:
encoder : Lavc56.60.100 libx264
Output #2, mp4, to './out/jz_10_huron_barstow/L/0_L.mp4':
Metadata:
encoder : Lavf56.40.101
Stream #2:0: Video: h264 (libx264), -1 reference frame ([33][0][0][0] / 0x0021), yuv420p, 200x200 [SAR 1:1 DAR 1:1], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
Metadata:
encoder : Lavc56.60.100 libx264
Output #3, mp4, to './out/jz_10_huron_barstow/L/1_L.mp4':
Metadata:
encoder : Lavf56.40.101
Stream #3:0: Video: h264 (libx264), -1 reference frame ([33][0][0][0] / 0x0021), yuv420p, 200x200 [SAR 1:1 DAR 1:1], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
Metadata:
encoder : Lavc56.60.100 libx264
Stream mapping:
Stream #0:0 (h264) -> split
setpts -> Stream #0:0 (libx264)
setpts -> Stream #1:0 (libx264)
setpts -> Stream #2:0 (libx264)
setpts -> Stream #3:0 (libx264)
Press [q] to stop, [?] for help
[swscaler @ 0x7fdfd3800000] Warning: data is not aligned! This can lead to a speedloss
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 210 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 262 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 239 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 195 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 211 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 255 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 148 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 174 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 182 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 193 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:00.26 bitrate= 1.4kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 156 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:00.53 bitrate= 0.7kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 154 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:00.76 bitrate= 0.5kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 155 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:01.03 bitrate= 0.4kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 231 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:01.43 bitrate= 0.3kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 260 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:01.86 bitrate= 0.2kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 256 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:02.30 bitrate= 0.2kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 209 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:02.63 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 253 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:03.06 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 160 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:03.33 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 189 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:03.63 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 201 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:03.96 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 251 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:04.40 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 246 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:04.80 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 257 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:05.23 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 258 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:05.66 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 251 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:06.10 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 274 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:06.56 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 282 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.03 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Buffer queue overflow, dropping.
Last message repeated 185 times
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=0.0 q=29.0 q=0.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=29.0 q=29.0 q=29.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=29.0 q=29.0 q=29.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=29.0 q=29.0 q=29.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=29.0 q=29.0 q=29.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
frame= 0 fps=0.0 q=0.0 q=29.0 q=29.0 q=29.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
[…]
frame= 0 fps=0.0 q=0.0 q=29.0 q=29.0 q=29.0 size= 0kB time=00:00:07.26 bitrate= 0.1kbits/s
[Parsed_overlay_7 @ 0x7fdfd250b020] [framesync @ 0x7fdfd250b708] Sync level 1
No more output streams to write to, finishing.
frame= 0 fps=0.0 q=0.0 Lq=-1.0 q=-1.0 q=-1.0 size= 0kB time=00:00:08.93 bitrate= 0.2kbits/s
video:620kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (./dataset_test/videos/jz_10_huron_barstow.mkv):
Input stream #0:0 (video): 43323 packets read (347030822 bytes); 43323 frames decoded;
Input stream #0:1 (audio): 4 packets read (3072 bytes);
Total: 43327 packets (347033894 bytes) demuxed
Output file #0 (./out/jz_10_huron_barstow/F/0_F.mp4):
Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
Total: 0 packets (0 bytes) muxed
Output file #1 (./out/jz_10_huron_barstow/F/1_F.mp4):
Output stream #1:0 (video): 270 frames encoded; 270 packets muxed (309743 bytes);
Total: 270 packets (309743 bytes) muxed
Output file #2 (./out/jz_10_huron_barstow/L/0_L.mp4):
Output stream #2:0 (video): 270 frames encoded; 270 packets muxed (169687 bytes);
Total: 270 packets (169687 bytes) muxed
Output file #3 (./out/jz_10_huron_barstow/L/1_L.mp4):
Output stream #3:0 (video): 270 frames encoded; 270 packets muxed (155502 bytes);
Total: 270 packets (155502 bytes) muxed
[libx264 @ 0x7fdfd400f600] frame I:2 Avg QP:25.08 size: 3204
[libx264 @ 0x7fdfd400f600] frame P:140 Avg QP:26.63 size: 1426
[libx264 @ 0x7fdfd400f600] frame B:128 Avg QP:28.64 size: 805
[libx264 @ 0x7fdfd400f600] consecutive B-frames: 5.2% 94.8% 0.0% 0.0%
[libx264 @ 0x7fdfd400f600] mb I I16..4: 8.6% 62.7% 28.7%
[libx264 @ 0x7fdfd400f600] mb P I16..4: 2.5% 12.5% 3.4% P16..4: 39.2% 21.4% 9.3% 0.0% 0.0% skip:11.6%
[libx264 @ 0x7fdfd400f600] mb B I16..4: 0.5% 4.0% 1.0% B16..8: 36.5% 16.7% 4.0% direct: 5.5% skip:31.8% L0:43.4% L1:46.9% BI: 9.7%
[libx264 @ 0x7fdfd400f600] 8x8 transform intra:68.6% inter:67.7%
[libx264 @ 0x7fdfd400f600] coded y,uvDC,uvAC intra: 63.1% 48.6% 17.9% inter: 34.5% 21.1% 3.6%
[libx264 @ 0x7fdfd400f600] i16 v,h,dc,p: 24% 23% 12% 41%
[libx264 @ 0x7fdfd400f600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 19% 26% 7% 5% 5% 7% 6% 8%
[libx264 @ 0x7fdfd400f600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 29% 18% 6% 6% 5% 5% 4% 5%
[libx264 @ 0x7fdfd400f600] i8c dc,h,v,p: 63% 21% 14% 3%
[libx264 @ 0x7fdfd400f600] Weighted P-Frames: Y:14.3% UV:1.4%
[libx264 @ 0x7fdfd400f600] ref P L0: 49.2% 20.4% 17.3% 11.2% 1.9%
[libx264 @ 0x7fdfd400f600] ref B L0: 75.4% 24.6%
[libx264 @ 0x7fdfd400f600] kb/s:274.71
[libx264 @ 0x7fdfd4018e00] frame I:2 Avg QP:23.87 size: 2294
[libx264 @ 0x7fdfd4018e00] frame P:133 Avg QP:25.45 size: 864
[libx264 @ 0x7fdfd4018e00] frame B:135 Avg QP:28.99 size: 367
[libx264 @ 0x7fdfd4018e00] consecutive B-frames: 17.4% 38.5% 27.8% 16.3%
[libx264 @ 0x7fdfd4018e00] mb I I16..4: 14.5% 54.1% 31.4%
[libx264 @ 0x7fdfd4018e00] mb P I16..4: 6.4% 9.6% 2.1% P16..4: 33.3% 16.7% 5.9% 0.0% 0.0% skip:26.0%
[libx264 @ 0x7fdfd4018e00] mb B I16..4: 1.6% 2.0% 0.3% B16..8: 29.6% 9.3% 1.4% direct: 2.2% skip:53.6% L0:41.9% L1:51.4% BI: 6.7%
[libx264 @ 0x7fdfd4018e00] 8x8 transform intra:52.8% inter:73.8%
[libx264 @ 0x7fdfd4018e00] coded y,uvDC,uvAC intra: 40.7% 41.7% 8.9% inter: 20.7% 16.6% 0.2%
[libx264 @ 0x7fdfd4018e00] i16 v,h,dc,p: 22% 50% 8% 21%
[libx264 @ 0x7fdfd4018e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 30% 23% 6% 2% 2% 5% 5% 9%
[libx264 @ 0x7fdfd4018e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 29% 14% 5% 3% 4% 5% 6% 5%
[libx264 @ 0x7fdfd4018e00] i8c dc,h,v,p: 62% 23% 12% 3%
[libx264 @ 0x7fdfd4018e00] Weighted P-Frames: Y:1.5% UV:0.8%
[libx264 @ 0x7fdfd4018e00] ref P L0: 56.1% 15.8% 17.7% 10.2% 0.1%
[libx264 @ 0x7fdfd4018e00] ref B L0: 75.4% 20.8% 3.9%
[libx264 @ 0x7fdfd4018e00] ref B L1: 92.6% 7.4%
[libx264 @ 0x7fdfd4018e00] kb/s:150.22
[libx264 @ 0x7fdfd4022600] frame I:2 Avg QP:23.86 size: 2208
[libx264 @ 0x7fdfd4022600] frame P:139 Avg QP:24.90 size: 784
[libx264 @ 0x7fdfd4022600] frame B:129 Avg QP:28.25 size: 322
[libx264 @ 0x7fdfd4022600] consecutive B-frames: 17.8% 50.4% 15.6% 16.3%
[libx264 @ 0x7fdfd4022600] mb I I16..4: 15.7% 53.3% 31.1%
[libx264 @ 0x7fdfd4022600] mb P I16..4: 8.3% 9.9% 1.5% P16..4: 33.8% 14.8% 5.0% 0.0% 0.0% skip:26.7%
[libx264 @ 0x7fdfd4022600] mb B I16..4: 1.6% 1.8% 0.1% B16..8: 28.8% 8.2% 1.1% direct: 2.1% skip:56.4% L0:45.5% L1:47.6% BI: 6.9%
[libx264 @ 0x7fdfd4022600] 8x8 transform intra:50.6% inter:75.8%
[libx264 @ 0x7fdfd4022600] coded y,uvDC,uvAC intra: 34.0% 44.3% 10.0% inter: 18.8% 17.9% 0.4%
[libx264 @ 0x7fdfd4022600] i16 v,h,dc,p: 18% 54% 8% 20%
[libx264 @ 0x7fdfd4022600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 28% 26% 6% 2% 2% 4% 5% 8%
[libx264 @ 0x7fdfd4022600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 31% 14% 4% 2% 2% 3% 7% 5%
[libx264 @ 0x7fdfd4022600] i8c dc,h,v,p: 60% 25% 13% 2%
[libx264 @ 0x7fdfd4022600] Weighted P-Frames: Y:2.2% UV:0.7%
[libx264 @ 0x7fdfd4022600] ref P L0: 57.9% 16.8% 16.1% 8.9% 0.2%
[libx264 @ 0x7fdfd4022600] ref B L0: 76.5% 21.0% 2.5%
[libx264 @ 0x7fdfd4022600] ref B L1: 95.0% 5.0%
[libx264 @ 0x7fdfd4022600] kb/s:137.61 -
-
Replicate the format of a video to another
10 octobre 2017, par BasjLet’s say I have :
-
video1.aviwhich is perfectly played (both sound and image) on my TV’s USB media input -
video2.aviwhich is not recognized by the TV : "Imposible to read this format"
I have tried lots of solutions, like :
ffmpeg -i video2.avi -codec:a libmp3lame -q:a 0 -ac 2 -ar 48000 -joint_stereo 0^
-codec:v libxvid -q:v 25 video2_reencoded.aviand when I compare
video1.aviwithvideo2_reencoded.aviwith MediaInfo, they look similar in most aspects, but finally the TV won’t playvideo2_reencoded.avi.Is there a way with
ffmpeg, to replicate all the specifications ofvideo1.avi(sound encoding properties, video encoding properties, image size, container type, etc.) onvideo2.avi?
Appendix : output of MediaInfo for the three videos. In this specific example,
video2.aviandvideo2_reencoded.aviare half-working : image ok but not the sound. In other video examples I tried,video2.aviandvideo2_reencoded.aviwould be both totally "Impossible to read".video1.avi(i.e. working)Format : AVI
Format/Info : Audio Video Interleave
File size : 352 MiB
Duration : 51 min 22 s
Overall bit rate : 959 kb/s
Writing application : VirtualDubMod 1.5.10.3 | ... || (build 2550/release)
Writing library : VirtualDubMod build 2550/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (MPEG)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 51 min 22 s
Bit rate : 821 kb/s
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.114
Stream size : 302 MiB (86%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 51 min 22 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Compression mode : Lossy
Stream size : 47.0 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 504 ms
Writing library : LAME3.99r
Encoding settings : -m s -V 4 -q 2 -lowpass 17 -b 128video2.avi(i.e. non-working)Format : AVI
Format/Info : Audio Video Interleave
File size : 1.37 GiB
Duration : 2 h 12 min
Overall bit rate : 1 478 kb/s
Writing application : VirtualDubMod 1.5.10.2 Fr | ... || (build 2540/release)
Writing library : VirtualDubMod build 2540/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2 h 12 min
Bit rate : 1 084 kb/s
Width : 624 pixels
Height : 368 pixels
Display aspect ratio : 5:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.189
Stream size : 1.00 GiB (73%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : 2000
Duration : 2 h 12 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Sampling rate : 48.0 kHz
Compression mode : Lossy
Stream size : 364 MiB (26%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 512 msvideo2_reencoded.avi(i.e. non-working, reencoded, but still non-working)Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 1.13 GiB
Duration : 2 h 12 min
Overall bit rate : 1 227 kb/s
Writing application : Lavf57.26.100
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2 h 12 min
Bit rate : 1 084 kb/s
Width : 624 pixels
Height : 368 pixels
Display aspect ratio : 5:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.189
Stream size : 1.00 GiB (88%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 2 h 12 min
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Compression mode : Lossy
Stream size : 120 MiB (10%)
Alignment : Aligned on interleaves
Interleave, duration : 24 ms (0.60 video frame) -