
Recherche avancée
Autres articles (58)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (10617)
-
FFmpeg rtp streaming opus file problems
22 avril 2017, par Yuriy Aizenbergi have the next situation.
- Have file on remote VPS server.
- I want that this file (opus codec) can be accessible through RTP on my android phone.
-
I tried ffmpeg with next command :
ffmpeg -ar 44800 -i bon_jovi_loverboy.opus -acodec libopus -ac 1 -ab 96k -vn -f rtp rtp://127.0.0.1:5004 -loglevel 56
But got next error :
bon_jovi_loverboy.opus: Invalid data found when processing input
Full log :
root@cs82932 :/home/rstream/rtstream/src# ffmpeg -ar 44800 -i bon_jovi_loverboy.opus -acodec libopus -ac 1 -ab 96k -vn -f rtp rtp ://127.0.0.1:5004 -loglevel 56
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1 16.04.4) 20160609
configuration : —prefix=/usr —extra-version=0ubuntu0.16.04.1 —build-suffix=-ffmpeg —toolchain=hardened —libdir=/usr/lib/x86_64-linux-gnu —incdir=/usr/include/x86_64-linux-gnu —cc=cc —cxx=g++ —enable-gpl —enable-shared —disable-stripping —disable-decoder=libopenjpeg —disable-decoder=libschroedinger —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmodplug —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-librtmp —enable-libschroedinger —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxvid —enable-libzvbi —enable-openal —enable-opengl —enable-x11grab —enable-libdc1394 —enable-libiec61883 —enable-libzmq —enable-frei0r —enable-libx264 —enable-libopencv
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
Splitting the commandline.
Reading option ’-ar’ ... matched as option ’ar’ (set audio sampling rate (in Hz)) with argument ’44800’.Reading option ’-i’ ... matched as input url with argument ’bon_jovi_loverboy.opus’.
Reading option ’-acodec’ ... matched as option ’acodec’ (force audio codec (’copy’ to copy stream)) with argument ’libopus’.
Reading option ’-ac’ ... matched as option ’ac’ (set number of audio channels) with argument ’1’.
Reading option ’-ab’ ... matched as option ’ab’ (audio bitrate (please use -b:a)) with argument ’96k’.
Reading option ’-vn’ ... matched as option ’vn’ (disable video) with argument ’1’.
Reading option ’-f’ ... matched as option ’f’ (force format) with argument ’rtp’.
Reading option ’rtp ://127.0.0.1:5004’ ... matched as output url.
Reading option ’-loglevel’ ... matched as option ’loglevel’ (set logging level) with argument ’56’.
Finished splitting the commandline.
Parsing a group of options : global .
Applying option loglevel (set logging level) with argument 56.Successfully parsed a group of options.
Parsing a group of options : input url bon_jovi_loverboy.opus.
Applying option ar (set audio sampling rate (in Hz)) with argument 44800.
Successfully parsed a group of options.
Opening an input file : bon_jovi_loverboy.opus.[AVIOContext @ 0x965e60] Statistics : 36389 bytes read, 0 seeks
bon_jovi_loverboy.opus : Invalid data found when processing inputWhat wrong ? Thanks
UPD
I update ffmpeg and streaming looks successfully.
ffmpeg -stream_loop -1 -i 4a6u7-ptl2w.opus -acodec libopus -ac 1 -ab
96k -vn -f rtp rtp://95.213.195.192:5004/f.opus
ffmpeg version 3.2.4-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.1 (Ubuntu 5.4.1-5ubuntu2~16.04.york1) 20170210
configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, ogg, from '4a6u7-ptl2w.opus':
Duration: 00:02:34.21, start: 0.000000, bitrate: 69 kb/s
Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
Metadata:
ENCODER : Lavc57.77.100 libopus
Output #0, rtp, to 'rtp://95.213.195.192:5004/f.opus':
Metadata:
encoder : Lavf57.56.101
Stream #0:0: Audio: opus (libopus), 48000 Hz, mono, flt, 96 kb/s
Metadata:
encoder : Lavc57.64.101 libopus
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 95.213.195.192
t=0 0
a=tool:libavformat 57.56.101
m=audio 5004 RTP/AVP 97
b=AS:96
a=rtpmap:97 opus/48000/2
Stream mapping:
Stream #0:0 -> #0:0 (opus (native) -> opus (libopus))
Press [q] to stop, [?] for help
size= 44893kB time=00:52:18.12 bitrate= 117.2kbits/s speed=56.5xBut when i try to connect by rtp from local PC (VLC Player) i get the exception :
core error: socket bind error: Cannot assign requested address
core error: open of `rtp://95.213.195.192:5004/f.opus' failedWhen i try ffplay on remote pc (same where ffmpeg) :
ffplay rtp://95.213.195.192:5004/f.opus
ffplay version 3.2.4-1~16.04.york1 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 5.4.1 (Ubuntu 5.4.1-5ubuntu2~16.04.york1) 20170210
configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Segmentation faultCan you help me ? Thanks
95.213.195.192 - IP of my remote server with file
-
bash script to install / update ffmpeg static builds
1er mars 2017, par JoakimHi I’m trying to make my first "real" bash script to do some real work than can be executed both manually and through cron jobs.
The script should download and install the ffmpeg-static-build from https://johnvansickle.com/ffmpeg
Here is what I’ve got so far :
#!/bin/bash
# Still to come, see if the script runs with root privileges else exit
#Download FFMPEG static daily build and it's md5
cd ~
wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz | tar -xf
#wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz.md5
curl -L https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz.md5 | tar -xf | tee -a https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz | cut -d\ -f1 | md5sum > md5sum.txt
#Chech the md5 is currect
#md5sum -c MD5SUMS
file1="md5sum.txt"
file2="ffmpeg-git-64bit-static.tar.xz.md5"
if ! cmp --silent "$file1" "$file2"; then
echo "md5sum doesn't match...\n exit" >&2
exit 1
fi
#tar -xf ffmpeg-*.tar.xz
cp ffmpeg-*-static/ff* /usr/bin/
cp ffmpeg-*-static/ff* /usr/local/bin/
cp ffmpeg-*-static/qt-faststart /usr/bin/
cp ffmpeg-*-static/qt-faststart /usr/local/bin/
# Consider change second location to use ln -s
# Remove downloads and do some clean up
rm -fr ffmpeg-*
#EOFAs you can see in the script i would like to add the md5sum check but it fails (got the md5sum check part from Compare md5 sums in bash script)
If i remove the md5sum part the script is working, but right now the script fails at the | tar -xf | part with this code
2017-02-28 00:10:24 (617 KB/s) - ‘ffmpeg-git-64bit-static.tar.xz’ saved [17564756/17564756]
tar: option requires an argument -- 'f'
Try 'tar --help' or 'tar --usage' for more information.
tee: 'https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 65 100 65 0 0 87 0 --:--:-- --:--:-- --:--:-- 87
(23) Failed writing body
md5sum doesn't match...
exitAs this is my first, I would appreciate any "I’m 4 years old" advices and why
update
Have made some changes to the script based on the suggestions in this thread, but my problem is I have no output what so ever at this state :( So I think it’s time to ask for the next clue
#!/bin/bash
# version 0.3z
## Download FFMPEG static daily build and it's md5
##
## To make this script working you might need to change the below values
## based on whether you are using a 32bit or 64 bit OS
## to obtain the right links you have to have a look @ https://johnvansickle.com/ffmpeg/
## and then change those below
##
## If you are running on a shared server or dowsn't have root priviliges you might need to uncomment
## point 5.
# a "~" means running users home folder :) and should be different from destination dir
download_dir=~
# as this can change if the ffmpeg is to be stored on ex. shared server
dest_dir=/usr/bin/
# The version it equal the filename from above link
version=ffmpeg-git-64bit-static.tar.xz
## Do not change anything below here!!
source_url=https://johnvansickle.com/ffmpeg/builds/${version}
md5_url=https://johnvansickle.com/ffmpeg/builds/${version}.md5
# Still to come, see if the script runs with write privileges else exit
# 1. Can we enter download directory else exit
cd ${download_dir} ||
printf "%s\n" "You can't enter this folder.\nPlease chage download_dir in this script..." >&2
exit 1
# 2. Check the md5 is correct or have changed from last check
## instead of downloading ffmpeg-git-64bit-static.tar.xz every time,
## regardless if it is new or not, I recommend only downloading it
## if the md5 does not match. Would save John some bandwidth at least
## thx for the idea to @LordNeckbeard
## So somehow i'll guess some sed or grep only first part is nessesary :(
## This is getting more advance than expected for a first time script :/
if ! diff <(md5sum ${version}) <(curl -s ${md5_url})
then
printf "%s\n" "md5sum doesn't match...\n
Downloading new version" >&2
rm -f ${version} >&2
curl ${source_url} -o ${download_dir}/${version} >&2
#exit 2
elif
diff <(md5sum ${version}) <(curl -s ${md5_url})
printf "%s\n" "Nothing new to download" >&2
exit 3
fi
# 3. untar
tar -xf ffmpeg-git-*-static.tar.xz
# 4. Move builds to destination directories
mv ${download_dir}/ffmpeg-*-static/ff* ${dest_dir}/
mv ${download_dir}/ffmpeg-*-static/qt-faststart ${dest_dir}/
# 5. Make soft links to static builds
ln -sfn ${dest_dir}/qt-faststart /usr/local/bin/qt-faststart
ln -sfn ${dest_dir}/ffmpeg /usr/local/bin/ffmpeg
ln -sfn ${dest_dir}/ffmpeg-10bit /usr/local/bin/ffmpeg-10bit
ln -sfn ${dest_dir}/ffprobe /usr/local/bin/ffprobe
ln -sfn ${dest_dir}/ffserver /usr/local/bin/ffserver
# Remove unzipped folder to do some clean up
rm -fr ffmpeg-git-*-static/
#EOFnote : do to some more in depth answering of why not compile from source :
1. This precompiled is usable on all Linux variations, despite distro and version
2. It usable on shared hosting servers with ssh accessUPDATE 2
#!/bin/bash
# version 0.4z
## Download FFMPEG static daily build and it's md5
##
## To make this script working you might need to change the below values
## based on whether you are using a 32bit or 64 bit OS
## to obtain the right links you have to have a look @ https://johnvansickle.com/ffmpeg/
## and then change those below
##
## Finished and working script should be distributed under GPLv3: free as in freedom
##
## If you are running on a shared server or dowsn't have root priviliges you might need to uncomment
## point 5.
# a "~" means running users home folder :) and should be different from destination dir
download_dir=~
# as this can change if the ffmpeg is to be stored on ex. shared server
dest_dir=/usr/bin/
# The version it equal the filename from above link
version=ffmpeg-git-64bit-static.tar.xz
## Do not change anything below here!!
source_url=https://johnvansickle.com/ffmpeg/builds/${version}
md5="curl -s https://johnvansickle.com/ffmpeg/builds/${version}.md5"
# Still to come, see if the script runs with write privileges else exit
# 1. Can we enter download directory else exit
cd ${download_dir} ||
printf "%s\n" "You can't enter this folder.\nPlease chage download_dir in this script..." >&2
exit 1
# 2. Check the md5 is correct or have changed from last check
## instead of downloading ffmpeg-git-64bit-static.tar.xz every time,
## regardless if it is new or not, I recommend only downloading it
## if the md5 does not match. Would save John some bandwidth at least
## thx for the idea to @LordNeckbeard
## This is getting more advance than expected for a first time script :/
if diff <(md5sum ${version}) <(${md5})
then
printf "%s\n" "No new version availeble" >&2
exit 1
elif ! diff <(md5sum ${version}) <(${md5})
then
rm -f ${version}
curl ${source_url} > ${version}
exit 0
#only proceed if downloaded version match it's md5
if ! diff <(md5sum ${version}) <(${md5})
then
rm -f ${version}
printf "%s\n" "Downloaded version is damaged, try later\ndamaged version have been deleted" >&2
exit 1
fi
# 3. untar
tar -xf ffmpeg-git-*-static.tar.xz
# 4. Move builds to destination directories
mv ${download_dir}/ffmpeg-*-static/ff* ${dest_dir}/
mv ${download_dir}/ffmpeg-*-static/qt-faststart ${dest_dir}/
# 5. Make soft links to static builds
ln -sfn ${dest_dir}/qt-faststart /usr/local/bin/qt-faststart
ln -sfn ${dest_dir}/ffmpeg /usr/local/bin/ffmpeg
ln -sfn ${dest_dir}/ffmpeg-10bit /usr/local/bin/ffmpeg-10bit
ln -sfn ${dest_dir}/ffprobe /usr/local/bin/ffprobe
ln -sfn ${dest_dir}/ffserver /usr/local/bin/ffserver
# Remove unzipped folder to do some clean up
rm -fr ffmpeg-git-*-static/
printf "%s\n" "Going to install new version" >&2
exit 1
fi
#EOFBut still having some issues :(
- Running this script returns : a blanc shell, but I’ve expected one of the printf statements
- When I’m trying to narrow down the problem and going back to basic and trying to run the script with only the "if" part it fails with 44 : Syntax error : "(" unexpected
-
running the very same "if" part typed directly into the shell/terminal itself it’s all happy !!
if diff <(md5sum ffmpeg-git-64bit-static.tar.xz) <(curl -s "https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz.md5"); then printf "%s\n" "No new version availeble" >&2; elif ! diff <(md5sum ffmpeg-git-64bit-static.tar.xz) <(curl -s "https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz.md5"); then rm -f ffmpeg-git-64bit-static.tar.xz; curl https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz > ffmpeg-git-64bit-static.tar.xz; printf "%s\n" "Going to install new version" >&2; fi
-
I’m confused
-
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