
Recherche avancée
Autres articles (12)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (4599)
-
RTSP stream to HLS Stream using FFMPEG, Getting Error with newer FFMPEG
8 novembre 2017, par shaunI am trying to take an RTSP stream and convert it to an HLS sTream.
If I use ffmpeg version N-76684-g1fe82ab
This command Works just fine.c:\temp\ffmpeg.exe -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
However, if I use a newer compiled version of FFMPEG ffmpeg version N-83779-gfe57bf7cd6
using the same exact command as above I get the error :Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument.
What am I doing wrong ? I would like to use the newer FFMPEG, but it appears that something broke between them.....
complete console output of N-83779
C:\inetpub\wwwroot\hls>ffmpeg.exe -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
ffmpeg version N-83779-gfe57bf7cd6 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.3 (GCC)
configuration: --prefix=/usr/local/x86_64-w64-mingw32 --enable-gpl --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static --enable-runtime-cpudetect --enable-w32th
reads --disable-shared --disable-ffplay --disable-ffserver --arch=x86_64 --extra-cflags=-I/local/x86_64-w64-mingw32/include --extra-ldflags='-L/local/x86_64-w64-mingw32/lib -static
'
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 82.102 / 57. 82.102
libavformat 57. 66.103 / 57. 66.103
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 74.100 / 6. 74.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[udp @ 023e9d40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 039af180] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
Invalid UE golomb code
[h264 @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[rtsp @ 023e7220] Failed to open codec in avformat_find_stream_info
Invalid UE golomb code
[NULL @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 023eaca0] non-existing PPS 0 referenced
Invalid UE golomb code
[h264 @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 023eaca0] non-existing PPS 0 referenced
Last message repeated 20 times
[rtsp @ 023e7220] Stream #0: not enough frames to estimate rate; consider increasing probesize
[rtsp @ 023e7220] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, rtsp, from 'rtsp://192.168.249.233:8554/Stream':
Metadata:
title : Session streamed by Stream
comment : Stream
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), none(progressive), 90k tbr, 90k tbn, 180k tbc
[hls @ 039d5140] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Last message repeated 1 times
Tried -analyzeduration 10M -probesize 10M did not help.
ffmpeg -analyzeduration 10M -probesize 10M -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
ffmpeg version N-83779-gfe57bf7cd6 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.3 (GCC)
configuration: --prefix=/usr/local/x86_64-w64-mingw32 --enable-gpl --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static --enable-runtime-cpudetect --enable-w32threads --disable-shared --disable-ffplay --disable-ffserver --arch=x86_64 --extra-cflags=-I/local/x86_64-w64-mingw32/include --extra-ldflags='-L/local/x86_64-w64-mingw32/lib -static'
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 82.102 / 57. 82.102
libavformat 57. 66.103 / 57. 66.103
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 74.100 / 6. 74.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[udp @ 0238a140] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0421f1a0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
Invalid UE golomb code
[h264 @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[rtsp @ 02387960] Failed to open codec in avformat_find_stream_info
Invalid UE golomb code
[NULL @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 0238af20] non-existing PPS 0 referenced
Invalid UE golomb code
[h264 @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 0238af20] non-existing PPS 0 referenced
Last message repeated 24 times
[rtsp @ 02387960] Stream #0: not enough frames to estimate rate; consider increasing probesize
[rtsp @ 02387960] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, rtsp, from 'rtsp://192.168.249.233:8554/FirstVuHD':
Metadata:
title : Session streamed by Stream
comment : Stream
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), none(progressive), 90k tbr, 90k tbn, 180k tbc
[hls @ 04edf8a0] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Last message repeated 1 times
Working older version of FFMPEG output
c:/temp/ffmpeg -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
ffmpeg version N-76684-g1fe82ab Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --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. 6.100 / 55. 6.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 14.100 / 57. 14.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0000000000506d20] log2_max_frame_num_minus4 out of range (0-12): -1
Last message repeated 5 times
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 75 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 86 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 57 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 6 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 1093 packets
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 10 packets
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 2 packets
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 20 packets
Input #0, rtsp, from 'rtsp://192.168.249.233:8554/Stream':
Metadata:
title : Session streamed by Stream
comment : Stream
Duration: N/A, start: 0.033367, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, 29.97 tbr, 90k tbn, 180k tbc
Output #0, hls, to 'c:\inetpub\wwwroot\hls\streaming.m3u8':
Metadata:
title : Session streamed by Stream
comment : Stream
encoder : Lavf57.14.100
Stream #0:0: Video: h264, yuv420p, 1920x1080, q=2-31, 29.97 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[NULL @ 0000000000506d20] RTP: missed 211 packets
frame= 398 fps= 71 q=-1.0 size=N/A time=00:00:16.68 bitrate=N/A -
Anomalie #4003 (Fermé) : Accessibilité du sélecteur de rubrique : demande de report dans SPIP 3.0 ...
25 septembre 2017, par - EquipementBonjour,
Il serait souhaitable de reporter dans la branche SPIP 3.0 le correctif r22364 du 29/07/2015 : mettre un href (#) et un title sur l’icône loupe du sélecteur ajax pour y avoir accès au clavier.
En effet, un webmestre non voyant m’a signalé qu’il ne peut pas changer un article de rubrique dans SPIP 3.0 (alors qu’il pouvait le faire sous SPIP 2.1).Cordialement
Equipement -
To concatenate more than two video using FFMPEG
21 décembre 2018, par Alok Kumar VermaI’ve been working on FFMPEG, this is indeed not an easy task since I’ve succeeded in doing some work. I’m done with concatenating two videos using ffmpeg but somehow when it comes to more than two it does not work. So I’m finding out some command to do my task.
The thing I did is to merge two videos are :
String complexCommand[] = {"-y", "-i", "/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4", "-i", "/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4", "-strict", "experimental", "-filter_complex",
"[0:v]scale=1920x1080,setsar=1:1[v0];[1:v] scale=iw*min(1920/iw\\,1080/ih):ih*min(1920/iw\\,1080/ih), pad=1920:1080:(1920-iw*min(1920/iw\\,1080/ih))/2:(1080-ih*min(1920/iw\\,1080/ih))/2,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1",
"-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "1920x1080", "-vcodec", "libx264","-crf","27","-q","4","-preset", "ultrafast", savingPath};The above is working fine for two videos. I’ve tried altering my code for three videos but it does not work.
What I’ve done in the above code is :
- Added one more input after the second one
- Changed the concat=3:v=1:a=1
But it does not merge and gave me this error in my LogCat :
FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
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=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.100
Duration: 00:02:47.09, start: 0.000000, bitrate: 245 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 112 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-12-15 13:11:41
Duration: 00:03:51.08, start: 0.000000, bitrate: 1693 kb/s
Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1498 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
Metadata:
creation_time : 2013-12-15 13:11:41
handler_name : IsoMedia File Produced by Google, 5-11-2011
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2015-05-30 02:06:06
Duration: 00:04:48.48, start: 0.000000, bitrate: 3608 kb/s
Stream #2:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 3478 kb/s, 30.28 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2015-05-30 02:06:06
handler_name : VideoHandle
encoder :
Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 125 kb/s (default)
Metadata:
creation_time : 2015-05-30 02:06:06
handler_name : SoundHandle
[Parsed_setsar_1 @ 0xa9ea9220] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_setsar_4 @ 0xa9ea9310] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_setsar_1 @ 0xa9ea92c0] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_setsar_4 @ 0xa9ea93b0] num:den syntax is deprecated, please usI’ve tried one more command which works fine for concatenating two videos but still it does not work for more than two videos :
String complexCommand[] = {"-y", "-i", "/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4", "-i", "/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4", "-i", "/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4", "-strict", "experimental", "-filter_complex",
"[0:v]scale=480x640,setsar=1:1[v0];[1:v]scale=480x640,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=3:v=1:a=1",
"-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "480x640", "-vcodec", "libx264","-crf","27","-q","4","-preset", "ultrafast", savingPath};You can clearly see in the above code that I’ve tried using this for the three videos but still no luck. Will appreciate your help. Thanks.
EDITS
After following the LordNeckbeard’s suggestion from the comment section, I’ve used his suggestion in my code but after doing that still no luck however the console’s output got changed and here is the command which I used :
String complexCommand[] = {"-y", "-i", "/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4", "-i", "/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4", "-i", "/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4", "-strict", "experimental", "-filter_complex",
"[0:v]scale=480x640,setsar=1[v0];[1:v]scale=480x640,setsar=1[v1];[v0][0:a][v1][1:a] concat=n=3:v=1:a=1",
"-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "480x640", "-vcodec", "libx264","-crf","27","-preset", "ultrafast", savingPath};Here you can clearly see that I’ve used setsar=1 and used -crf only.
And the logs are :
FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
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=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.100
Duration: 00:02:47.09, start: 0.000000, bitrate: 245 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 112 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-12-15 13:11:41
Duration: 00:03:51.08, start: 0.000000, bitrate: 1693 kb/s
Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1498 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
Metadata:
creation_time : 2013-12-15 13:11:41
handler_name : IsoMedia File Produced by Google, 5-11-2011
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2015-05-30 02:06:06
Duration: 00:04:48.48, start: 0.000000, bitrate: 3608 kb/s
Stream #2:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 3478 kb/s, 30.28 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2015-05-30 02:06:06
handler_name : VideoHandle
encoder :
Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 125 kb/s (default)
Metadata:
creation_time : 2015-05-30 02:06:06
handler_name : SoundHandle
[Parsed_concat_4 @ 0xa7ea91d0] Input link in2:v0 parameters (size 720x480, SAR 0:1) do not match the corresponding output link in0:v0 parameters (480x640, SAR 1:1)
[Parsed_concat_4 @ 0xa7ea91d0] Failed to configure output pad on Parsed_concat_4
Error configuring complex filters.
Invalid argumentNOTE : I have tried using setsar=1/1 but still got the same result.