
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (40)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6241)
-
Laravel Process() with FFMPEG times out for any video that is even kind of large
16 août 2024, par HunterI am creating an application that lets users upload video files, and once they do it will convert them all to .mp4's (it does some other things, but since this first part of the code is breaking before it gets a chance to reach the other stuff, and the process for each is pretty similar, lets just discuss this issue).



Once a user submits, it gets sent to GameController@store. Below is a code sample (the one that keeps getting sent back to me as problematic) from the controller :



$process = new Process(env('APP_FFMPEG', 'ffmpeg') . ' -i ' . $fileURL . ' -f mp4 -vcodec libx264 -preset medium -profile:v main -c:a aac -movflags +faststart ' . $newFileName . ' -hide_banner');
 $process->setTimeout(360);
 $process->setIdleTimeout(60);
 $process->run();
 if (!$process->isSuccessful()) {
 throw new ProcessFailedException($process);
 }




I am using the Symfony Process() class to run the FFMpeg conversion. The weird thing is, when I run this with a 1 or 2 second video, it goes without a hitch. This, to me, rules out issues like path problems, permission problems, etc. Multiple file types work with this, as long as they are very short. As soon as I put in a video that is even around 1min, it returns with this :



The process "/usr/local/bin/ffmpeg -i http://localhost/storage/team_1_folder/game_26/team_1_game_26_vid_1.mp4 -f mp4 -vcodec libx264 -preset medium -profile:v main -c:a aac -movflags +faststart storage/team_1_folder/game_26/convertedVideo_1.mp4 -hide_banner" exceeded the timeout of 360 seconds.




Now, notice that it says 'timeout of 360 seconds'. That is because I have also edited ALL of the possible timeout constraints, as well as the file size constraints that I can think of. Here is what I have done :



-Changed php.ini (in my MAMP installation) values :

—max_execution_time = 300 (default was 30)

—memory_limit = 1280M (default was 128)

—post_max_size = 800M

—upload_max_filesize = 3200M

-max_input_time=300


-In the GameController (code above)

—$process->setTimeout(360) ;

—$process->setTimeout(360) ;


After all that, with a big file, the thing will just stall for the 6 minutes that I have set on the timeout thing, and then send an error. Is FFmpeg just stalling, or is this a process issue ? Who knows. Errors surrounding these things are just beautifully vague.



I have tagged Laravel, PHP, and FFmpeg in hopes that someone will recognize this issue. I know that Process() is sending me the error, but since it is sending me a timeout, I don't know what is at fault.



I'm not ruling anything out, so hit me with ideas, even crazy ones !



Edit
Here is the output of the -report. I cut some of it off because the end part gets repetitive and goes for literally 1000 lines :



ffmpeg started on 2019-06-24 at 18:50:23
Report written to "ffmpeg-20190624-185023.log"
Command line:
/usr/local/bin/ffmpeg -i http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 -f mp4 -vcodec libx264 -preset medium -profile:v main -c:a aac -movflags +faststart storage/team_1_folder/game_31/convertedVideo_1.mp4 -report
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
 built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
 libavutil 56. 22.100 / 56. 22.100
 libavcodec 58. 35.100 / 58. 35.100
 libavformat 58. 20.100 / 58. 20.100
 libavdevice 58. 5.100 / 58. 5.100
 libavfilter 7. 40.101 / 7. 40.101
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 3.100 / 5. 3.100
 libswresample 3. 3.100 / 3. 3.100
 libpostproc 55. 3.100 / 55. 3.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'medium'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'aac'.
Reading option '-movflags' ... matched as AVOption 'movflags' with argument '+faststart'.
Reading option 'storage/team_1_folder/game_31/convertedVideo_1.mp4' ... matched as output url.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4.
Successfully parsed a group of options.
Opening an input file: http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4.
[NULL @ 0x7f9ad480ae00] Opening 'http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4' for reading
[http @ 0x7f9ad3c6b540] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x7f9ad3e00400] Original list of addresses:
[tcp @ 0x7f9ad3e00400] Address ::1 port 80
[tcp @ 0x7f9ad3e00400] Address 127.0.0.1 port 80
[tcp @ 0x7f9ad3e00400] Interleaved list of addresses:
[tcp @ 0x7f9ad3e00400] Address ::1 port 80
[tcp @ 0x7f9ad3e00400] Address 127.0.0.1 port 80
[tcp @ 0x7f9ad3e00400] Starting connection attempt to ::1 port 80
[tcp @ 0x7f9ad3e00400] Successfully connected to ::1 port 80
[http @ 0x7f9ad3c6b540] request: GET /storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 HTTP/1.1
User-Agent: Lavf/58.20.100
Accept: */*
Range: bytes=0-
Connection: close
Host: localhost
Icy-MetaData: 1


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] ISO: File Type Major Brand: isom
[tcp @ 0x7f9ad3c6b840] Original list of addresses:
[tcp @ 0x7f9ad3c6b840] Address ::1 port 80
[tcp @ 0x7f9ad3c6b840] Address 127.0.0.1 port 80
[tcp @ 0x7f9ad3c6b840] Interleaved list of addresses:
[tcp @ 0x7f9ad3c6b840] Address ::1 port 80
[tcp @ 0x7f9ad3c6b840] Address 127.0.0.1 port 80
[tcp @ 0x7f9ad3c6b840] Starting connection attempt to ::1 port 80
[tcp @ 0x7f9ad3c6b840] Successfully connected to ::1 port 80
[http @ 0x7f9ad3c6b540] request: GET /storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 HTTP/1.1
User-Agent: Lavf/58.20.100
Accept: */*
Range: bytes=170169585-
Connection: close
Host: localhost
Icy-MetaData: 1


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Processing st: 0, edit list 0 - media time: 0, duration: 10584600
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 0 ctts: 0, ctts_index: 0, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 1 ctts: 4002, ctts_index: 1, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 1000 ctts: 0, ctts_index: 2, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 2001 ctts: 0, ctts_index: 3, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 3002 ctts: 0, ctts_index: 4, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 4003 ctts: 4004, ctts_index: 5, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 5004 ctts: 0, ctts_index: 6, ctts_count: 10575




Edit 2
I also found this towards the bottom :



[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 10582571 ctts: 0, ctts_index: 10573, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 10583572 ctts: 1001, ctts_index: 10574, ctts_count: 10575
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Setting codecpar->delay to 1 for stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Processing st: 1, edit list 0 - media time: 0, duration: 15563816
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Before avformat_find_stream_info() pos: 170509020 bytes read:372203 seeks:1 nb_streams:2
[h264 @ 0x7f9ad4811200] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f9ad4811200] nal_unit_type: 8(PPS), nal_ref_idc: 3
[tcp @ 0x7f9ad3c72d40] Original list of addresses:
[tcp @ 0x7f9ad3c72d40] Address ::1 port 80
[tcp @ 0x7f9ad3c72d40] Address 127.0.0.1 port 80
[tcp @ 0x7f9ad3c72d40] Interleaved list of addresses:
[tcp @ 0x7f9ad3c72d40] Address ::1 port 80
[tcp @ 0x7f9ad3c72d40] Address 127.0.0.1 port 80
[tcp @ 0x7f9ad3c72d40] Starting connection attempt to ::1 port 80
[tcp @ 0x7f9ad3c72d40] Successfully connected to ::1 port 80
[http @ 0x7f9ad3c6b540] request: GET /storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 HTTP/1.1
User-Agent: Lavf/58.20.100
Accept: */*
Range: bytes=48-
Connection: close
Host: localhost
Icy-MetaData: 1


[h264 @ 0x7f9ad4811200] nal_unit_type: 5(IDR), nal_ref_idc: 1
[h264 @ 0x7f9ad4811200] Format yuv420p chosen by get_format().
[h264 @ 0x7f9ad4811200] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7f9ad4811200] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] After avformat_find_stream_info() pos: 308454 bytes read:680609 seeks:2 frames:2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf56.40.101
 Duration: 00:05:52.92, start: 0.000000, bitrate: 3865 kb/s
 Stream #0:0(und), 1, 1/30000: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3730 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
 Metadata:
 handler_name : SoundHandler
Successfully opened the file.
Parsing a group of options: output url storage/team_1_folder/game_31/convertedVideo_1.mp4.
Applying option f (force format) with argument mp4.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option profile:v (set profile) with argument main.
Applying option c:a (codec name) with argument aac.
Successfully parsed a group of options.
Opening an output file: storage/team_1_folder/game_31/convertedVideo_1.mp4.
[file @ 0x7f9ad3f02740] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[h264 @ 0x7f9ad5813a00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f9ad5813a00] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting 'time_base' to value '1/44100'
[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting 'sample_rate' to value '44100'
[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting 'sample_fmt' to value 'fltp'
[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting 'channel_layout' to value '0x3'
[graph_1_in_0_1 @ 0x7f9ad3dbcc00] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_1 @ 0x7f9ad3c71040] Setting 'sample_fmts' to value 'fltp'
[format_out_0_1 @ 0x7f9ad3c71040] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[AVFilterGraph @ 0x7f9ad3e00440] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5813a00] nal_unit_type: 5(IDR), nal_ref_idc: 1
[h264 @ 0x7f9ad5813a00] Format yuv420p chosen by get_format().
[h264 @ 0x7f9ad5813a00] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7f9ad5813a00] no picture 
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting 'time_base' to value '1/30000'
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] w:1920 h:1080 pixfmt:yuv420p tb:1/30000 fr:30000/1001 sar:1/1 sws_param:flags=2
[format @ 0x7f9ad3dc0100] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le'
[AVFilterGraph @ 0x7f9ad3c6e880] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[libx264 @ 0x7f9ad5811200] using mv_range_thread = 88
[libx264 @ 0x7f9ad5811200] using SAR=1/1
[libx264 @ 0x7f9ad5811200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f9ad5811200] profile Main, level 4.0
[libx264 @ 0x7f9ad5811200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'storage/team_1_folder/game_31/convertedVideo_1.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.20.100
 Stream #0:0(und), 0, 1/30000: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
 Metadata:
 handler_name : VideoHandler
 encoder : Lavc58.35.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 Stream #0:1(und), 0, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 encoder : Lavc58.35.100 aac
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
Clipping frame in rate conversion by 0.000999
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
Clipping frame in rate conversion by 0.000999
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999



-
Exceeded GA’s 10M hits data limit, now what ?
21 juin 2019, par Joselyn Khor -
-shortest is not working while looping audio with amovie in FFMPEG
18 juin 2019, par Nikunj ParadvaHere input is two video total 40 second, i am concate that and speed up 4x,then video duration is 10 second,
audio input duration is dynamic it ll be shorter than video or bigger than video duration that’s why i am using
amovie
command for replace audio with looping to infinite, and add-shortest
command at last.but it won’t be worked. it goes to infinite process.
Here is my command
[-y,
-i, /storage/emulated/0/Received/VID-20190407-WA0001.mp4,
-i, /storage/emulated/0/Received/MP4_20190220_114210.mp4,
-strict, experimental,
-filter_complex, [0:v]scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih), pad=480:480:(480-iw*min(480/iw\,480/ih))/2:(480-ih*min(480/iw\,480/ih))/2,setsar=1:1[v0];
[1:v]scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih), pad=480:480:(480-iw*min(480/iw\,480/ih))/2:(480-ih*min(480/iw\,480/ih))/2,setsar=1:1[v1];
[v0][v1] concat=n=2:v=1[vTemp];[vTemp]setpts=0.25*PTS[finalv];
amovie=/storage/emulated/0/VideoEditor/.caches/Video_editor_1560762451434.mp3:loop=0,asetpts=N/SR/TB[aaa],
-map, [finalv], -map, [aaa],
-shortest, -preset, ultrafast,
/storage/emulated/0/Video_1560762463583.mp4]here is logs of the process (logs going to infinity, but i added till stackoverflow limit)
06-17 17:14:58.408 E: onProgress: ffmpeg version n4.0-39-gda39990 Copyright (c) 2000-2018 the FFmpeg developers
06-17 17:14:58.408 E: onProgress: built with gcc 4.9.x (GCC) 20150123 (prerelease)
06-17 17:14:58.408 E: onProgress: configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-ffprobe --enable-libopus --enable-libvorbis --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-libvpx --enable-libass --enable-yasm --enable-pthreads --disable-debug --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --enable-nonfree --pkg-config=pkg-config --pkg-config-flags=--static --prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags=
06-17 17:14:58.408 E: onProgress: libavutil 56. 14.100 / 56. 14.100
06-17 17:14:58.409 E: onProgress: libavcodec 58. 18.100 / 58. 18.100
06-17 17:14:58.409 E: onProgress: libavformat 58. 12.100 / 58. 12.100
06-17 17:14:58.409 E: onProgress: libavdevice 58. 3.100 / 58. 3.100
06-17 17:14:58.409 E: onProgress: libavfilter 7. 16.100 / 7. 16.100
06-17 17:14:58.409 E: onProgress: libavresample 4. 0. 0 / 4. 0. 0
06-17 17:14:58.409 E: onProgress: libswscale 5. 1.100 / 5. 1.100
06-17 17:14:58.409 E: onProgress: libswresample 3. 1.100 / 3. 1.100
06-17 17:14:58.409 E: onProgress: libpostproc 55. 1.100 / 55. 1.100
06-17 17:14:58.472 E: getSlotFromBufferLocked: unknown buffer: 0x97c4b740
06-17 17:14:58.563 E: onProgress: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Received/VID-20190407-WA0001.mp4':
06-17 17:14:58.563 E: onProgress: Metadata:
06-17 17:14:58.563 E: onProgress: major_brand : isom
06-17 17:14:58.564 E: onProgress: minor_version : 512
06-17 17:14:58.564 E: onProgress: compatible_brands: isomiso2avc1mp41
06-17 17:14:58.564 E: onProgress: encoder : Lavf57.76.100
06-17 17:14:58.565 E: onProgress: comment : vid:v0701dd10000bi84903a28j16o847fp0
06-17 17:14:58.565 E: onProgress: Duration: 00:00:17.35, start: 0.000000, bitrate: 468 kb/s
06-17 17:14:58.566 E: onProgress: Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 480x854, 362 kb/s, 25.08 fps, 25.08 tbr, 90k tbn, 50.20 tbc (default)
06-17 17:14:58.566 E: onProgress: Metadata:
06-17 17:14:58.567 E: onProgress: handler_name : VideoHandler
06-17 17:14:58.567 E: onProgress: Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
06-17 17:14:58.569 E: onProgress: Metadata:
06-17 17:14:58.569 E: onProgress: handler_name : SoundHandler
06-17 17:14:58.654 E: onProgress: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Received/MP4_20190220_114210.mp4':
06-17 17:14:58.654 E: onProgress: Metadata:
06-17 17:14:58.655 E: onProgress: major_brand : iso6
06-17 17:14:58.655 E: onProgress: minor_version : 1
06-17 17:14:58.655 E: onProgress: compatible_brands: mp42iso6avc1isom
06-17 17:14:58.655 E: onProgress: creation_time : 2019-02-20T06:12:15.000000Z
06-17 17:14:58.656 E: onProgress: Duration: 00:00:23.46, start: 0.000000, bitrate: 309 kb/s
06-17 17:14:58.656 E: onProgress: Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 426x426, 243 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
06-17 17:14:58.656 E: onProgress: Stream #1:1(eng): Audio: aac (mp4a / 0x6134706D), 32000 Hz, stereo, fltp, 64 kb/s (default)
06-17 17:14:58.687 E: onProgress: Stream mapping:
06-17 17:14:58.687 E: onProgress: Stream #0:0 (h264) -> scale
06-17 17:14:58.687 E: onProgress: Stream #1:0 (h264) -> scale
06-17 17:14:58.687 E: onProgress: setpts -> Stream #0:0 (libx264)
06-17 17:14:58.687 E: onProgress: asetpts -> Stream #0:1 (aac)
06-17 17:14:58.688 E: onProgress: Press [q] to stop, [?] for help
06-17 17:14:58.828 E: onProgress: [libx264 @ 0xb53de280] using SAR=1/1
06-17 17:14:58.851 E: onProgress: [libx264 @ 0xb53de280] using cpu capabilities: ARMv6 NEON
06-17 17:14:58.865 E: onProgress: [libx264 @ 0xb53de280] profile Constrained Baseline, level 3.0
06-17 17:14:58.865 E: onProgress: [libx264 @ 0xb53de280] 264 - core 152 r2851M ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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
06-17 17:14:58.899 E: onProgress: Output #0, mp4, to '/storage/emulated/0/VideoEditor/Video_editor_1560771898152.mp4':
06-17 17:14:58.900 E: onProgress: Metadata:
06-17 17:14:58.900 E: onProgress: major_brand : isom
06-17 17:14:58.900 E: onProgress: minor_version : 512
06-17 17:14:58.900 E: onProgress: compatible_brands: isomiso2avc1mp41
06-17 17:14:58.900 E: onProgress: comment : vid:v0701dd10000bi84903a28j16o847fp0
06-17 17:14:58.900 E: onProgress: encoder : Lavf58.12.100
06-17 17:14:58.900 E: onProgress: Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 480x480 [SAR 1:1 DAR 1:1], q=-1--1, 25.08 fps, 19264 tbn, 25.08 tbc (default)
06-17 17:14:58.901 E: onProgress: Metadata:
06-17 17:14:58.901 E: onProgress: encoder : Lavc58.18.100 libx264
06-17 17:14:58.901 E: onProgress: Side data:
06-17 17:14:58.902 E: onProgress: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
06-17 17:14:58.902 E: onProgress: Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
06-17 17:14:58.903 E: onProgress: Metadata:
06-17 17:14:58.903 E: onProgress: encoder : Lavc58.18.100 aac
06-17 17:14:58.905 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:14:59.242 E: onProgress: frame= 5 fps=0.0 q=0.0 size= 0kB time=00:00:00.09 bitrate= 4.1kbits/s dup=0 drop=3 speed=0.183x
06-17 17:14:59.727 E: onProgress: frame= 11 fps= 11 q=23.0 size= 0kB time=00:00:00.30 bitrate= 1.3kbits/s dup=0 drop=20 speed=0.294x
06-17 17:15:00.240 E: onProgress: frame= 16 fps= 10 q=23.0 size= 0kB time=00:00:00.53 bitrate= 0.7kbits/s dup=0 drop=36 speed=0.349x
06-17 17:15:00.764 E: onProgress: frame= 22 fps= 11 q=23.0 size= 0kB time=00:00:00.78 bitrate= 0.5kbits/s dup=0 drop=54 speed=0.382x
06-17 17:15:01.264 E: onProgress: frame= 28 fps= 11 q=20.0 size= 0kB time=00:00:00.99 bitrate= 0.4kbits/s dup=0 drop=73 speed=0.389x
06-17 17:15:01.779 E: onProgress: frame= 34 fps= 11 q=24.0 size= 0kB time=00:00:01.25 bitrate= 0.3kbits/s dup=0 drop=90 speed=0.409x
06-17 17:15:02.277 E: onProgress: frame= 40 fps= 11 q=25.0 size= 0kB time=00:00:01.46 bitrate= 0.3kbits/s dup=0 drop=108 speed=0.409x
06-17 17:15:02.799 E: onProgress: frame= 46 fps= 11 q=24.0 size= 256kB time=00:00:01.71 bitrate=1220.7kbits/s dup=0 drop=125 speed=0.42x
06-17 17:15:03.303 E: onProgress: frame= 52 fps= 11 q=24.0 size= 256kB time=00:00:01.95 bitrate=1075.4kbits/s dup=0 drop=143 speed=0.424x
06-17 17:15:03.807 E: onProgress: frame= 58 fps= 11 q=22.0 size= 256kB time=00:00:02.18 bitrate= 961.0kbits/s dup=0 drop=161 speed=0.427x
06-17 17:15:04.316 E: onProgress: frame= 64 fps= 11 q=23.0 size= 256kB time=00:00:02.41 bitrate= 868.6kbits/s dup=0 drop=179 speed=0.43x
06-17 17:15:04.824 E: onProgress: frame= 69 fps= 11 q=22.0 size= 256kB time=00:00:02.67 bitrate= 785.5kbits/s dup=0 drop=196 speed=0.436x
06-17 17:15:05.338 E: onProgress: frame= 76 fps= 11 q=25.0 size= 256kB time=00:00:02.90 bitrate= 722.7kbits/s dup=0 drop=215 speed=0.438x
06-17 17:15:05.838 E: onProgress: frame= 82 fps= 11 q=23.0 size= 256kB time=00:00:03.13 bitrate= 669.1kbits/s dup=0 drop=233 speed=0.439x
06-17 17:15:06.354 E: onProgress: frame= 88 fps= 11 q=21.0 size= 512kB time=00:00:03.36 bitrate=1245.9kbits/s dup=0 drop=251 speed=0.44x
06-17 17:15:06.885 E: onProgress: frame= 94 fps= 12 q=17.0 size= 512kB time=00:00:03.62 bitrate=1158.0kbits/s dup=0 drop=269 speed=0.444x
06-17 17:15:07.367 E: onProgress: frame= 99 fps= 11 q=16.0 size= 512kB time=00:00:03.83 bitrate=1094.8kbits/s dup=0 drop=285 speed=0.442x
06-17 17:15:07.875 E: onProgress: frame= 105 fps= 11 q=16.0 size= 512kB time=00:00:04.06 bitrate=1032.3kbits/s dup=0 drop=302 speed=0.443x
06-17 17:15:08.390 E: onProgress: frame= 111 fps= 11 q=15.0 size= 512kB time=00:00:04.29 bitrate= 976.5kbits/s dup=0 drop=320 speed=0.443x
06-17 17:15:08.895 E: onProgress: frame= 117 fps= 11 q=21.0 size= 512kB time=00:00:04.55 bitrate= 921.7kbits/s dup=0 drop=337 speed=0.446x
06-17 17:15:09.402 E: onProgress: frame= 123 fps= 11 q=21.0 size= 512kB time=00:00:04.78 bitrate= 876.9kbits/s dup=0 drop=355 speed=0.447x
06-17 17:15:09.925 E: onProgress: frame= 129 fps= 11 q=23.0 size= 512kB time=00:00:05.03 bitrate= 832.5kbits/s dup=0 drop=373 speed=0.449x
06-17 17:15:10.426 E: onProgress: frame= 135 fps= 12 q=23.0 size= 512kB time=00:00:05.27 bitrate= 795.8kbits/s dup=0 drop=389 speed=0.449x
06-17 17:15:10.927 E: onProgress: frame= 141 fps= 12 q=23.0 size= 768kB time=00:00:05.50 bitrate=1143.3kbits/s dup=0 drop=407 speed=0.45x
06-17 17:15:11.442 E: onProgress: frame= 148 fps= 12 q=23.0 size= 768kB time=00:00:05.75 bitrate=1092.6kbits/s dup=0 drop=425 speed=0.452x
06-17 17:15:11.813 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:11.947 E: onProgress: frame= 154 fps= 12 q=22.0 size= 768kB time=00:00:06.01 bitrate=1046.2kbits/s dup=0 drop=442 speed=0.454x
06-17 17:15:12.447 E: onProgress: frame= 158 fps= 11 q=22.0 size= 768kB time=00:00:06.17 bitrate=1018.7kbits/s dup=0 drop=453 speed=0.449x
06-17 17:15:12.961 E: onProgress: frame= 164 fps= 11 q=22.0 size= 768kB time=00:00:06.43 bitrate= 978.2kbits/s dup=0 drop=470 speed=0.451x
06-17 17:15:13.520 E: onProgress: frame= 170 fps= 11 q=23.0 size= 768kB time=00:00:06.66 bitrate= 944.1kbits/s dup=0 drop=487 speed=0.45x
06-17 17:15:13.993 E: onProgress: frame= 176 fps= 12 q=23.0 size= 768kB time=00:00:06.89 bitrate= 912.3kbits/s dup=0 drop=505 speed=0.451x
06-17 17:15:14.496 E: onProgress: frame= 182 fps= 12 q=24.0 size= 1024kB time=00:00:07.15 bitrate=1173.0kbits/s dup=0 drop=523 speed=0.453x
06-17 17:15:14.999 E: onProgress: frame= 189 fps= 12 q=22.0 size= 1024kB time=00:00:07.40 bitrate=1132.6kbits/s dup=0 drop=541 speed=0.454x
06-17 17:15:15.528 E: onProgress: frame= 195 fps= 12 q=23.0 size= 1024kB time=00:00:07.68 bitrate=1091.5kbits/s dup=0 drop=559 speed=0.457x
06-17 17:15:16.054 E: onProgress: frame= 202 fps= 12 q=19.0 size= 1024kB time=00:00:07.94 bitrate=1056.4kbits/s dup=0 drop=578 speed=0.458x
06-17 17:15:16.566 E: onProgress: frame= 209 fps= 12 q=18.0 size= 1024kB time=00:00:08.19 bitrate=1023.5kbits/s dup=0 drop=597 speed=0.459x
06-17 17:15:17.075 E: onProgress: frame= 215 fps= 12 q=23.0 size= 1024kB time=00:00:08.45 bitrate= 992.5kbits/s dup=0 drop=615 speed=0.46x
06-17 17:15:17.602 E: onProgress: frame= 221 fps= 12 q=18.0 size= 1280kB time=00:00:08.73 bitrate=1201.1kbits/s dup=0 drop=633 speed=0.462x
06-17 17:15:18.120 E: onProgress: frame= 228 fps= 12 q=21.0 size= 1280kB time=00:00:08.98 bitrate=1166.9kbits/s dup=0 drop=652 speed=0.463x
06-17 17:15:18.635 E: onProgress: frame= 235 fps= 12 q=22.0 size= 1280kB time=00:00:09.24 bitrate=1134.7kbits/s dup=0 drop=671 speed=0.464x
06-17 17:15:19.144 E: onProgress: frame= 241 fps= 12 q=20.0 size= 1280kB time=00:00:09.49 bitrate=1104.2kbits/s dup=0 drop=688 speed=0.465x
06-17 17:15:19.634 E: onProgress: frame= 247 fps= 12 q=23.0 size= 1280kB time=00:00:09.72 bitrate=1077.8kbits/s dup=0 drop=706 speed=0.465x
06-17 17:15:20.153 E: onProgress: frame= 252 fps= 12 q=23.0 size= 1280kB time=00:00:09.93 bitrate=1055.1kbits/s dup=0 drop=720 speed=0.463x
06-17 17:15:20.675 E: onProgress: frame= 258 fps= 12 q=24.0 size= 1280kB time=00:00:10.19 bitrate=1028.7kbits/s dup=0 drop=737 speed=0.464x
06-17 17:15:21.213 E: onProgress: frame= 259 fps= 12 q=24.0 size= 1280kB time=00:00:10.65 bitrate= 983.9kbits/s dup=0 drop=739 speed=0.474x
06-17 17:15:21.718 E: onProgress: frame= 259 fps= 11 q=24.0 size= 1280kB time=00:00:11.12 bitrate= 942.8kbits/s dup=0 drop=739 speed=0.483x
06-17 17:15:22.256 E: onProgress: frame= 259 fps= 11 q=24.0 size= 1280kB time=00:00:11.65 bitrate= 899.6kbits/s dup=0 drop=739 speed=0.495x
06-17 17:15:22.574 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:22.888 E: onProgress: frame= 259 fps= 11 q=24.0 size= 1280kB time=00:00:12.09 bitrate= 866.8kbits/s dup=0 drop=739 speed=0.502x
06-17 17:15:23.325 E: onProgress: frame= 259 fps= 11 q=24.0 size= 1280kB time=00:00:12.46 bitrate= 841.0kbits/s dup=0 drop=739 speed=0.507x
06-17 17:15:23.810 E: onProgress: frame= 259 fps= 10 q=24.0 size= 1280kB time=00:00:12.93 bitrate= 810.8kbits/s dup=0 drop=739 speed=0.515x
06-17 17:15:24.331 E: onProgress: frame= 259 fps= 10 q=24.0 size= 1280kB time=00:00:13.42 bitrate= 781.3kbits/s dup=0 drop=739 speed=0.524x
06-17 17:15:24.873 E: onProgress: frame= 259 fps=9.9 q=24.0 size= 1280kB time=00:00:13.93 bitrate= 752.7kbits/s dup=0 drop=739 speed=0.533x
06-17 17:15:25.374 E: onProgress: frame= 259 fps=9.7 q=24.0 size= 1280kB time=00:00:14.39 bitrate= 728.4kbits/s dup=0 drop=739 speed=0.54x
06-17 17:15:25.898 E: onProgress: frame= 259 fps=9.5 q=24.0 size= 1280kB time=00:00:14.86 bitrate= 705.6kbits/s dup=0 drop=739 speed=0.547x
06-17 17:15:26.407 E: onProgress: frame= 259 fps=9.4 q=24.0 size= 1280kB time=00:00:15.34 bitrate= 683.2kbits/s dup=0 drop=739 speed=0.554x
06-17 17:15:26.917 E: onProgress: frame= 259 fps=9.2 q=24.0 size= 1280kB time=00:00:15.85 bitrate= 661.2kbits/s dup=0 drop=739 speed=0.562x
06-17 17:15:27.430 E: onProgress: frame= 259 fps=9.0 q=24.0 size= 1280kB time=00:00:16.37 bitrate= 640.6kbits/s dup=0 drop=739 speed=0.57x
06-17 17:15:27.957 E: onProgress: frame= 259 fps=8.9 q=24.0 size= 1280kB time=00:00:16.76 bitrate= 625.5kbits/s dup=0 drop=739 speed=0.573x
06-17 17:15:28.489 E: onProgress: frame= 259 fps=8.7 q=24.0 size= 1280kB time=00:00:17.29 bitrate= 606.2kbits/s dup=0 drop=739 speed=0.581x
06-17 17:15:28.999 E: onProgress: frame= 259 fps=8.6 q=24.0 size= 1280kB time=00:00:17.78 bitrate= 589.6kbits/s dup=0 drop=739 speed=0.587x
06-17 17:15:29.187 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:29.567 E: onProgress: frame= 259 fps=8.4 q=24.0 size= 1280kB time=00:00:18.18 bitrate= 576.8kbits/s dup=0 drop=739 speed=0.589x
06-17 17:15:30.107 E: onProgress: frame= 259 fps=8.3 q=24.0 size= 1280kB time=00:00:18.73 bitrate= 559.6kbits/s dup=0 drop=739 speed=0.597x
06-17 17:15:30.606 E: onProgress: frame= 259 fps=8.1 q=24.0 size= 1280kB time=00:00:19.24 bitrate= 544.8kbits/s dup=0 drop=739 speed=0.604x
06-17 17:15:31.127 E: onProgress: frame= 259 fps=8.0 q=24.0 size= 1280kB time=00:00:19.78 bitrate= 530.0kbits/s dup=0 drop=739 speed=0.611x
06-17 17:15:31.626 E: onProgress: frame= 259 fps=7.9 q=24.0 size= 1280kB time=00:00:20.29 bitrate= 516.7kbits/s dup=0 drop=739 speed=0.617x
06-17 17:15:32.164 E: onProgress: frame= 259 fps=7.7 q=24.0 size= 1280kB time=00:00:20.85 bitrate= 502.9kbits/s dup=0 drop=739 speed=0.623x
06-17 17:15:32.686 E: onProgress: frame= 259 fps=7.6 q=24.0 size= 1280kB time=00:00:21.38 bitrate= 490.3kbits/s dup=0 drop=739 speed=0.629x
06-17 17:15:33.222 E: onProgress: frame= 259 fps=7.5 q=24.0 size= 1280kB time=00:00:21.89 bitrate= 478.9kbits/s dup=0 drop=739 speed=0.634x
06-17 17:15:33.744 E: onProgress: frame= 259 fps=7.4 q=24.0 size= 1280kB time=00:00:22.43 bitrate= 467.5kbits/s dup=0 drop=739 speed=0.64x
06-17 17:15:34.264 E: onProgress: frame= 259 fps=7.3 q=24.0 size= 1280kB time=00:00:22.96 bitrate= 456.6kbits/s dup=0 drop=739 speed=0.646x
06-17 17:15:34.764 E: onProgress: frame= 259 fps=7.2 q=24.0 size= 1280kB time=00:00:23.47 bitrate= 446.7kbits/s dup=0 drop=739 speed=0.651x
06-17 17:15:35.269 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:35.293 E: onProgress: frame= 259 fps=7.1 q=24.0 size= 1536kB time=00:00:24.00 bitrate= 524.1kbits/s dup=0 drop=739 speed=0.656x
06-17 17:15:35.792 E: onProgress: frame= 259 fps=7.0 q=24.0 size= 1536kB time=00:00:24.24 bitrate= 519.1kbits/s dup=0 drop=739 speed=0.654x
06-17 17:15:36.294 E: onProgress: frame= 259 fps=6.9 q=24.0 size= 1536kB time=00:00:24.75 bitrate= 508.4kbits/s dup=0 drop=739 speed=0.659x
06-17 17:15:36.812 E: onProgress: frame= 259 fps=6.8 q=24.0 size= 1536kB time=00:00:25.28 bitrate= 497.6kbits/s dup=0 drop=739 speed=0.664x
06-17 17:15:37.314 E: onProgress: frame= 259 fps=6.7 q=24.0 size= 1536kB time=00:00:25.79 bitrate= 487.8kbits/s dup=0 drop=739 speed=0.668x
06-17 17:15:37.832 E: onProgress: frame= 259 fps=6.6 q=24.0 size= 1536kB time=00:00:26.33 bitrate= 477.9kbits/s dup=0 drop=739 speed=0.673x
06-17 17:15:38.332 E: onProgress: frame= 259 fps=6.5 q=24.0 size= 1536kB time=00:00:26.84 bitrate= 468.8kbits/s dup=0 drop=739 speed=0.677x
06-17 17:15:38.850 E: onProgress: frame= 259 fps=6.5 q=24.0 size= 1536kB time=00:00:27.37 bitrate= 459.6kbits/s dup=0 drop=739 speed=0.682x
06-17 17:15:39.361 E: onProgress: frame= 259 fps=6.4 q=24.0 size= 1536kB time=00:00:27.88 bitrate= 451.2kbits/s dup=0 drop=739 speed=0.686x
06-17 17:15:39.877 E: onProgress: frame= 259 fps=6.3 q=24.0 size= 1536kB time=00:00:28.42 bitrate= 442.7kbits/s dup=0 drop=739 speed=0.69x
06-17 17:15:40.379 E: onProgress: frame= 259 fps=6.2 q=24.0 size= 1536kB time=00:00:28.93 bitrate= 434.9kbits/s dup=0 drop=739 speed=0.694x
06-17 17:15:40.898 E: onProgress: frame= 259 fps=6.1 q=24.0 size= 1536kB time=00:00:29.46 bitrate= 427.0kbits/s dup=0 drop=739 speed=0.698x
06-17 17:15:41.401 E: onProgress: frame= 259 fps=6.1 q=24.0 size= 1536kB time=00:00:29.97 bitrate= 419.8kbits/s dup=0 drop=739 speed=0.702x
06-17 17:15:41.406 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:41.916 E: onProgress: frame= 259 fps=6.0 q=24.0 size= 1536kB time=00:00:30.44 bitrate= 413.4kbits/s dup=0 drop=739 speed=0.705x
06-17 17:15:42.421 E: onProgress: frame= 259 fps=5.9 q=24.0 size= 1536kB time=00:00:30.95 bitrate= 406.5kbits/s dup=0 drop=739 speed=0.708x
06-17 17:15:42.946 E: onProgress: frame= 259 fps=5.9 q=24.0 size= 1536kB time=00:00:31.48 bitrate= 399.6kbits/s dup=0 drop=739 speed=0.712x
06-17 17:15:43.442 E: onProgress: frame= 259 fps=5.8 q=24.0 size= 1536kB time=00:00:31.99 bitrate= 393.3kbits/s dup=0 drop=739 speed=0.715x
06-17 17:15:43.959 E: onProgress: frame= 259 fps=5.7 q=24.0 size= 1536kB time=00:00:32.53 bitrate= 386.8kbits/s dup=0 drop=739 speed=0.719x
06-17 17:15:44.459 E: onProgress: frame= 259 fps=5.7 q=24.0 size= 1536kB time=00:00:33.04 bitrate= 380.8kbits/s dup=0 drop=739 speed=0.722x
06-17 17:15:44.976 E: onProgress: frame= 259 fps=5.6 q=24.0 size= 1536kB time=00:00:33.57 bitrate= 374.8kbits/s dup=0 drop=739 speed=0.726x
06-17 17:15:45.477 E: onProgress: frame= 259 fps=5.5 q=24.0 size= 1536kB time=00:00:34.08 bitrate= 369.2kbits/s dup=0 drop=739 speed=0.729x
06-17 17:15:45.993 E: onProgress: frame= 259 fps=5.5 q=24.0 size= 1536kB time=00:00:34.62 bitrate= 363.5kbits/s dup=0 drop=739 speed=0.732x
06-17 17:15:46.496 E: onProgress: frame= 259 fps=5.4 q=24.0 size= 1536kB time=00:00:35.13 bitrate= 358.2kbits/s dup=0 drop=739 speed=0.735x
06-17 17:15:47.014 E: onProgress: frame= 259 fps=5.4 q=24.0 size= 1536kB time=00:00:35.66 bitrate= 352.8kbits/s dup=0 drop=739 speed=0.738x
06-17 17:15:47.340 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:47.622 E: onProgress: frame= 259 fps=5.3 q=24.0 size= 1536kB time=00:00:36.10 bitrate= 348.5kbits/s dup=0 drop=739 speed=0.74x
06-17 17:15:48.042 E: onProgress: frame= 259 fps=5.3 q=24.0 size= 1536kB time=00:00:36.47 bitrate= 345.0kbits/s dup=0 drop=739 speed=0.74x
06-17 17:15:48.555 E: onProgress: frame= 259 fps=5.2 q=24.0 size= 1536kB time=00:00:36.98 bitrate= 340.2kbits/s dup=0 drop=739 speed=0.742x
06-17 17:15:49.066 E: onProgress: frame= 259 fps=5.1 q=24.0 size= 1536kB time=00:00:37.40 bitrate= 336.4kbits/s dup=0 drop=739 speed=0.743x
06-17 17:15:49.585 E: onProgress: frame= 259 fps=5.1 q=24.0 size= 1536kB time=00:00:37.94 bitrate= 331.7kbits/s dup=0 drop=739 speed=0.746x
06-17 17:15:50.083 E: onProgress: frame= 259 fps=5.0 q=24.0 size= 1536kB time=00:00:38.45 bitrate= 327.2kbits/s dup=0 drop=739 speed=0.748x
06-17 17:15:50.624 E: onProgress: frame= 259 fps=5.0 q=24.0 size= 1536kB time=00:00:39.00 bitrate= 322.6kbits/s dup=0 drop=739 speed=0.751x
06-17 17:15:51.145 E: onProgress: frame= 259 fps=4.9 q=24.0 size= 1536kB time=00:00:39.54 bitrate= 318.2kbits/s dup=0 drop=739 speed=0.754x
06-17 17:15:51.667 E: onProgress: frame= 259 fps=4.9 q=24.0 size= 1792kB time=00:00:40.07 bitrate= 366.3kbits/s dup=0 drop=739 speed=0.757x
06-17 17:15:52.190 E: onProgress: frame= 259 fps=4.8 q=24.0 size= 1792kB time=00:00:40.61 bitrate= 361.5kbits/s dup=0 drop=739 speed=0.759x
06-17 17:15:52.710 E: onProgress: frame= 259 fps=4.8 q=24.0 size= 1792kB time=00:00:41.14 bitrate= 356.8kbits/s dup=0 drop=739 speed=0.762x
06-17 17:15:53.210 E: onProgress: frame= 259 fps=4.8 q=24.0 size= 1792kB time=00:00:41.65 bitrate= 352.4kbits/s dup=0 drop=739 speed=0.764x
06-17 17:15:53.553 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:15:53.863 E: onProgress: frame= 259 fps=4.7 q=24.0 size= 1792kB time=00:00:42.14 bitrate= 348.3kbits/s dup=0 drop=739 speed=0.766x
06-17 17:15:54.286 E: onProgress: frame= 259 fps=4.7 q=24.0 size= 1792kB time=00:00:42.53 bitrate= 345.1kbits/s dup=0 drop=739 speed=0.766x
06-17 17:15:54.785 E: onProgress: frame= 259 fps=4.6 q=24.0 size= 1792kB time=00:00:43.04 bitrate= 341.0kbits/s dup=0 drop=739 speed=0.768x
06-17 17:15:55.304 E: onProgress: frame= 259 fps=4.6 q=24.0 size= 1792kB time=00:00:43.58 bitrate= 336.8kbits/s dup=0 drop=739 speed=0.77x
06-17 17:15:55.806 E: onProgress: frame= 259 fps=4.5 q=24.0 size= 1792kB time=00:00:44.09 bitrate= 332.9kbits/s dup=0 drop=739 speed=0.772x
06-17 17:15:56.348 E: onProgress: frame= 259 fps=4.5 q=24.0 size= 1792kB time=00:00:44.65 bitrate= 328.8kbits/s dup=0 drop=739 speed=0.775x
06-17 17:15:56.869 E: onProgress: frame= 259 fps=4.5 q=24.0 size= 1792kB time=00:00:45.18 bitrate= 324.9kbits/s dup=0 drop=739 speed=0.777x
06-17 17:15:57.387 E: onProgress: frame= 259 fps=4.4 q=24.0 size= 1792kB time=00:00:45.72 bitrate= 321.1kbits/s dup=0 drop=739 speed=0.779x
06-17 17:15:57.909 E: onProgress: frame= 259 fps=4.4 q=24.0 size= 1792kB time=00:00:46.25 bitrate= 317.4kbits/s dup=0 drop=739 speed=0.781x
06-17 17:15:58.477 E: onProgress: frame= 259 fps=4.3 q=24.0 size= 1792kB time=00:00:46.74 bitrate= 314.1kbits/s dup=0 drop=739 speed=0.782x
06-17 17:15:58.947 E: onProgress: frame= 259 fps=4.3 q=24.0 size= 1792kB time=00:00:47.25 bitrate= 310.7kbits/s dup=0 drop=739 speed=0.784x
06-17 17:15:59.480 E: onProgress: frame= 259 fps=4.3 q=24.0 size= 1792kB time=00:00:47.78 bitrate= 307.2kbits/s dup=0 drop=739 speed=0.786x
06-17 17:15:59.712 E: onProgress: [mp3float @ 0xb386d400] Could not update timestamps for skipped samples.
06-17 17:16:00.066 E: onProgress: frame= 259 fps=4.2 q=24.0 size= 1792kB time=00:00:48.18 bitrate= 304.7kbits/s dup=0 drop=739 speed=0.786x
06-17 17:16:00.545 E: onProgress: frame= 259 fps=4.2 q=24.0 size= 1792kB time=00:00:48.64 bitrate= 301.8kbits/s dup=0 drop=739 speed=0.787x
06-17 17:16:01.084 E: onProgress: frame= 259 fps=4.2 q=24.0 size= 1792kB time=00:00:49.20 bitrate= 298.4kbits/s dup=0 drop=739 speed=0.789xSecond Command fromGyan’s answer
[-y,
-f, lavfi, -i, amovie=/storage/emulated/0/VideoEditor/.caches/Video_editor_1560774174121.mp3:loop=0,
-i, /storage/emulated/0/Received/VID-20190407-WA0001.mp4,
-i, /storage/emulated/0/Received/MP4_20190220_114210.mp4,
-strict, experimental,
-filter_complex,
[1:v]scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih), pad=480:480:(480-iw*min(480/iw\,480/ih))/2:(480-ih*min(480/iw\,480/ih))/2,setsar=1:1[v1];
[2:v]scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih), pad=480:480:(480-iw*min(480/iw\,480/ih))/2:(480-ih*min(480/iw\,480/ih))/2,setsar=1:1[v2];
[v1][v2] concat=n=2:v=1[vTemp];[vTemp]setpts=0.25*PTS[finalv],
-map, [finalv], -map, 0:a,
-shortest, -preset, ultrafast,
/storage/emulated/0/VideoEditor/Video_editor_1560774181194.mp4]Your help would be appreciated.