
Recherche avancée
Autres articles (47)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (8546)
-
Media type mismatch Error in ffmpeg-android while Concating videos
21 mars 2017, par Karandeep AtwalI
concat
different mp4 videos with different properties like aspect ratio, SAR value, frame size using this command inffmpeg-android
-final String joinVideo = "-i "+Vid1+" -i "+Vid2+" -i "+Vid3+" -i "+Vid4+" -filter_complex [0]setdar=16/9[a];[1]setdar=16/9[b];[2]setdar=16/9[c];[3]setdar=16/9[d];[a][b][c][d]concat=n=4:v=1:a=1 "+Outputfile;
My logcat shows-
03-21 13:06:05.537 26112-26311/com.karandeepEnact I/System.out: --onStart-->
03-21 13:06:05.545 26112-26312/com.karandeepEnact D/FFmpeg: Running publishing updates method
03-21 13:06:05.576 26112-26112/com.karandeepEnact I/System.out: --onProgress-->ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
03-21 13:06:05.580 26112-26112/com.karandeepEnact I/System.out: --onProgress--> built with gcc 4.8 (GCC)
03-21 13:06:05.580 26112-26112/com.karandeepEnact I/System.out: --onProgress--> configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
03-21 13:06:05.620 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libavutil 55. 17.103 / 55. 17.103
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libavcodec 57. 24.102 / 57. 24.102
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libavformat 57. 25.100 / 57. 25.100
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libavdevice 57. 0.101 / 57. 0.101
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libavfilter 6. 31.100 / 6. 31.100
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libswscale 4. 0.100 / 4. 0.100
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libswresample 2. 0.101 / 2. 0.101
03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress--> libpostproc 54. 0.100 / 54. 0.100
03-21 13:06:05.653 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid.mp4':
03-21 13:06:05.653 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> major_brand : isom
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> minor_version : 512
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> compatible_brands: isomiso2avc1mp41
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> title : 1282287935171187
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> encoder : Lavf56.40.101
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Duration: 00:12:11.52, start: 0.169000, bitrate: 292 kb/s
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 400x400, 268 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.655 26112-26112/com.karandeepEnact I/System.out: --onProgress--> handler_name : VideoHandler
03-21 13:06:05.655 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #0:1(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 19 kb/s (default)
03-21 13:06:05.676 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.679 26112-26112/com.karandeepEnact I/System.out: --onProgress--> handler_name : SoundHandler
03-21 13:06:05.679 26112-26112/com.karandeepEnact I/System.out: --onProgress-->[mov,mp4,m4a,3gp,3g2,mj2 @ 0xad6b9600] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
03-21 13:06:05.788 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid1.mp4':
03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress--> major_brand : mp42
03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress--> minor_version : 0
03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress--> compatible_brands: isommp42
03-21 13:06:05.790 26112-26112/com.karandeepEnact I/System.out: --onProgress--> creation_time : 2017-03-20 09:36:26
03-21 13:06:05.790 26112-26112/com.karandeepEnact I/System.out: --onProgress--> com.android.version: 7.0
03-21 13:06:05.790 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Duration: 00:00:09.47, start: 0.000000, bitrate: 6138 kb/s
03-21 13:06:05.815 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 720x480, 6004 kb/s, SAR 1:1 DAR 3:2, 29.99 fps, 30 tbr, 90k tbn, 180k tbc (default)
03-21 13:06:05.815 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress--> rotate : 90
03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress--> creation_time : 2017-03-20 09:36:26
03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress--> handler_name : VideoHandle
03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Side data:
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> displaymatrix: rotation of -90.00 degrees
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> creation_time : 2017-03-20 09:36:26
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> handler_name : SoundHandle
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid2.mp4':
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> major_brand : mp42
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> minor_version : 1
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> compatible_brands: mp41mp42isom
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> creation_time : 2017-02-28 04:56:18
03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Duration: 00:00:30.87, start: 0.000000, bitrate: 568 kb/s
03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 400x400, 482 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc (default)
03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress--> creation_time : 2017-02-28 04:56:18
03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress--> handler_name : Core Media Video
03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #2:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 81 kb/s (default)
03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.833 26112-26112/com.karandeepEnact I/System.out: --onProgress--> creation_time : 2017-02-28 04:56:18
03-21 13:06:05.833 26112-26112/com.karandeepEnact I/System.out: --onProgress--> handler_name : Core Media Audio
03-21 13:06:05.849 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #3, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid3.mp4':
03-21 13:06:05.868 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress--> major_brand : mp42
03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress--> minor_version : 0
03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress--> compatible_brands: mp42isom
03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Duration: 00:00:31.40, start: 0.000000, bitrate: 1771 kb/s
03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #3:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x368, 1644 kb/s, 30.04 fps, 30.04 tbr, 30041 tbn, 60082 tbc (default)
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Metadata:
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress--> rotate : 90
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Side data:
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress--> displaymatrix: rotation of -90.00 degrees
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress--> Stream #3:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->[Parsed_setdar_1 @ 0xad6aa1c0] Media type mismatch between the 'Parsed_setdar_1' filter output pad 0 (video) and the 'Parsed_concat_4' filter input pad 1 (audio)
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->[AVFilterGraph @ 0xad697180] Cannot create the link setdar:0 -> concat:1
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Error initializing complex filters.
03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Invalid argument
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: --onFailure-->ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: built with gcc 4.8 (GCC)
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libavutil 55. 17.103 / 55. 17.103
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libavcodec 57. 24.102 / 57. 24.102
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libavformat 57. 25.100 / 57. 25.100
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libavdevice 57. 0.101 / 57. 0.101
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libavfilter 6. 31.100 / 6. 31.100
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libswscale 4. 0.100 / 4. 0.100
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libswresample 2. 0.101 / 2. 0.101
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: libpostproc 54. 0.100 / 54. 0.100
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid.mp4':
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: major_brand : isom
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: minor_version : 512
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: compatible_brands: isomiso2avc1mp41
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: title : 1282287935171187
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: encoder : Lavf56.40.101
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Duration: 00:12:11.52, start: 0.169000, bitrate: 292 kb/s
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 400x400, 268 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: handler_name : VideoHandler
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Stream #0:1(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 19 kb/s (default)
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: handler_name : SoundHandler
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad6b9600] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid1.mp4':
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: major_brand : mp42
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: minor_version : 0
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: compatible_brands: isommp42
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: creation_time : 2017-03-20 09:36:26
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: com.android.version: 7.0
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Duration: 00:00:09.47, start: 0.000000, bitrate: 6138 kb/s
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 720x480, 6004 kb/s, SAR 1:1 DAR 3:2, 29.99 fps, 30 tbr, 90k tbn, 180k tbc (default)
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: rotate : 90
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: creation_time : 2017-03-20 09:36:26
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: handler_name : VideoHandle
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Side data:
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: displaymatrix: rotation of -90.00 degrees
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: creation_time : 2017-03-20 09:36:26
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: handler_name : SoundHandle
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid2.mp4':
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: major_brand : mp42
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: minor_version : 1
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: compatible_brands: mp41mp42isom
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: creation_time : 2017-02-28 04:56:18
03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Duration: 00:00:30.87, start: 0.000000, bitrate: 568 kb/s
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 400x400, 482 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc (default)
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: creation_time : 2017-02-28 04:56:18
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: handler_name : Core Media Video
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Stream #2:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 81 kb/s (default)
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: creation_time : 2017-02-28 04:56:18
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: handler_name : Core Media Audio
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Input #3, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid3.mp4':
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: major_brand : mp42
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: minor_version : 0
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: compatible_brands: mp42isom
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Duration: 00:00:31.40, start: 0.000000, bitrate: 1771 kb/s
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Stream #3:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x368, 1644 kb/s, 30.04 fps, 30.04 tbr, 30041 tbn, 60082 tbc (default)
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Metadata:
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: rotate : 90
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Side data:
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: displaymatrix: rotation of -90.00 degrees
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Stream #3:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: [Parsed_setdar_1 @ 0xad6aa1c0] Media type mismatch between the 'Parsed_setdar_1' filter output pad 0 (video) and the 'Parsed_concat_4' filter input pad 1 (audio)
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: [AVFilterGraph @ 0xad697180] Cannot create the link setdar:0 -> concat:1
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Error initializing complex filters.
03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Invalid argument
03-21 13:06:05.874 26112-26112/com.karandeepEnact I/System.out: --onFinish-->
03-21 13:08:12.360 26112-26120/com.karandeepEnact I/art: Debugger is no longer active
03-21 13:08:12.360 26112-26120/com.karandeepEnact I/art: Starting a blocking GC Instrumentation -
How do I configure ffmpeg & openh264 so that the video file can be opened in Windows Media Player 12
10 mars 2017, par Sacha GuyerI have successfully created h264/mp4 movie files with ffmpeg and the x264 library.
Now I would like to change the h264 library from x264 to openH264. I could replace the x264 library with openH264, recompile ffmpeg and produce movie files, without changing my sources that produce the movie. The resulting movie opens fine in Quicktime on Mac, but on Windows, Windows Media Player 12 cannot play it.
The documentation about Windows Media Player support for h264 is unclear. File types supported by Windows Media Player states in the table that Windows Media Player 12 supports mp4, but the text below says :
Windows Media Player does not support the playback of the .mp4 file format.
From what I have observed, Windows Media Player 12 IS capable of playing h264/mp4 files, but only when created with x264.
Does anyone know how I need to adjust the configuration of the codec/context so that the movie plays in Windows Media Player ? Does Windows Media Player only support certain h264 profiles ?
I noticed the warning :
[libopenh264 @ 0x...] [OpenH264] this = 0x..., Warning:bEnableFrameSkip = 0,bitrate can’t be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without enabling skip frame
With the configuration :
av_dict_set(&options, "allow_skip_frames", "1", 0);
I could get rid of this warning, but the movie still does not play. Are there other options that need to be set so that the movie plays in Windows Media Player ?
Thank you for your help
ffprobe output of the file that does play fine in Windows Media Player :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_x264.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : retina
encoder : Lavf57.56.100
comment : Creation Date: 2017-03-10 07:47:39.601
Duration: 00:00:04.17, start: 0.000000, bitrate: 17497 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661),
yuv420p, 852x754, 17495 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default)
Metadata:
handler_name : VideoHandlerffprobe output of the file that does not play in Windows Media Player :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_openh264.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : retina
encoder : Lavf57.56.100
comment : Creation Date: 2017-03-10 07:49:27.024
Duration: 00:00:04.17, start: 0.000000, bitrate: 17781 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 852x754, 17779 kb/s, 24 fps, 24 tbr, 24k tbn, 48k tbc (default)
Metadata:
handler_name : VideoHandler -
Avconv / FFmpeg - VOB to mp4
26 septembre 2017, par 0ne_UpI am using avconv/ffmpeg to convert VOB files copied from a DVD to mp4. The command I’m using is
avconv -i "concat:1.VOB|2.VOB|3.VOB|4.VOB|5.VOB" -c:v libx264 -crf 28 -c:a libvo_aacenc -b:a 128k output.mp4
This is working, but I’ve seen many different commands using different kinds of arguments, and I’m wondering if this is the "right" way to do it, and if someone has suggestions about which arguments I should (not) use and why (not). The file should be compatible with mobile devices and smart TV’s. I’ve also seen "libmp3lame" being used as audio codec, is it better to use AAC or MP3 ?
The file size is 732.6MB for a video lasting 00:58:37, is this reasonable ?
Maybe I can use something to reduce the filesize further without too much quality loss ?I’m also confused about the difference between Avconv and FFmpeg. I thought that FFmpeg is deprecated and Avconv is "newer and better", I have two installations of Linux Mint, when I run "avconv —help" on a 17.1 installations I see
avconv version 9.20-6:9.20-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
And when I run the same command on a 18.1 installation I see
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
Is avconv newer than ffmpeg or is it just a different name for the same thing ?