
Recherche avancée
Autres articles (32)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (6121)
-
ffmpeg blend to exclude the top videos background
2 février 2016, par user2995705I want to blend two videos, the top video named "top.mp4" was combined with some PNG files,but the combined video’s background was black ? why ?
then i try to overlay the top.mp4 on another video (named bottom.mp4,was capture by android camera with QUALITY_480P)
but when I use Overlay filter i find the top.mp4 was not transparent and have a black background on the result.mp4.
I try to use blend filter to combine top.mp4 and bottom.mp4 to exclude the top.mp4’s black background , but i don’t know how to use the blend filter.
here is my question :
1.is it possible to combine PNG files to a video and the video has transparent background ? and then just use overlay filter,the result.mp4 will not have a black mask under the top.mp4 ?2.if 1 is impossible, how to blend top.mp4 and bottom.mp4 to exclude the black background of top.mp4
my all output log
02-02 19:34:04.300 7979-18573/com.demo D/LLLLLLLLLL: /data/data/com.demo/app_bin/ffmpeg -i /storage/sdcard0/baishiMagic/magic/waterfall/waterfall/waterfall_%04d.png -r 25 -vcodec copy -preset ultrafast -y /storage/sdcard0/baishiMagic/temp/anim1.mov
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: built on Oct 7 2014 15:05:17 with gcc 4.8 (GCC)
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libavutil 54. 7.100 / 54. 7.100
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libavcodec 56. 1.100 / 56. 1.100
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libavformat 56. 4.101 / 56. 4.101
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libavdevice 56. 0.100 / 56. 0.100
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libavfilter 5. 1.100 / 5. 1.100
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libswscale 3. 0.100 / 3. 0.100
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libswresample 1. 1.100 / 1. 1.100
02-02 19:34:04.345 7979-18576/com.demo D/LLLLLLLLLL: libpostproc 53. 0.100 / 53. 0.100
02-02 19:34:04.460 7979-18576/com.demo D/LLLLLLLLLL: Input #0, image2, from '/storage/sdcard0/baishiMagic/magic/waterfall/waterfall/waterfall_%04d.png':
02-02 19:34:04.460 7979-18576/com.demo D/LLLLLLLLLL: Duration: 00:00:08.00, start: 0.000000, bitrate: N/A
02-02 19:34:04.460 7979-18576/com.demo D/LLLLLLLLLL: Stream #0:0: Video: png, rgba, 480x640 [SAR 3779:3779 DAR 3:4], 25 fps, 25 tbr, 25 tbn, 25 tbc
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: Output #0, mov, to '/storage/sdcard0/baishiMagic/temp/anim1.mov':
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: encoder : Lavf56.4.101
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: Stream #0:0: Video: png (png / 0x20676E70), rgba, 480x640 [SAR 3779:3779 DAR 3:4], q=2-31, 25 fps, 12800 tbn, 25 tbc
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: Stream mapping:
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: Stream #0:0 -> #0:0 (copy)
02-02 19:34:04.470 7979-18576/com.demo D/LLLLLLLLLL: Press [q] to stop, [?] for help
02-02 19:34:05.565 7979-18576/com.demo D/LLLLLLLLLL: frame= 46 fps=0.0 q=-1.0 size= 12339kB time=00:00:01.84 bitrate=54936.1kbits/s
02-02 19:34:06.070 7979-18576/com.demo D/LLLLLLLLLL: frame= 59 fps= 56 q=-1.0 size= 22617kB time=00:00:02.36 bitrate=78509.1kbits/s
02-02 19:34:06.580 7979-18576/com.demo D/LLLLLLLLLL: frame= 71 fps= 45 q=-1.0 size= 32451kB time=00:00:02.84 bitrate=93605.9kbits/s
02-02 19:34:07.095 7979-18576/com.demo D/LLLLLLLLLL: frame= 88 fps= 42 q=-1.0 size= 42163kB time=00:00:03.52 bitrate=98124.1kbits/s
02-02 19:34:07.610 7979-18576/com.demo D/LLLLLLLLLL: frame= 109 fps= 42 q=-1.0 size= 52919kB time=00:00:04.36 bitrate=99428.7kbits/s
02-02 19:34:08.095 7979-18576/com.demo D/LLLLLLLLLL: frame= 128 fps= 41 q=-1.0 size= 64222kB time=00:00:05.12 bitrate=102755.2kbits/s
02-02 19:34:08.270 7979-18576/com.demo D/LLLLLLLLLL: frame= 160 fps= 44 q=-1.0 size= 74397kB time=00:00:06.40 bitrate=95227.6kbits/s
02-02 19:34:08.270 7979-18576/com.demo D/LLLLLLLLLL: frame= 200 fps= 53 q=-1.0 Lsize= 77598kB time=00:00:08.00 bitrate=79460.4kbits/s
02-02 19:34:08.270 7979-18576/com.demo D/LLLLLLLLLL: video:77596kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002606%
02-02 19:34:08.270 7979-18573/com.demo D/LLLLLLLLLL: 图片合成,exitValue=0
02-02 19:34:08.295 7979-18573/com.demo D/LLLLLLLLLL: /data/data/com.demo/app_bin/ffmpeg -i /storage/sdcard0/baishiMagic/magic/waterfall/fish_isolate/fish_%04d.png -r 25 -vcodec copy -preset ultrafast -y /storage/sdcard0/baishiMagic/temp/anim2.mov
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: built on Oct 7 2014 15:05:17 with gcc 4.8 (GCC)
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libavutil 54. 7.100 / 54. 7.100
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libavcodec 56. 1.100 / 56. 1.100
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libavformat 56. 4.101 / 56. 4.101
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libavdevice 56. 0.100 / 56. 0.100
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libavfilter 5. 1.100 / 5. 1.100
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libswscale 3. 0.100 / 3. 0.100
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libswresample 1. 1.100 / 1. 1.100
02-02 19:34:08.325 7979-18674/com.demo D/LLLLLLLLLL: libpostproc 53. 0.100 / 53. 0.100
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Input #0, image2, from '/storage/sdcard0/baishiMagic/magic/waterfall/fish_isolate/fish_%04d.png':
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Duration: 00:00:08.00, start: 0.000000, bitrate: N/A
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Stream #0:0: Video: png, rgba, 480x640 [SAR 3779:3779 DAR 3:4], 25 fps, 25 tbr, 25 tbn, 25 tbc
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Output #0, mov, to '/storage/sdcard0/baishiMagic/temp/anim2.mov':
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: encoder : Lavf56.4.101
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Stream #0:0: Video: png (png / 0x20676E70), rgba, 480x640 [SAR 3779:3779 DAR 3:4], q=2-31, 25 fps, 12800 tbn, 25 tbc
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Stream mapping:
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Stream #0:0 -> #0:0 (copy)
02-02 19:34:08.410 7979-18674/com.demo D/LLLLLLLLLL: Press [q] to stop, [?] for help
02-02 19:34:08.750 7979-18674/com.demo D/LLLLLLLLLL: frame= 200 fps=0.0 q=-1.0 Lsize= 6606kB time=00:00:08.00 bitrate=6764.2kbits/s
02-02 19:34:08.750 7979-18674/com.demo D/LLLLLLLLLL: video:6604kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.023112%
02-02 19:34:08.750 7979-18573/com.demo D/LLLLLLLLLL: 图片合成,exitValue=0
02-02 19:34:08.780 7979-18573/com.demo D/LLLLLLLLLL: /data/data/com.demo/app_bin/ffmpeg -y -i /storage/sdcard0/baishiMagic/temp/video1454412829452.mp4 -r 25 -i /storage/sdcard0/baishiMagic/temp/anim1.mov -i /storage/sdcard0/baishiMagic/temp/anim2.mov -i /storage/sdcard0/frame.ts -filter_complex transpose=1,crop=480:640:0:40,overlay=0:0:0,overlay=-2:-2:0,overlay=0:0:0 -preset ultrafast -strict -2 /storage/sdcard0/baishiMagic/result.mp4
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: built on Oct 7 2014 15:05:17 with gcc 4.8 (GCC)
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libavutil 54. 7.100 / 54. 7.100
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libavcodec 56. 1.100 / 56. 1.100
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libavformat 56. 4.101 / 56. 4.101
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libavdevice 56. 0.100 / 56. 0.100
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libavfilter 5. 1.100 / 5. 1.100
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libswscale 3. 0.100 / 3. 0.100
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libswresample 1. 1.100 / 1. 1.100
02-02 19:34:08.810 7979-18716/com.demo D/LLLLLLLLLL: libpostproc 53. 0.100 / 53. 0.100
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/baishiMagic/temp/video1454412829452.mp4':
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: major_brand : isom
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: minor_version : 0
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: compatible_brands: isom3gp4
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: creation_time : 2016-02-02 11:33:58
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Duration: 00:00:07.64, start: 0.000000, bitrate: 3099 kb/s
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 3074 kb/s, SAR 1:1 DAR 4:3, 29.82 fps, 30 tbr, 90k tbn, 180k tbc (default)
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: rotate : 180
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: creation_time : 2016-02-02 11:33:58
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: handler_name : VideoHandle
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: encoder :
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Side data:
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: displaymatrix: rotation of 180.00 degrees
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 124 kb/s (default)
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: creation_time : 2016-02-02 11:33:58
02-02 19:34:08.870 7979-18716/com.demo D/LLLLLLLLLL: handler_name : SoundHandle
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/baishiMagic/temp/anim1.mov':
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: major_brand : qt
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: minor_version : 512
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: compatible_brands: qt
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: encoder : Lavf56.4.101
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: Duration: 00:00:08.00, start: 0.000000, bitrate: 79460 kb/s
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: Stream #1:0(eng): Video: png (png / 0x20676E70), rgba, 480x640 [SAR 3779:3779 DAR 3:4], 79458 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.920 7979-18716/com.demo D/LLLLLLLLLL: handler_name : DataHandler
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/baishiMagic/temp/anim2.mov':
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: major_brand : qt
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: minor_version : 512
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: compatible_brands: qt
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: encoder : Lavf56.4.101
02-02 19:34:08.950 7979-18716/com.demo D/LLLLLLLLLL: Duration: 00:00:08.00, start: 0.000000, bitrate: 6764 kb/s
02-02 19:34:08.955 7979-18716/com.demo D/LLLLLLLLLL: Stream #2:0(eng): Video: png (png / 0x20676E70), rgba, 480x640 [SAR 3779:3779 DAR 3:4], 6762 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
02-02 19:34:08.955 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.955 7979-18716/com.demo D/LLLLLLLLLL: handler_name : DataHandler
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: Input #3, mpegts, from '/storage/sdcard0/frame.ts':
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: Duration: 00:00:05.13, start: 1.533333, bitrate: 1006 kb/s
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: Program 1
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: service_name : Service01
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: service_provider: FFmpeg
02-02 19:34:08.985 7979-18716/com.demo D/LLLLLLLLLL: Stream #3:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 480x480 [SAR 1:1 DAR 1:1], 15 fps, 15 tbr, 90k tbn, 30 tbc
02-02 19:34:09.000 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] using SAR=1/1
02-02 19:34:09.020 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] using cpu capabilities: none!
02-02 19:34:09.115 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] profile Constrained Baseline, level 3.0
02-02 19:34:09.115 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 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=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
02-02 19:34:09.170 7979-18716/com.demo D/LLLLLLLLLL: Output #0, mp4, to '/storage/sdcard0/baishiMagic/result.mp4':
02-02 19:34:09.170 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:09.170 7979-18716/com.demo D/LLLLLLLLLL: major_brand : isom
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: minor_version : 0
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: compatible_brands: isom3gp4
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: encoder : Lavf56.4.101
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 480x640 [SAR 1:1 DAR 3:4], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: encoder : Lavc56.1.100 libx264
02-02 19:34:09.175 7979-18716/com.demo D/LLLLLLLLLL: Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, mono, fltp, 128 kb/s (default)
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Metadata:
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: creation_time : 2016-02-02 11:33:58
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: handler_name : SoundHandle
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: encoder : Lavc56.1.100 aac
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Stream mapping:
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Stream #0:0 (h264) -> transpose (graph 0)
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Stream #1:0 (png) -> overlay:overlay (graph 0)
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Stream #2:0 (png) -> overlay:overlay (graph 0)
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Stream #3:0 (h264) -> overlay:overlay (graph 0)
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: overlay (graph 0) -> Stream #0:0 (libx264)
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Stream #0:1 -> #0:1 (aac (native) -> aac (native))
02-02 19:34:09.180 7979-18716/com.demo D/LLLLLLLLLL: Press [q] to stop, [?] for help
02-02 19:34:10.250 7979-18716/com.demo D/LLLLLLLLLL: frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:01.00 bitrate= 0.4kbits/s
02-02 19:34:10.745 7979-18716/com.demo D/LLLLLLLLLL: frame= 6 fps=5.9 q=0.0 size= 0kB time=00:00:01.00 bitrate= 0.4kbits/s
02-02 19:34:11.295 7979-18716/com.demo D/LLLLLLLLLL: frame= 11 fps=7.1 q=19.0 size= 11kB time=00:00:01.00 bitrate= 92.1kbits/s
02-02 19:34:11.760 7979-18716/com.demo D/LLLLLLLLLL: frame= 16 fps=7.7 q=19.0 size= 24kB time=00:00:01.00 bitrate= 199.3kbits/s
02-02 19:34:12.335 7979-18716/com.demo D/LLLLLLLLLL: frame= 22 fps=8.5 q=20.0 size= 39kB time=00:00:01.00 bitrate= 319.8kbits/s
02-02 19:34:12.870 7979-18716/com.demo D/LLLLLLLLLL: frame= 28 fps=9.0 q=19.0 size= 58kB time=00:00:01.00 bitrate= 475.7kbits/s
02-02 19:34:13.345 7979-18716/com.demo D/LLLLLLLLLL: frame= 30 fps=8.3 q=20.0 size= 63kB time=00:00:02.00 bitrate= 258.6kbits/s
02-02 19:34:13.935 7979-18716/com.demo D/LLLLLLLLLL: frame= 34 fps=8.2 q=20.0 size= 74kB time=00:00:02.00 bitrate= 300.8kbits/s
02-02 19:34:14.480 7979-18716/com.demo D/LLLLLLLLLL: frame= 39 fps=8.2 q=20.0 size= 87kB time=00:00:02.00 bitrate= 354.0kbits/s
02-02 19:34:15.015 7979-18716/com.demo D/LLLLLLLLLL: frame= 43 fps=8.2 q=20.0 size= 98kB time=00:00:02.00 bitrate= 400.4kbits/s
02-02 19:34:15.515 7979-18716/com.demo D/LLLLLLLLLL: frame= 48 fps=8.3 q=21.0 size= 112kB time=00:00:02.00 bitrate= 459.5kbits/s
02-02 19:34:16.015 7979-18716/com.demo D/LLLLLLLLLL: frame= 54 fps=8.5 q=24.0 size= 137kB time=00:00:02.00 bitrate= 557.9kbits/s
02-02 19:34:16.575 7979-18716/com.demo D/LLLLLLLLLL: frame= 58 fps=8.5 q=24.0 size= 169kB time=00:00:02.19 bitrate= 628.2kbits/s
02-02 19:34:17.090 7979-18716/com.demo D/LLLLLLLLLL: frame= 60 fps=8.2 q=24.0 size= 189kB time=00:00:03.00 bitrate= 515.4kbits/s
02-02 19:34:17.605 7979-18716/com.demo D/LLLLLLLLLL: frame= 65 fps=8.3 q=23.0 size= 228kB time=00:00:03.00 bitrate= 621.7kbits/s
02-02 19:34:18.090 7979-18716/com.demo D/LLLLLLLLLL: frame= 70 fps=8.4 q=24.0 size= 269kB time=00:00:03.00 bitrate= 731.7kbits/s
02-02 19:34:18.655 7979-18716/com.demo D/LLLLLLLLLL: frame= 76 fps=8.5 q=25.0 size= 320kB time=00:00:03.00 bitrate= 870.6kbits/s
02-02 19:34:19.115 7979-18716/com.demo D/LLLLLLLLLL: frame= 82 fps=8.7 q=25.0 size= 374kB time=00:00:03.00 bitrate=1019.4kbits/s
02-02 19:34:19.620 7979-18716/com.demo D/LLLLLLLLLL: frame= 87 fps=8.8 q=24.0 size= 419kB time=00:00:03.00 bitrate=1142.2kbits/s
02-02 19:34:20.120 7979-18716/com.demo D/LLLLLLLLLL: frame= 89 fps=8.5 q=22.0 size= 434kB time=00:00:04.01 bitrate= 885.6kbits/s
02-02 19:34:20.685 7979-18716/com.demo D/LLLLLLLLLL: frame= 94 fps=8.6 q=22.0 size= 464kB time=00:00:04.01 bitrate= 947.8kbits/s
02-02 19:34:21.155 7979-18716/com.demo D/LLLLLLLLLL: frame= 100 fps=8.7 q=22.0 size= 495kB time=00:00:04.01 bitrate=1010.7kbits/s
02-02 19:34:21.685 7979-18716/com.demo D/LLLLLLLLLL: frame= 105 fps=8.8 q=22.0 size= 523kB time=00:00:04.01 bitrate=1067.3kbits/s
02-02 19:34:22.180 7979-18716/com.demo D/LLLLLLLLLL: frame= 110 fps=8.8 q=22.0 size= 551kB time=00:00:04.01 bitrate=1125.1kbits/s
02-02 19:34:22.685 7979-18716/com.demo D/LLLLLLLLLL: frame= 115 fps=8.9 q=22.0 size= 576kB time=00:00:04.01 bitrate=1176.9kbits/s
02-02 19:34:23.200 7979-18716/com.demo D/LLLLLLLLLL: frame= 118 fps=8.7 q=21.0 size= 592kB time=00:00:04.92 bitrate= 984.3kbits/s
02-02 19:34:23.715 7979-18716/com.demo D/LLLLLLLLLL: frame= 123 fps=8.8 q=22.0 size= 619kB time=00:00:05.01 bitrate=1011.1kbits/s
02-02 19:34:24.265 7979-18716/com.demo D/LLLLLLLLLL: frame= 127 fps=8.7 q=22.0 size= 638kB time=00:00:05.01 bitrate=1042.8kbits/s
02-02 19:34:24.765 7979-18716/com.demo D/LLLLLLLLLL: frame= 131 fps=8.7 q=23.0 size= 658kB time=00:00:05.01 bitrate=1074.5kbits/s
02-02 19:34:25.310 7979-18716/com.demo D/LLLLLLLLLL: frame= 137 fps=8.8 q=23.0 size= 700kB time=00:00:05.01 bitrate=1143.7kbits/s
02-02 19:34:25.800 7979-18716/com.demo D/LLLLLLLLLL: frame= 142 fps=8.8 q=23.0 size= 736kB time=00:00:05.01 bitrate=1202.2kbits/s
02-02 19:34:26.345 7979-18716/com.demo D/LLLLLLLLLL: frame= 147 fps=8.8 q=24.0 size= 771kB time=00:00:05.14 bitrate=1229.1kbits/s
02-02 19:34:26.895 7979-18716/com.demo D/LLLLLLLLLL: frame= 150 fps=8.7 q=24.0 size= 798kB time=00:00:06.01 bitrate=1086.7kbits/s
02-02 19:34:27.385 7979-18716/com.demo D/LLLLLLLLLL: frame= 156 fps=8.8 q=24.0 size= 847kB time=00:00:06.01 bitrate=1153.9kbits/s
02-02 19:34:27.895 7979-18716/com.demo D/LLLLLLLLLL: frame= 161 fps=8.9 q=23.0 size= 886kB time=00:00:06.01 bitrate=1206.2kbits/s
02-02 19:34:28.455 7979-18716/com.demo D/LLLLLLLLLL: frame= 167 fps=8.9 q=23.0 size= 927kB time=00:00:06.01 bitrate=1261.6kbits/s
02-02 19:34:28.905 7979-18716/com.demo D/LLLLLLLLLL: frame= 173 fps=9.0 q=23.0 size= 964kB time=00:00:06.01 bitrate=1312.4kbits/s
02-02 19:34:29.440 7979-18716/com.demo D/LLLLLLLLLL: frame= 177 fps=9.0 q=23.0 size= 987kB time=00:00:06.20 bitrate=1302.9kbits/s
02-02 19:34:29.995 7979-18716/com.demo D/LLLLLLLLLL: frame= 180 fps=8.9 q=23.0 size= 1008kB time=00:00:07.01 bitrate=1176.9kbits/s
02-02 19:34:30.490 7979-18716/com.demo D/LLLLLLLLLL: frame= 186 fps=9.0 q=21.0 size= 1048kB time=00:00:07.01 bitrate=1223.3kbits/s
02-02 19:34:31.015 7979-18716/com.demo D/LLLLLLLLLL: frame= 191 fps=9.0 q=19.0 size= 1076kB time=00:00:07.01 bitrate=1255.5kbits/s
02-02 19:34:31.495 7979-18716/com.demo D/LLLLLLLLLL: frame= 197 fps=9.0 q=18.0 size= 1103kB time=00:00:07.01 bitrate=1287.1kbits/s
02-02 19:34:32.040 7979-18716/com.demo D/LLLLLLLLLL: frame= 202 fps=9.1 q=19.0 size= 1119kB time=00:00:07.01 bitrate=1306.5kbits/s
02-02 19:34:32.555 7979-18716/com.demo D/LLLLLLLLLL: frame= 207 fps=9.1 q=20.0 size= 1138kB time=00:00:07.01 bitrate=1328.1kbits/s
02-02 19:34:33.140 7979-18716/com.demo D/LLLLLLLLLL: frame= 213 fps=9.1 q=19.0 size= 1161kB time=00:00:07.01 bitrate=1354.7kbits/s
02-02 19:34:33.695 7979-18716/com.demo D/LLLLLLLLLL: frame= 217 fps=9.1 q=19.0 size= 1176kB time=00:00:07.59 bitrate=1268.3kbits/s
02-02 19:34:34.205 7979-18716/com.demo D/LLLLLLLLLL: frame= 222 fps=9.1 q=19.0 size= 1195kB time=00:00:07.59 bitrate=1288.8kbits/s dup=0 drop=4
02-02 19:34:34.720 7979-18716/com.demo D/LLLLLLLLLL: frame= 222 fps=8.9 q=19.0 size= 1195kB time=00:00:07.59 bitrate=1288.8kbits/s dup=0 drop=13
02-02 19:34:35.075 7979-18716/com.demo D/LLLLLLLLLL: frame= 222 fps=8.7 q=19.0 size= 1195kB time=00:00:07.59 bitrate=1288.8kbits/s dup=0 drop=24
02-02 19:34:35.075 7979-18716/com.demo D/LLLLLLLLLL: frame= 222 fps=8.6 q=-1.0 Lsize= 1233kB time=00:00:07.63 bitrate=1322.5kbits/s dup=0 drop=30
02-02 19:34:35.075 7979-18716/com.demo D/LLLLLLLLLL: video:1104kB audio:122kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.615799%
02-02 19:34:35.095 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] frame I:1 Avg QP:20.00 size: 5784
02-02 19:34:35.095 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] frame P:221 Avg QP:21.62 size: 5084
02-02 19:34:35.095 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] mb I I16..4: 100.0% 0.0% 0.0%
02-02 19:34:35.095 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] mb P I16..4: 17.6% 0.0% 0.0% P16..4: 21.8% 0.0% 0.0% 0.0% 0.0% skip:60.5%
02-02 19:34:35.100 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] coded y,uvDC,uvAC intra: 36.9% 18.1% 2.2% inter: 13.0% 7.3% 0.1%
02-02 19:34:35.100 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] i16 v,h,dc,p: 27% 30% 24% 19%
02-02 19:34:35.100 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] i8c dc,h,v,p: 57% 22% 17% 3%
02-02 19:34:35.100 7979-18716/com.demo D/LLLLLLLLLL: [libx264 @ 0x2b447ef0] kb/s:1221.00
02-02 19:34:35.110 7979-18573/com.demo D/LLLLLLLLLL: 视频处理,exitValue=0 -
ffmpeg how to ignore (skip) errors when concatenate and speed up multiple video files
3 avril 2016, par user1767834I’m trying to concatenate many files from my car DVR but some time ffmpeg fails with "Invalid argument" error.
My list of files in cf.txt looks like :file '2016_0403_170004_098.MOV'
file '2016_0403_170459_099.MOV'
file '2016_0403_170630_100.MOV'
...And I run ffmpeg using next command :
ffmpeg -f concat -i cf.txt -qscale:v 0 -filter:v "setpts=0.05*PTS" -an e:\MOVIE\all.mov
After some outputs ffmpeg crushes with message :
Output #0, mov, to 'e:\MOVIE\all.mov':
Metadata:
encoder : Lavf56.40.101
Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1
080, q=-1--1, 30 fps, 15360 tbn, 30 tbc
Metadata:
creation_time : 2016-04-03 17:06:27
handler_name : DataHandler
encoder : Lavc56.60.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
Past duration 0.924995 too large
frame= 8 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 13 fps= 13 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 16 fps= 10 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 20 fps=9.8 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 24 fps=9.4 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 28 fps=9.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 33 fps=9.1 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 38 fps=9.2 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 44 fps=9.5 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 48 fps=9.4 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 dro
frame= 53 fps=9.2 q=29.0 size= 350kB time=00:00:00.03 bitrate=85986.4kbits
frame= 58 fps=9.2 q=29.0 size= 1195kB time=00:00:00.20 bitrate=48953.0kbits
frame= 62 fps=9.1 q=29.0 size= 1959kB time=00:00:00.33 bitrate=48146.4kbits
frame= 67 fps=9.1 q=29.0 size= 2607kB time=00:00:00.50 bitrate=42707.9kbits
frame= 71 fps=9.0 q=29.0 size= 3136kB time=00:00:00.63 bitrate=40565.1kbits
frame= 76 fps=9.0 q=29.0 size= 3817kB time=00:00:00.80 bitrate=39088.0kbits
frame= 81 fps=9.1 q=29.0 size= 4361kB time=00:00:00.96 bitrate=36957.1kbits
frame= 87 fps=9.2 q=29.0 size= 5093kB time=00:00:01.16 bitrate=35764.3kbits
frame= 92 fps=9.3 q=29.0 size= 5748kB time=00:00:01.33 bitrate=35315.2kbits
frame= 97 fps=9.3 q=29.0 size= 6332kB time=00:00:01.50 bitrate=34579.5kbits
frame= 101 fps=9.2 q=29.0 size= 6810kB time=00:00:01.63 bitrate=34154.9kbits
frame= 106 fps=9.3 q=29.0 size= 7534kB time=00:00:01.80 bitrate=34286.2kbits
frame= 111 fps=9.3 q=29.0 size= 8158kB time=00:00:01.96 bitrate=33983.4kbits
frame= 115 fps=9.2 q=29.0 size= 8721kB time=00:00:02.10 bitrate=34021.8kbits
frame= 120 fps=9.3 q=29.0 size= 9405kB time=00:00:02.26 bitrate=33990.6kbits
cf.txt: Invalid argument
Last message repeated 4 times
frame= 124 fps=7.9 q=-1.0 Lsize= 16574kB time=00:00:04.06 bitrate=33386.9kbit
s/s dup=0 drop=1496
video:16572kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.014025%
[libx264 @ 05ab3520] frame I:1 Avg QP:26.62 size:244606
[libx264 @ 05ab3520] frame P:65 Avg QP:27.06 size:173968
[libx264 @ 05ab3520] frame B:58 Avg QP:29.32 size: 93380
[libx264 @ 05ab3520] consecutive B-frames: 6.5% 93.5% 0.0% 0.0%
[libx264 @ 05ab3520] mb I I16..4: 17.6% 60.1% 22.3%
[libx264 @ 05ab3520] mb P I16..4: 3.4% 7.5% 4.8% P16..4: 31.0% 21.3% 17.8%
0.0% 0.0% skip:14.2%
[libx264 @ 05ab3520] mb B I16..4: 0.3% 0.6% 1.9% B16..8: 26.3% 10.8% 6.7%
direct: 6.7% skip:46.7% L0:39.3% L1:33.9% BI:26.8%
[libx264 @ 05ab3520] 8x8 transform intra:45.4% inter:37.9%
[libx264 @ 05ab3520] coded y,uvDC,uvAC intra: 73.1% 54.6% 21.5% inter: 38.7% 28.
0% 5.2%
[libx264 @ 05ab3520] i16 v,h,dc,p: 25% 41% 22% 12%
[libx264 @ 05ab3520] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 17% 27% 6% 4% 5% 5%
8% 8%
[libx264 @ 05ab3520] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 11% 15% 10% 8% 8% 8%
12% 10%
[libx264 @ 05ab3520] i8c dc,h,v,p: 59% 21% 17% 4%
[libx264 @ 05ab3520] Weighted P-Frames: Y:9.2% UV:4.6%
[libx264 @ 05ab3520] ref P L0: 48.5% 15.0% 21.9% 14.2% 0.3%
[libx264 @ 05ab3520] ref B L0: 72.5% 27.5%
[libx264 @ 05ab3520] kb/s:32842.44See line :
cf.txt : Invalid argument
So, I want to ignore this error (and any other if possible) and continue to process the files.
Is it possible ? -
Correct command to transmit audio to ip camera using ffmpeg ?
4 novembre 2016, par the_naiveSo I found some hints in this discussion on the correct command to transmit audio to Axis IP camera through using ffmpeg in windows, but still I have not managed to successfully transmit audio to the camera.
The command I’m using is the following :
ffmpeg -v debug -y -re -f dshow -i "audio=Microphone (2- High Definition Audio Device)" -c:a pcm_mulaw -ac 1 -ar 16000 -b:a 128k -f flv http://oper
ator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi -multiple_requests 1 -reconnect_at_eof 1 -reconnect_streamed 1 -content_type "audio/basic" -reportThe ouput I get following this command is the following :
ffmpeg started on 2016-11-04 at 17:32:13
Report written to "ffmpeg-20161104-173213.log"
Command line:
ffmpeg -v debug -y -re -f dshow -i "audio=Microphone (2- High Definition Audio Device)" -c:a pcm_mulaw -ac 1 -ar 16000 -b:a 128k -f flv http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi -content_type audio/basic -multiple_requests 1 -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -report
ffmpeg version N-82225-gb4e9252 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 35.100 / 55. 35.100
libavcodec 57. 66.101 / 57. 66.101
libavformat 57. 57.100 / 57. 57.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 66.100 / 6. 66.100
libswscale 4. 3.100 / 4. 3.100
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'dshow'.
Reading option '-i' ... matched as input file with argument 'audio=Microphone (2- High Definition Audio Device)'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_mulaw'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '1'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '16000'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128k'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
Reading option 'http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi' ... matched as output file.
Reading option '-content_type' ... matched as AVOption 'content_type' with argument 'audio/basic'.
Reading option '-multiple_requests' ... matched as AVOption 'multiple_requests' with argument '1'.
Reading option '-reconnect' ... matched as AVOption 'reconnect' with argument '1'.
Reading option '-reconnect_at_eof' ... matched as AVOption 'reconnect_at_eof' with argument '1'.
Reading option '-reconnect_streamed' ... matched as AVOption 'reconnect_streamed' with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Trailing options were found on the commandline.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file audio=Microphone (2- High Definition Audio Device).
Applying option re (read input at native frame rate) with argument 1.
Applying option f (force format) with argument dshow.
Successfully parsed a group of options.
Opening an input file: audio=Microphone (2- High Definition Audio Device).
[dshow @ 00000000000279e0] Selecting pin Capture on audio only
dshow passing through packet of type audio size 88200 timestamp 310221040000 orig timestamp 310221040000 graph timestamp 310226130000 diff 5090000 Microphone (2- High Definition Audio Device)
[dshow @ 00000000000279e0] All info found
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, dshow, from 'audio=Microphone (2- High Definition Audio Device)':
Duration: N/A, start: 31022.104000, bitrate: 1411 kb/s
Stream #0:0, 1, 1/10000000: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Successfully opened the file.
Parsing a group of options: output file http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi.
Applying option c:a (codec name) with argument pcm_mulaw.
Applying option ac (set number of audio channels) with argument 1.
Applying option ar (set audio sampling rate (in Hz)) with argument 16000.
Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
Applying option f (force format) with argument flv.
Successfully parsed a group of options.
Opening an output file: http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi.
[http @ 0000000001c94040] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0000000001c94040] request: POST /axis-cgi/audio/transmit.cgi HTTP/1.1
Transfer-Encoding: chunked
User-Agent: Lavf/57.57.100
Accept: */*
Expect: 100-continue
Connection: close
Host: 10.10.210.2
Icy-MetaData: 1
[http @ 0000000001c94040] request: POST /axis-cgi/audio/transmit.cgi HTTP/1.1
Transfer-Encoding: chunked
User-Agent: Lavf/57.57.100
Accept: */*
Connection: close
Host: 10.10.210.2
Icy-MetaData: 1
Authorization: Digest username="operator", realm="AXIS_ACCC8E027F47", nonce="0EcsO3xABQA=ab5efc4740a6c625ecf6a6729d0d67d2b62b615a", uri="/axis-cgi/audio/transmit.cgi", response="4bd3a627b20d6bcaba9e2f595ef6cd2a", algorithm="MD5", qop="auth", cnonce="6a579dd6664b57eb", nc=00000001
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0000000001c9f6e0] Setting 'time_base' to value '1/44100'
[graph 0 input from stream 0:0 @ 0000000001c9f6e0] Setting 'sample_rate' to value '44100'
[graph 0 input from stream 0:0 @ 0000000001c9f6e0] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:0 @ 0000000001c9f6e0] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0000000001c9f6e0] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
[audio format for output stream 0:0 @ 0000000001c9fa20] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0000000001c9fa20] Setting 'sample_rates' to value '16000'
[audio format for output stream 0:0 @ 0000000001c9fa20] Setting 'channel_layouts' to value '0x4'
[audio format for output stream 0:0 @ 0000000001c9fa20] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 000000000002ab20] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0000000001ca4060] [SWR @ 0000000001ca4a80] Using s16p internally between filters
[auto-inserted resampler 0 @ 0000000001ca4060] [SWR @ 0000000001ca4a80] Matrix coefficients:
[auto-inserted resampler 0 @ 0000000001ca4060] [SWR @ 0000000001ca4a80] FC: FL:0.500000 FR:0.500000
[auto-inserted resampler 0 @ 0000000001ca4060] ch:2 chl:stereo fmt:s16 r:44100Hz -> ch:1 chl:mono fmt:s16 r:16000Hz
Output #0, flv, to 'http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi':
Metadata:
encoder : Lavf57.57.100
Stream #0:0, 0, 1/1000: Audio: pcm_mulaw ([8][0][0][0] / 0x0008), 16000 Hz, mono, s16, 128 kb/s
Metadata:
encoder : Lavc57.66.101 pcm_mulaw
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_mulaw (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
av_interleaved_write_frame(): Unknown error
No more output streams to write to, finishing.
Error writing trailer of http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi: Error number -10053 occurredsize= 8kB time=00:00:00.49 bitrate= 131.2kbits/s speed=79.6x
video:0kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.492485%
Input file #0 (audio=Microphone (2- High Definition Audio Device)):
Input stream #0:0 (audio): 1 packets read (88200 bytes); 1 frames decoded (22050 samples);
Total: 1 packets (88200 bytes) demuxed
Output file #0 (http://operator:operator@10.10.210.2/axis-cgi/audio/transmit.cgi):
Output stream #0:0 (audio): 1 frames encoded (7984 samples); 1 packets muxed (7984 bytes);
Total: 1 packets (7984 bytes) muxed
1 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000001c9e4c0] Statistics: 0 seeks, 2 writeouts
dshow passing through packet of type audio size 12152 timestamp 310226130000 orig timestamp 310226130000 graph timestamp 310226820000 diff 690000 Microphone (2- High Definition Audio Device)
Conversion failed!For some reason, despite setting
multiple_requests
,reconnect_eof
,reconnect_streamed
all to true, connection becomes closed.Could you please tell me what I’m doing wrong ?