19/12/2023

ok

Tài liệu render video

tách đoạn, đảo đoạn IOS
ffmpeg -i input.mp4 -filter_complex "[0:v]select='lt(t,10)+gt(t,20)',setpts=PTS-STARTPTS[v1]; [0:a]aselect='lt(t,10)+gt(t,20)',asetpts=PTS-STARTPTS[a1]; [0:v]select='lt(t,30)+gt(t,40)',setpts=PTS-STARTPTS[v2]; [0:a]aselect='lt(t,30)+gt(t,40)',asetpts=PTS-STARTPTS[a2]; [v1][a1][v2][a2]concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" output.mp4
This FFmpeg command is used to split a video into parts and then merge them. Here's a breakdown of what each part of the command does:
-i input.mp4: This specifies the input file, which is input.mp4 in this case.
-filter_complex: This option is used to create a filtergraph. A filtergraph is a directed graph of connected filters. It can contain cycles, and can have multiple inputs and outputs.
[0:v]select='lt(t,10)+gt(t,20)',setpts=PTS-STARTPTS[v1]: This selects the video frames from the input video where the timestamp (t) is less than 10 seconds or greater than 20 seconds. The selected frames are then given a new timestamp using the setpts=PTS-STARTPTS filter, which resets the timestamps so that they start from 0. The result is stored in the v1 stream.
[0:a]aselect='lt(t,10)+gt(t,20)',asetpts=PTS-STARTPTS[a1]: This does the same thing as the previous command, but for the audio frames.
[0:v]select='lt(t,30)+gt(t,40)',setpts=PTS-STARTPTS[v2]: This selects the video frames where the timestamp is less than 30 seconds or greater than 40 seconds. The result is stored in the v2 stream.
[0:a]aselect='lt(t,30)+gt(t,40)',asetpts=PTS-STARTPTS[a2]: This does the same thing as the previous command, but for the audio frames.
[v1][a1][v2][a2]concat=n=2:v=1:a=1[outv][outa]: This concatenates the v1, a1, v2, and a2 streams into a single video and audio stream (outv and outa).
-map "[outv]" -map "[outa]": This maps the outv and outa streams to the output file.
output.mp4: This specifies the output file, which is output.mp4 in this case.
So, in summary, this command splits the input video into parts, selects certain parts based on their timestamps, resets the timestamps of the selected parts, and then merges the selected parts into a single video.
explain this: [v1][a1][v2][a2]concat=n=2:v=1:a=1[outv][outa]
This is a part of an FFmpeg command that uses the concat filter to concatenate (merge) multiple input streams into one output stream.
Here's a breakdown of what each part does:
[v1][a1][v2][a2]: These are the input streams that are being concatenated. v1 and v2 are video streams, and a1 and a2 are audio streams. These streams are defined earlier in the command.
concat=n=2:v=1:a=1: This is the concat filter. The n=2 option specifies that there are 2 sets of streams (video and audio) to concatenate. The v=1 option specifies that there is 1 video stream in each set, and the a=1 option specifies that there is 1 audio stream in each set.
[outv][outa]: These are the output streams. outv is the output video stream, and outa is the output audio stream. These streams can be used later in the command or written to an output file.
So, in summary, this part of the command concatenates the v1, a1, v2, and a2 streams into a single video stream (outv) and a single audio stream (outa).
ffmpeg -i edv_g24_2.mp4 -i short-video.mp4 -filter_complex "\
[0:v]trim=0:10,setpts=PTS-STARTPTS[v0]; \
[0:a]atrim=0:10,asetpts=PTS-STARTPTS[a0]; \
[1:v]trim=0:5,setpts=PTS-STARTPTS[v1]; \
[1:a]atrim=0:5,asetpts=PTS-STARTPTS[a1]; \
[0:v]trim=15:30,setpts=PTS-STARTPTS[v2]; \
[0:a]atrim=15:30,asetpts=PTS-STARTPTS[a2]; \
[v0][a0][v1][a1][v2][a2]concat=n=3:v=1:a=1[outv][outa]" \
-map "[outv]" -map "[outa]" output.mp4

✅ ffmpeg -i short-video.mp4 -filter_complex "\
[0:v]trim=0:10,setpts=PTS-STARTPTS[v0]; \
[0:a]atrim=0:10,asetpts=PTS-STARTPTS[a0]; \
[0:v]trim=10:15,setpts=PTS-STARTPTS[v1]; \
[0:a]atrim=10:15,asetpts=PTS-STARTPTS[a1]; \
[v1][a1][v0][a0]concat=n=2:v=1:a=1[outv][outa]" \
-map "[outv]" -map "[outa]" output.mp4

-y -i /storage/emulated/0/Download/MarvelEditor20231228_1505338711846035689831583.mp4 -filter_complex [0:v]trim=0.0:2.3085714721679693,setpts=PTS-STARTPTS[v0];[0:a]atrim=0.0:2.3085714721679693,asetpts=PTS-STARTPTS[a0]; [0:v]trim=2.3085714721679693:11.0,setpts=PTS-STARTPTS[v1];[0:a]atrim=2.3085714721679693:11.0,asetpts=PTS-STARTPTS[a1]; [v0][a0] [v1][a1] concat=n=2:v=1:a=1[outv][outa] -map "[outv]" -map "[outa]" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/MarvelEditor20240110_151015_7611693026101023949.mp4

-y -i /storage/emulated/0/Download/MarvelEditor20231228_1505338711846035689831583.mp4 -filter_complex "[0:v]trim=0:5,setpts=PTS-STARTPTS[v0];[0:a]atrim=0:5,asetpts=PTS-STARTPTS[a0];[0:v]trim=5:10,setpts=PTS-STARTPTS[v1];[0:a]atrim=5:10,asetpts=PTS-STARTPTS[a1];[v1][a1][v0][a0]concat=n=2:v=1:a=1[outv][outa]"-map "[outv]" -map "[outa]" /storage/emulated/0/DCIM/Camera/longnn.mp4

-y -i /storage/emulated/0/DCIM/camera/video_longnn1.mp4 -filter_complex " [0:v]trim=start='0:0:00':end='0:0:01',setpts=PTS-STARTPTS[v0];[0:a]atrim=start='0:0:00':end='0:0:01',asetpts=PTS-STARTPTS[a0]; [0:v]trim=start='0:0:01':end='0:0:07',setpts=PTS-STARTPTS[v1];[0:a]atrim=start='0:0:01':end='0:0:07',asetpts=PTS-STARTPTS[a1]; [v0][a0][v1][a1] concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/MarvelEditor20240111_150537_8346314904938772528.mp4

-y -f lavfi -i color=s=1280x720:d=5 -vf drawtext=fontfile=file:///android_asset/Inter-Regular.ttf:text='Hello áddas ':fontcolor=white:box=1:boxcolor=white@0.5:bordercolor=black:fontsize=42:x=0:y=0 ,rotate=30*PI/180:c=black@0.5-frames:v 1/storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240222_164148_1170200514009672206.png

-y -i file:/data/user/0/com.viettel.myclip/cache/VisionCamera-20240301_1443404146343821414753048.mp4 -i file:/data/user/0/com.viettel.myclip/cache/VisionCamera-20240301_1443473209165365941372387.mp4 -i file:/data/user/0/com.viettel.myclip/cache/VisionCamera-20240301_1443531108270964028635406.mp4 -filter_complex "[0:v] [0:a][1:v] [1:a][2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240301_145009_3971258247916226952.mp4
2024-03-01 16:03:37.704 23734-23950 OptiVideoEditor com.viettel.myclip I executeFfmpegCommand: -y -i /storage/emulated/0/Download/ViettelSoftware20240301_1507085252612810559729342.mp4 -vf subtitles='/data/user/0/com.viettel.myclip/cache/your_file.srt' -c:a copy /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240301_160300_227591746169190286.mp4 ✅

-y -i /storage/emulated/0/Download/ViettelSoftware20240126_1412101416936530153313168.mp4 -vf subtitles=/data/user/0/com.viettel.myclip/cache/your_file.srt:force_style='OutlineColour=&H40000000' -c:a copy /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240301_162254_3088235049253301243.mp4✅

-y -i file:///var/mobile/Containers/Data/Application/01CF90B7-7242-4A38-ABB5-E1F84CBCBBB9/tmp/695BB220-FC6D-4438-9DF0-22126F421AAC.mov -filter_complex "subtitles=/var/mobile/Containers/Data/Application/01CF90B7-7242-4A38-ABB5-E1F84CBCBBB9/Documents/your_file.srt:force_style='Alignment=1,MarginL=176,MarginT=320,Fontsize=10'
-y -i file:///private/var/mobile/Containers/Data/Application/EA3C5138-6933-435D-9CC4-952301A5A17B/tmp/ReactNative/C8BCD585-D51E-4E67-863A-0B2467AC9763.mov -i /private/var/mobile/Containers/Data/Application/EA3C5138-6933-435D-9CC4-952301A5A17B/tmp/ReactNative/E3F0BAD3-FCC5-43DC-B710-AC9DD5821E39.png -q:v 0.5 -filter_complex "[1:v]rotate=0.000000*PI/180:c=none[rotated]; [0:v][rotated]overlay=(519.130432 - w/2):(1325.546265 - h/2):enable='between(t,0.000000,9.000000)'" /var/mobile/Containers/Data/Application/EA3C5138-6933-435D-9CC4-952301A5A17B/Documents/videoutput/viettel_20240311144228.mov
-y -i /storage/emulated/0/DCIM/Camera/video_20240221_120205.mp4 -i file:///data/user/0/com.viettel.myclip/cache/Capture-shot6228177447920794646.png -filter_complex "[1:v]rotate=0*PI/180:c=none[rotated]; [0:v][rotated] overlay=(640.0 - w/2):(360.0 - h/2):enable='between(t,0.0,5.0)'" -q:v 1 -c:a copy /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240311_145346_3195105817680528425.mp4
-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/tmp/ReactNative/01CD9D1D-0207-4F81-A281-4DA2590B3D07.png -q:v 0.5 -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(960.000000 - w/2):(540.000000 - h/2):enable='between(t,0.000000,3.421667)'" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/Documents/videoutput/viettel_20240313140556.mov

-i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/tmp/ReactNative/01CD9D1D-0207-4F81-A281-4DA2590B3D07.png -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/tmp/ReactNative/7B69A13B-E3B9-433D-8E62-96041E93BFC6.png -filter_complex [1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0, 3.421666666666667)' /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/Documents/videoutput/viettel_20240313140556.mov;[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [1:v]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0, 3.421666666666667)' /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/Documents/videoutput/viettel_20240313140556.mov /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/84A08E35-6C73-4439-B7FB-FB63AFEF1F7A/Documents/videoutput/viettel_20240313140556.mov

-i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/C013887C-FE36-4C54-976E-94D7002152C2/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/C013887C-FE36-4C54-976E-94D7002152C2/tmp/ReactNative/11CF4FC3-4945-4B25-9FD7-F61B750C78A4.png -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/C013887C-FE36-4C54-976E-94D7002152C2/tmp/ReactNative/FC0B58A9-BE41-4503-916C-71E5DCEC7514.png -filter_complex [1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,1.793333, 3.421667)'[v1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [1:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v2] /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/C013887C-FE36-4C54-976E-94D7002152C2/Documents/videoutput/viettel_20240313151054.mov

-i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B9CA565C-14F8-4E53-8404-01868798709D/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B9CA565C-14F8-4E53-8404-01868798709D/tmp/ReactNative/AD48AD6A-AC39-44DE-96A0-92EFB55EB3CB.png -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B9CA565C-14F8-4E53-8404-01868798709D/tmp/ReactNative/1315D5BE-1CB3-4C9F-BB0E-9A038A5D53D4.png -filter_complex [1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [1:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v2] /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B9CA565C-14F8-4E53-8404-01868798709D/Documents/videoutput/viettel_20240313154239.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/ReactNative/CC330D39-1F11-4665-9945-6E493C551549.png -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/ReactNative/33BC7003-C3F9-4AA7-A4C1-77E360827054.png -filter_complex [1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [1:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v2] /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/Documents/videoutput/viettel_20240313160550.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/ReactNative/725E7FE1-B5A5-4771-AD44-D2250DDE0B73.png -q:v 0.5 -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(960.000000 - w/2):(540.000000 - h/2):enable='between(t,0.000000,3.421667)'" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/Documents/videoutput/viettel_20240313162544.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/ReactNative/725E7FE1-B5A5-4771-AD44-D2250DDE0B73.png -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/tmp/ReactNative/9D22EACC-DB49-4D9A-B08A-31B7EB759554.png -filter_complex [1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [1:v][rotated]overlay=(0.000000 - w/2):(0.000000 - h/2):enable='between(t,0.000000, 3.421667)'[v2] /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/0711A888-D696-40FE-AD61-8CB462DC7F31/Documents/videoutput/viettel_20240313162544.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/987EA6A8-DFFE-4709-9D12-F89F96930785/tmp/TrimVideo.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/987EA6A8-DFFE-4709-9D12-F89F96930785/tmp/ReactNative/4D014890-996A-49E1-A3D8-887A6BAABE48.png -q:v 0.5 -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(960.000000 - w/2):(540.000000 - h/2):enable='between(t,0.000000,3.421667)'" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/987EA6A8-DFFE-4709-9D12-F89F96930785/Documents/videoutput/viettel_20240313163310.mov
-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/tmp/viettel_20240313101430.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/tmp/ReactNative/C562E630-7B7B-4E75-BA70-AF2EF4D8CF6A.png -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/Documents/videoutput/viettel_20240313171312.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/tmp/viettel_20240313101430.mov -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/tmp/ReactNative/6D4AA315-3057-414A-969E-E26DBC04B912.png -i /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/tmp/ReactNative/3150C770-48FD-41F3-8B2D-5DE438EFDC0B.png -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)';[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [1:v][rotated]overlay=(381.526703 - w/2):(811.532715 - h/2):enable='between(t,0.000000, 1.652000)'" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/3BF56A79-818A-404D-B244-9EB5DF26FB7B/Documents/videoutput/viettel_20240313171536.mov
'-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/85B8D118-43C1-4D12-B308-8E47682128DB/tmp/viettel_20240313101430.mov -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/85B8D118-43C1-4D12-B308-8E47682128DB/Documents/ViettelSoftware_1710392446309.png -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/85B8D118-43C1-4D12-B308-8E47682128DB/Documents/ViettelSoftware_1710392449999.png -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [0:v][rotated]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[v1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated]; [v1][rotated]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[v2]" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/85B8D118-43C1-4D12-B308-8E47682128DB/Documents/videoutput/viettel_20240314120051.mov'.

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B1F6CA1D-3ECB-46FF-B250-B32D6D29368B/tmp/viettel_20240313101430.mov -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B1F6CA1D-3ECB-46FF-B250-B32D6D29368B/Documents/ViettelSoftware_1710401685840.png -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B1F6CA1D-3ECB-46FF-B250-B32D6D29368B/Documents/ViettelSoftware_1710401690595.png -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated0]; [0:v][rotated0]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[vd1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated1]; [v2][rotated1]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[vd2]" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/B1F6CA1D-3ECB-46FF-B250-B32D6D29368B/Documents/videoutput/viettel_20240314143453.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/E51033EE-E674-4C1D-97A4-B3E236343160/tmp/viettel_20240313101430.mov -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/E51033EE-E674-4C1D-97A4-B3E236343160/Documents/ViettelSoftware_1710401891848.png -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/E51033EE-E674-4C1D-97A4-B3E236343160/Documents/ViettelSoftware_1710401895339.png -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated0]; [0:v][rotated0]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[vd1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated1]; [vd1][rotated1]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[vd2]" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/E51033EE-E674-4C1D-97A4-B3E236343160/Documents/videoutput/viettel_20240314143817.mov

-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/DA7F2B38-262C-4B06-B526-F7F8081C75A3/tmp/viettel_20240313101430.mov -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/DA7F2B38-262C-4B06-B526-F7F8081C75A3/Documents/ViettelSoftware_1710402235796.png -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/DA7F2B38-262C-4B06-B526-F7F8081C75A3/Documents/ViettelSoftware_1710402239475.png -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated0]; [0:v][rotated0]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'[vd1];[2:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated1]; [vd1][rotated1]overlay=(540.000000 - w/2):(960.000000 - h/2):enable='between(t,0.000000, 1.652000)'" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/DA7F2B38-262C-4B06-B526-F7F8081C75A3/Documents/videoutput/viettel_20240314144401.mov

-y -i file:///var/mobile/Containers/Data/Application/3FACB880-2515-464B-96BD-28257D18A267/tmp/viettel_20240308192317.mov -filter_complex " [0:v]trim=0:2.86,setpts=0.349650*PTS[v0];[0:a]atrim=0:2.86,asetpts=0.349650*PTS[a0]; [0:v]trim=2.86:7.35,setpts=0.136054*PTS[v1];[0:a]atrim=2.86:7.35,asetpts=0.136054*PTS[a1]; [0:v]trim=7.35:9.15,setpts=0.109290*PTS[v2];[0:a]atrim=7.35:9.15,asetpts=0.109290*PTS[a2]; [v0][a0][v1][a1][v2][a2] concat=n=3:v=1:a=1[outv][outa]" -q:v 1 -map "[outv]" -map "[outa]" /var/mobile/Containers/Data/Application/3FACB880-2515-464B-96BD-28257D18A267/Documents/videoutput/viettel_20240315105825.mov
executeFfmpegCommand: -y -i /data/user/0/com.viettel.myclip/cache/EditVideo/ViettelSoftware20240315_144608_2199362015468087287.mp4 -i file:///data/user/0/com.viettel.myclip/cache/ViettelSoftware_17104887672788566419285080577093.png -i file:///data/user/0/com.viettel.myclip/cache/ViettelSoftware_17104887672815760749459664668299.png -q:v 1 -filter_complex "[0:v]rotate=0.0:c=none:ow=iw:oh=iw[rotated0]; [0:v][rotated0]overlay=(540.0 - w/2):(1170.0 - h/2):enable='between(t,0.0, 4.0)[vd1];[1:v]rotate=0.0:c=none:ow=iw:oh=iw[rotated1]; [vd1][rotated1]overlay=(488.51953 - w/2):(1408.6067 - h/2):enable='between(t,0.0, 4.0)" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240315_144608_8437096360707406235.mp4

-y -i /data/user/0/com.viettel.myclip/cache/EditVideo/ViettelSoftware20240319_112644_2918746577842740800.mp4 -i file:///data/user/0/com.viettel.myclip/cache/ViettelSoftware_17108223896307117506675404334838.png -q:v 0.5 -filter_complex "[0:v]rotate=0.0*PI/180:c=none:ow=iw:oh=iw[rotated0]; [rotated0][0:v]scale2ref=w=oh*mdar:ih*0.12067796739481264[img][vid]; [vid][img]overlay=(960.0 - w/2):(540.0 - h/2):enable='between(t,0.0, 6.148113)'" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240319_112639_7440589846976213509.mp4
-y -i /data/user/0/com.viettel.myclip/cache/EditVideo/ViettelSoftware20240319_114515_1719281116445011848.mp4 -i file:///data/user/0/com.viettel.myclip/cache/ViettelSoftware_17108235134926801279002908379392.png -q:v 0.5 -filter_complex "[1:v]rotate=0.0*PI/180:c=none:ow=iw:oh=iw[rotated0]; [rotated0][0:v]scale2ref=w=oh*mdar:ih*0.24135593478962528[img][vid]; [vid][img]overlay=(960.0 - w/2):(540.0 - h/2):enable='between(t,0.0, 7.127757)'" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240319_114515_6514150426263885550.mp4
-y -i file:///var/mobile/Containers/Data/Application/AC0C5B67-BF2F-4ABD-9A32-80726161A7D6/Documents/videoutput/viettel_20240319175503.mov -i /private/var/mobile/Containers/Data/Application/AC0C5B67-BF2F-4ABD-9A32-80726161A7D6/tmp/ReactNative/995F29D6-6519-45DD-838C-42E61EECC175.png -q:v 0.5 -filter_complex "[1:v]rotate=0.000000*PI/180:c=none:ow=iw:oh=iw[rotated0]; [rotated0][0:v]scale2ref=w=oh*mdar:ih*0.214286[img][vid]; [vid][img]overlay=(960.000000 - w/2):(540.000000 - h/2):enable='between(t,0.000000, 4.963333)'" /var/mobile/Containers/Data/Application/AC0C5B67-BF2F-4ABD-9A32-80726161A7D6/Documents/videoutput/viettel_20240319175537.mov
-y-i file:///private/var/mobile/Containers/Data/Application/47427633-6058-438D-841D-FDEC4043607C/tmp/ReactNative/A397C67D-32CF-4098-90A8-E5E6DB379104.mov-i file:///private/var/mobile/Containers/Data/Application/47427633-6058-438D-841D-FDEC4043607C/tmp/ReactNative/61DDB20F-AAA5-4DA6-88BC-C63FC4E2F8AD.mov-filter_complex " [0:v][0:a] [1:v][1:a] concat=n=2:v=1:a=1 [v] [a]"-map "[v]"-map "[a]"/var/mobile/Containers/Data/Application/47427633-6058-438D-841D-FDEC4043607C/Documents/videoutput/viettel_20240320165935.mov
-y -i file:///private/var/mobile/Containers/Data/Application/D00A3094-2FC0-47D8-ACA0-F6A56B1AC77D/tmp/ReactNative/5E333FC5-DDEC-42A9-A8B3-3F060B7E55CA.mov -i file:///private/var/mobile/Containers/Data/Application/D00A3094-2FC0-47D8-ACA0-F6A56B1AC77D/tmp/ReactNative/ECE6952A-83A1-4BD5-8873-3B330FAF4E13.mov -filter_complex " [0:v][0:a] [1:v][1:a] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" /var/mobile/Containers/Data/Application/D00A3094-2FC0-47D8-ACA0-F6A56B1AC77D/Documents/videoutput/viettel_20240320170536.mov
-y -i file:///private/var/mobile/Containers/Data/Application/84B5F342-BD19-450B-BEC4-3A976AE2E8DE/tmp/ReactNative/0A5B7B41-0DE8-44EF-815A-135896C7E71A.mov -i file:///private/var/mobile/Containers/Data/Application/84B5F342-BD19-450B-BEC4-3A976AE2E8DE/tmp/ReactNative/01512CFB-52F2-4EBD-896F-F90C611296F0.mov -q:v 0.1 -filter_complex " [0:v][0:a] [1:v][1:a] c=n=2:v=1:a=1 [v][a]" -map "[v]" -map "[a]" -shortest -c:v copy -c:a copy /var/mobile/Containers/Data/Application/84B5F342-BD19-450B-BEC4-3A976AE2E8DE/Documents/videoutput/viettel_20240321114113.mov'.
-y -i file:///private/var/mobile/Containers/Data/Application/22C698AA-5FA8-44A7-94DD-85F704DCBA59/tmp/ReactNative/E62E9D18-D79B-45ED-A911-0E0EBE18C50D.mov -i file:///private/var/mobile/Containers/Data/Application/22C698AA-5FA8-44A7-94DD-85F704DCBA59/tmp/ReactNative/9CE61A47-D0E4-456D-BE24-82E56147F75B.mov -q:v 0.1 -filter_complex "[0]setdar=16/9[v0];[1]setdar=16/9[v1];[v0][v1] concat=n=2:v=1:a=1 [v][a]" -map "[v]" -map "[a]" -c:v copy -c:a copy /var/mobile/Containers/Data/Application/22C698AA-5FA8-44A7-94DD-85F704DCBA59/Documents/videoutput/viettel_20240322095740.mov'
-y -i file:/data/user/0/com.viettel.myclip/cache/VisionCamera-20240322_1057307375375285330703699.mp4 -i file:/data/user/0/com.viettel.myclip/cache/VisionCamera-20240322_1057357516060294256357071.mp4 -q:v 0.1 -filter_complex "[0]scale=1920x1080,setdar=9/16[v0];[1]scale=1920x1080,setdar=9/16[v1]; [v0] [0:a][v1] [1:a] concat=n=2:v=1:a=1 [v][a]" -vsync 2 -map "[v]" -map "[a]" /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/ViettelSoftware20240322_105742_7837157187448159856.mp4
-y -i file:///private/var/mobile/Containers/Data/Application/B657AA0D-1C82-4273-9532-254F93B185D1/tmp/ReactNative/897E559F-4F53-4F87-A9F0-041508EC0478.mov -i file:///private/var/mobile/Containers/Data/Application/B657AA0D-1C82-4273-9532-254F93B185D1/tmp/ReactNative/930AD2A9-81EB-49D9-A860-B3BE84ECB319.mov -q:v 0.1 -strict experimental -filter_complex "[0]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[v0];[1]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[v][a]" -vsync 2 -map "[v]" -map "[a]" -ab 48000 -ac 2 -ar 22050 -s 1920x1080 -vcodec libx264 -crf 27 -q 4 -preset ultrafast /var/mobile/Containers/Data/Application/B657AA0D-1C82-4273-9532-254F93B185D1/Documents/videoutput/viettel_20240322112851.mov
2024-03-22 19:06:22.532587+0700 MyClip[36974:4893082] message log: 'frame= 1997 fps= 21 q=0.1 size= 148736kB time=00:00:33.29 bitrate=36590.0kbits/s dup=1 drop=0 speed=0.352x
-y -i file:///var/mobile/Containers/Data/Application/6137537D-628F-45F2-A091-88A2EB354895/tmp/1HPO5E1U1_78QPB3.mp4 -filter_complex " [0:v]trim=1.74:24.87,setpts=1.000000*PTS[v0];[0:a]atrim=1.74:24.87,asetpts=1.000000*PTS[a0]; [v0][a0] concat=n=1:v=1:a=1[outv][outa]" -q:v 1 -ab 48000 -ac 2 -ar 22050 -map "[outv]" -map "[outa]" /var/mobile/Containers/Data/Application/6137537D-628F-45F2-A091-88A2EB354895/Documents/videoutput/viettel_20240325092926.mp4
-y -i file:///var/mobile/Containers/Data/Application/DCB8B625-88A6-4DD1-8156-A4A6843625D6/tmp/1HPO5E1U1_78QPB3.mp4 -filter_complex " [0:v]trim=1.79:5,setpts=1.000000*PTS[v0];[0:a]atrim=1.79:5,asetpts=1.000000*PTS[a0]; [0:v]trim=8.56:24.87,setpts=1.000000*PTS[v1];[0:a]atrim=8.56:24.87,asetpts=1.000000*PTS[a1]; [v0][a0][v1][a1] concat=n=2:v=1:a=1[outv][outa]" -q:v 1 -ab 48000 -ac 2 -ar 22050 -map "[outv]" -map "[outa]" /var/mobile/Containers/Data/Application/DCB8B625-88A6-4DD1-8156-A4A6843625D6/Documents/videoutput/viettel_20240325094302.mp4
megaphone

Ghi chú

gửi lại anh quang những merge request
phần render trên android sẽ phải test lại phần promise resolve
phần render android debug lại trên app cũ xem File và cmd nó như nào ​render app cũ
image.png
image.png
image.png

image.png
image.png
image.png
/storage/emulated/0/Android/data/com.obs.marveleditor/files/Movies/MarvelEditor20231219_110317_2054145880824434632.mp4
/storage/emulated/0/DCIM/Camera/video_20230912_142445.mp4
-y -i /storage/emulated/0/DCIM/camera/video_20231219_142546.mp4 -filter_complex [0:v]setpts=1.5*PTS[v];[0:a]atempo=0.5[a] -map [v] -map [a] /storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/MarvelEditor20231222_163938_8671198139233843421.mp4

-y -i /storage/emulated/0/DCIM/camera/video_20231219_142546.mp4 -filter_complex [0:v]trim=0:0,setpts=PTS-STARTPTS[v1];[0:v]trim=0:2,setpts=2*(PTS-STARTPTS)[v2];[0:v]trim=2,setpts=PTS-STARTPTS[v3];[0:a]atrim=0:0,asetpts=PTS-STARTPTS[a1];[0:a]atrim=0:2,asetpts=PTS-STARTPTS,atempo=0.5[a2];[0:a]atrim=2,asetpts=PTS-STARTPTS[a3];[v1][a1][v2][a2][v3][a3]concat=n=3:v=1:a=1 -b:v 2097k -vcodec mpeg4 -crf 0 -preset superfast /data/user/0/com.raghav.gfgffmpeg/cache/1703237483099.mp4

/storage/emulated/0/Android/data/com.obs.marveleditor/files/Movies/MarvelEditor20231226_141954_6432506314434328600.mp4
/storage/emulated/0/Android/data/com.viettel.myclip/files/Movies/MarvelEditor20231226_142212_5085900210160356398.mp4

image.png
image.png
image.png
image.png

customUploadId: "5e32491b-a240-4d22-969f-87042cc01833"
field: "file"
headers: Object
maxRetries: 0
method: "POST"
parameters: Object
path: "file:///var/mobile/Containers/Data/Application/C02EEF62-2FA3-42EE-AB87-3F3885CFFA21/Documents/SpeedVideo/SpeedVideo.m4v"
type: "multipart"
url: "http://beta.myclip.viettel.vn/v5/uploads/push-file/VOD"

customUploadId: "f640e16d-c6ae-4ef8-81fe-7fce65b6033d"
field: "file"
headers: Object
maxRetries: 0
method: "POST"
parameters: Object
path: "file:///private/var/mobile/Containers/Data/Application/C02EEF62-2FA3-42EE-AB87-3F3885CFFA21/tmp/ReactNative/BFAE2818-6A5B-419B-893B-3AE79594FF8A.mov"
type: "multipart"
url: "http://beta.myclip.viettel.vn/v5/uploads/push-file/VOD"
image.png
image.png
/storage/emulated/0/DCIM/camera/video_longnn1.mp4
/Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/E71777B3-65E0-4154-8948-AD91616F196E/Documents/videoutput/videoutput.mov
file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/FE6BD236-FF82-4CFF-96AD-48F221FC87B3/tmp/IMG_2607-AF3DB62E-69C7-4261-A840-11626083965E.mov -filter_complex "[0:v]trim=5:7,setpts=PTS-STARTPTS[v0]; [0:a]atrim=5:7,asetpts=PTS-STARTPTS[a0]; [0:v]trim=3:5,setpts=PTS-STARTPTS[v1]; [0:a]atrim=3:5,asetpts=PTS-STARTPTS[a1]; [v1][a1][v0][a0]concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/FE6BD236-FF82-4CFF-96AD-48F221FC87B3/Documents/videoutput/videoutput.mov

FFmpeg process started with arguments '-y -i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/71283BF4-C56E-4E8A-95C8-4BF90D625BD9/tmp/IMG_3344-9E3CE61B-2177-4101-8A3D-F4D000ADE9DC.mov -filter_complex "[0:v]trim=3:5,setpts=PTS-STARTPTS[v0]; [0:a]atrim=3:5,asetpts=PTS-STARTPTS[a0]; [0:v]trim=1:2,setpts=PTS-STARTPTS[v1]; [0:a]atrim=1:2,asetpts=PTS-STARTPTS[a1]; [v1][a1][v0][a0]concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/71283BF4-C56E-4E8A-95C8-4BF90D625BD9/Documents/videoutput/videoutput.mov'.

file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/C803056B-99A6-4536-B0B0-0849EBDB113E/tmp/IMG_1444%203-11D72379-890D-4435-BF19-A5F99DF12C29.mov -filter_complex " [0:v]trim=3.66:5.15,setpts=PTS-STARTPTS[v0];[0:a]atrim=3.66:5.15,asetpts=PTS-STARTPTS[a0]; [0:v]trim=1.2:3.66,setpts=PTS-STARTPTS[v1];[0:a]atrim=1.2:3.66,asetpts=PTS-STARTPTS[a1]; [v0][a0][v1][a1] concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/C803056B-99A6-4536-B0B0-0849EBDB113E/Documents/videoutput/videoutput.mov

-i file:///Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/F06F0C30-8AD8-41AD-88D3-7553EBBF7CF8/tmp/0.mov -vf "[in]drawbox=y=ih:color=black@0.5:w=iw:h=ih[t];[t]drawtext=fontfile=/Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Bundle/Application/C8622467-A575-411B-9535-3B8CF3418589/MyClip.app/Inter-Regular.ttf:text='Sample Text':fontsize=30:fontcolor=white:x=(w-text_w)/2:y=(h-text_h)/2,rotate=45*PI/180:ow=rotw(iw):oh=roth(ih):c=black@0" -codec:a copy /Users/vtit/Library/Developer/CoreSimulator/Devices/26D221CD-40B2-4B09-BBA9-A9EEA97CD9C2/data/Containers/Data/Application/F06F0C30-8AD8-41AD-88D3-7553EBBF7CF8/Documents/videoutput/videoutput.mov


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.