Advertisement
Guest User

ffmpeg_notes

a guest
Feb 22nd, 2021
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.17 KB | None | 0 0
  1. __COMBINING VIDEO FILES INTO ONE VIDEO__
  2. CONCATENATING
  3. ffmpeg -i "20190718_131511.mp4" -i "20190718_132801.mp4" -i "20190718_134051.mp4" -i "20190718_135341.mp4" "kitty.mp4"
  4.  
  5.  
  6. Hard-coding the Subtitles into the Video:
  7.  
  8. 1.) converting the mp4 to uploadable mp4
  9. ffmpeg -i "V niin kuin ketutus english subs.mp4" "V niin kuin ketutus english subs2.mp4"
  10.  
  11. 2.) converting the subtitle file into something useful
  12. ffmpeg -i "V niin kuin ketutus.en.srt" subtitles.ass
  13.  
  14. 3.) hard-coding the subtitles to the video
  15. ffmpeg -i "V niin kuin ketutus english subs.mp4" -vf ass=subtitles.ass "V niin kuin ketutus english subtitles.mp4"
  16.  
  17. = = = MOAR = = =
  18.  
  19. ffmpeg -i "joint resolution37 amendment 13 Feb 2019 sm.mp4" -b 125k "Joint_House_Resolution_37_amendment_13_Feb_2019.mp4"
  20.  
  21. took a 22+MB mp4 and downgraded the bitrate so that it was just over 15MB in size
  22.  
  23. First - I looked at the file details------
  24. ------------------------------------------
  25. $ ffmpeg -i "joint resolution37 amendment 13 Feb 2019 sm.mp4"
  26. ffmpeg version 3.3.4-1mx17+2 Copyright (c) 2000-2017 the FFmpeg developers
  27. built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  28. configuration: --prefix=/usr --extra-version=1mx17+2 --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-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
  29. libavutil 55. 58.100 / 55. 58.100
  30. libavcodec 57. 89.100 / 57. 89.100
  31. libavformat 57. 71.100 / 57. 71.100
  32. libavdevice 57. 6.100 / 57. 6.100
  33. libavfilter 6. 82.100 / 6. 82.100
  34. libavresample 3. 5. 0 / 3. 5. 0
  35. libswscale 4. 6.100 / 4. 6.100
  36. libswresample 2. 7.100 / 2. 7.100
  37. libpostproc 54. 5.100 / 54. 5.100
  38. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'joint resolution37 amendment 13 Feb 2019 sm.mp4':
  39. Metadata:
  40. major_brand : mp42
  41. minor_version : 0
  42. compatible_brands: mp42mp41iso4
  43. creation_time : 2019-02-13T21:28:04.000000Z
  44. Duration: 00:07:56.82, start: 0.000000, bitrate: 375 kb/s
  45. Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360, 305 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60 tbc (default)
  46. Metadata:
  47. creation_time : 2019-02-13T21:28:04.000000Z
  48. handler_name : Vireo Eyes v2.4.28
  49. encoder : AVC Coding
  50. Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 65 kb/s (default)
  51. Metadata:
  52. creation_time : 2019-02-13T21:28:04.000000Z
  53. handler_name : Vireo Ears v2.4.28
  54. At least one output file must be specified
  55.  
  56. -----You see that? Bitrate is 375k? -----
  57. ------------------------------------------
  58.  
  59. So, I dropped the bitrate down to 125k and changed the filename a little
  60.  
  61. $ ffmpeg -i "joint resolution37 amendment 13 Feb 2019 sm.mp4" -b 125k "Joint_House_Resolution_37_amendment_13_Feb_2019.mp4"
  62.  
  63. Now doing the same thing except I want to convert it to webm
  64.  
  65. $ ffmpeg -i "joint resolution37 amendment 13 Feb 2019 sm.mp4" -b 125k "Joint_House_Resolution_37_amendment_13_Feb_2019.webm"
  66.  
  67. Its taking a much longer time.
  68.  
  69. $ ffmpeg -i Joint_House_Resolution_37_amendment_13_Feb_2019.mp4 -b 125k -ac 1 -ar 32000 -ab 96 Joint_House_Resolution_37_amendment_13_Feb_2019_Smaller.mp4
  70. (-b 125K reduces video bitrate to 125K)
  71. (-ac 1 (one) : converts stereo to mono)
  72. (-ab 96 : reduces audio bitrate to 96)
  73. (-ar 32000 : reduces the 44100 to 32000)
  74. -filter:v scale=1280:720 -c:a copy ---- scaling
  75. or
  76. -s 1280x720 -c:a copy
  77. The following command will compress and reduce the output file’s size.
  78. $ ffmpeg -i input.mp4 -vf scale=1280:-1 -c:v libx264 -preset veryslow -crf 24 output.mp4
  79. Please note that you will lose the quality if you try to reduce the video file size. You can lower that crf value to 23 or lower if 24 is too aggressive.
  80.  
  81. You could also transcode the audio down a bit and make it stereo to reduce the size by including the following options.
  82.  
  83. -ac 2 -c:a aac -strict -2 -b:a 128k
  84.  
  85. ------------------------------------------
  86. ------------------------------------------
  87. ------------------------------------------
  88. https://www.ostechnix.com/20-ffmpeg-commands-beginners/
  89.  
  90.  
  91. ffmpeg -i filename.ext ---- just gives details about the file
  92.  
  93. - - - - - - - - -
  94.  
  95. Adding a picture to an audio file
  96. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  97. $ ffmpeg -loop 1 -i albumart.jpg -i "08 - Into The Void.mp3" -c:v libx264 -c:a aac -strict experimental -b:a 128k -shortest output.mp4
  98. ==to vp8 under 8GB==
  99. ==example:
  100. == ffmpeg -i Hi_Stranger.mp4 -c:v libvpx -c:a libvorbis -s 480:270 -ab 80k -b:v 150k -ar 24000 Hi_Stranger_480x270.webm
  101. == ffmpeg -loop 1 -i albumart.jpg -i "08 - Into The Void.mp3" -s 200:200 -c:v libvpx -c:a libvorbis -strict experimental -b:a 128k -shortest Black_Sabbath_Into_The_Void_200x200.webm
  102. == it looks like its working
  103. a 6:11 song intu 7,984 kb - 7.9 Mb
  104.  
  105.  
  106.  
  107. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  108. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  109. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  110. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  111. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  112. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  113. $ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
  114.  
  115.  
  116.  
  117. works - image and mp3 to mp4
  118. ffmpeg -r 1 -i cdc_logo.png -i t0221-cdc-telebriefing-covid-19.mp3 -ac 1 -b:a 45K -c:v libx264 -b 50k -c:a aac -strict experimental 21_feb_2020_cdc_brief.mp4
  119.  
  120. - - - - - - - - -
  121.  
  122. ## started with 28.9 Mb filesize
  123.  
  124. Duration: 00:08:38.50, start: -0.007000, bitrate: 445 kb/s
  125. Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
  126. Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default
  127.  
  128. ## converter command
  129.  
  130. $ ffmpeg -i "Demographic Hypocrisy-A19oaNXrapE.webm" -b:v 125k -ac 1 -ab 96k -ar 24000 -s 544:306 "Demographic_Hypocrisy_from_Know_More_News_Youtube.webm"
  131.  
  132. ## thinking that this might reduce it below 16Mb)
  133. ## 2:30 = 5Mb
  134. ## 38 sec = 0.633333333333
  135. ## calculations say 17.26 Mb
  136. came out as 17.6 Mb
  137.  
  138. trying to only resize to 544 x 306
  139.  
  140. - - - - - - - - -
  141.  
  142.  
  143. List of perfect 16:9 ratios
  144. 1920 x 1080
  145. 1904 x 1071
  146. 1888 x 1062
  147. 1872 x 1053
  148. 1856 x 1044
  149. 1840 x 1035
  150. 1824 x 1026
  151. 1808 x 1017
  152. 1792 x 1008
  153. 1776 x 999
  154. 1760 x 990
  155. 1744 x 981
  156. 1728 x 972
  157. 1712 x 963
  158. 1696 x 954
  159. 1680 x 945
  160. 1664 x 936
  161. 1648 x 927
  162. 1632 x 918
  163. 1616 x 909
  164. 1600 x 900
  165. 1584 x 891
  166. 1568 x 882
  167. 1552 x 873
  168. 1536 x 864
  169. 1520 x 855
  170. 1504 x 846
  171. 1488 x 837
  172. 1472 x 828
  173. 1456 x 819
  174. 1440 x 810
  175. 1424 x 801
  176. 1408 x 792
  177. 1392 x 783
  178. 1376 x 774
  179. 1360 x 765
  180. 1344 x 756
  181. 1328 x 747
  182. 1312 x 738
  183. 1296 x 729
  184. 1280 x 720
  185. 1264 x 711
  186. 1248 x 702
  187. 1232 x 693
  188. 1216 x 684
  189. 1200 x 675
  190. 1184 x 666
  191. 1168 x 657
  192. 1152 x 648
  193. 1136 x 639
  194. 1120 x 630
  195. 1104 x 621
  196. 1088 x 612
  197. 1072 x 603
  198. 1056 x 594
  199. 1040 x 585
  200. 1024 x 576
  201. 1008 x 567
  202. 992 x 558
  203. 976 x 549
  204. 960 x 540
  205. 944 x 531
  206. 928 x 522
  207. 912 x 513
  208. 896 x 504
  209. 880 x 495
  210. 864 x 486
  211. 848 x 477
  212. 832 x 468
  213. 816 x 459
  214. 800 x 450
  215. 784 x 441
  216. 768 x 432
  217. 752 x 423
  218. 736 x 414
  219. 720 x 405
  220. 704 x 396
  221. 688 x 387
  222. 672 x 378
  223. 656 x 369
  224. 640 x 360
  225. 624 x 351
  226. 608 x 342
  227. 592 x 333
  228. 576 x 324
  229. 560 x 315
  230. 544 x 306
  231. 528 x 297
  232. 512 x 288
  233. 496 x 279
  234. 480 x 270
  235. 464 x 261
  236. 448 x 252
  237. 432 x 243
  238. 416 x 234
  239. 400 x 225
  240. 384 x 216
  241. 368 x 207
  242. 352 x 198
  243. 336 x 189
  244. 320 x 180
  245. 304 x 171
  246. 288 x 162
  247. 272 x 153
  248. 256 x 144
  249. 240 x 135
  250. 224 x 126
  251. 208 x 117
  252. 192 x 108
  253. 176 x 99
  254. 160 x 90
  255. 144 x 81
  256. 128 x 72
  257. 112 x 63
  258. 96 x 54
  259. 80 x 45
  260. 64 x 36
  261. 48 x 27
  262. 32 x 18
  263. 16 x 9
  264.  
  265. - - - - - - - - -
  266.  
  267. --------------------------------------
  268. --------------------------------------
  269. --------------------------------------
  270.  
  271. Download Youtube Playlist (mp4 formats)
  272.  
  273. $ youtube-dl -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=A9ibhWgMlso&list=PLk7MlpewRSRnzt6NrygRlgJn6S9U34wOp'
  274.  
  275. THEN
  276. BATCH CONVERT
  277. FROM mp4 to mp3
  278.  
  279. $ for i in *.mp4; do ffmpeg -i "$i" "${i%.*}.mp3"; done
  280.  
  281. $ for i in *.webp; do ffmpeg -i "$i" "${i%.*}.png"; done
  282.  
  283.  
  284. $ for i in *.m4a; do ffmpeg -i "$i" "${i%.*}.mp3"; done
  285.  
  286. for i in *.png; do ffmpeg -i "$i" "${i%.*}.tif"; done
  287.  
  288.  
  289.  
  290. ::: Note - could not download playlist directly to mp3s yet :::
  291.  
  292.  
  293.  
  294. --------------------------------------
  295. --------------------------------------
  296. --------------------------------------
  297.  
  298.  
  299. Here are the properties for a 29-minute video under 15 Mb:
  300. --------------------------------------
  301. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ForensicProof_2ndShooter_LasVegas.mp4':
  302. Metadata:
  303. major_brand : isom
  304. minor_version : 512
  305. compatible_brands: isomiso2avc1mp41
  306. encoder : Lavf57.83.100
  307. Duration: 00:29:09.25, start: 0.000000, bitrate: 70 kb/s
  308. Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 44 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
  309. Metadata:
  310. handler_name : VideoHandler
  311. Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 18 kb/s (default)
  312. Metadata:
  313. handler_name : SoundHandler
  314.  
  315.  
  316.  
  317. so,
  318. ffmpeg -i filename.mp4 -b:v 70k -ac 1 -ab 18k -ar 24000 -s 640:360 filename.webm ------ but I'm sure there's more
  319.  
  320. --------------------------------------
  321. --------------------------------------
  322. --------------------------------------
  323.  
  324. FIXED ASPECT FROM 4:3 to 16:9
  325.  
  326. $ ffmpeg -i "Dr. James Johnson Demographic Realities The Browning and Graying of America.mp4" -aspect 16:9 "Dr. James Johnson Demographic Realities The Browning and Graying of America fixed.mp4"
  327.  
  328. ==Original File:============
  329. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Dr. James Johnson Demographic Realities The Browning and Graying of America.mp4':
  330. Metadata:
  331. major_brand : mp42
  332. minor_version : 0
  333. compatible_brands: isommp42
  334. creation_time : 2017-06-16T15:02:27.000000Z
  335. Duration: 00:54:17.25, start: 0.000000, bitrate: 350 kb/s
  336. Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 252 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
  337. Metadata:
  338. handler_name : VideoHandler
  339. Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
  340. Metadata:
  341. creation_time : 2017-06-16T15:02:40.000000Z
  342. handler_name : IsoMedia File Produced by Google, 5-11-2011
  343. ===========================
  344. - - - - - - - - - - - - -
  345. - - - - - - - - - - - - -
  346. - - - - - - - - - - - - -
  347.  
  348. vp8 webm for 4 chan
  349.  
  350. - - - - - - - - - - - - -
  351. - - - - - - - - - - - - -
  352. - - - - - - - - - - - - -
  353. 1.) -an -c:v libvpx -b:v 1M -c:a libvorbis (Don't remember if that worked,)
  354. but this did:
  355. 2.) ffmpeg -i Hi_Stranger.mp4 -c:v libvpx -c:a libvorbis -s 480:270 -ab 80k -b:v 150k -ar 24000 Hi_Stranger_480x270.webm
  356. that is WITH AUDIO
  357. -an is added to remove audio
  358.  
  359. - - - - - - - - - - - - -
  360. - - - - - - - - - - - - -
  361. - - - - - - - - - - - - -
  362.  
  363.  
  364. ffmpeg -i VIDEO1.mp4 -s 640:360 -ac 1 -ab 96k -b:v 200k -ar 24000 VIDEO1.webm
  365. converted a 5:49.39 1280x720 26.8 MiB to 640x360 13.7 Mb
  366.  
  367. -r 30 = 30 fps
  368.  
  369. burned the subtitles in with::: -vf subtitles=subtitle.srt ::: same settings with everything else, and
  370.  
  371.  
  372.  
  373.  
  374.  
  375. ffmpeg -i Tucker_6_Dec_2019_HR_5038_b.webm -s 640:360 -ac 1 -ab 96k -b:v 200k -ar 24000 Tucker_6_Dec_2019_HR_5038_c.webm
  376. -----------------------------
  377. Input #0, matroska,webm, from 'Tucker_6_Dec_2019_HR_5038_b.webm':
  378. Metadata:
  379. ENCODER : Lavf58.20.100
  380. Duration: 00:06:41.80, start: 0.000000, bitrate: 2665 kb/s
  381. Stream #0:0: Video: vp8, yuv420p(bt709/unknown/bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
  382. Metadata:
  383. DURATION : 00:06:41.804000000
  384. Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default)
  385. Metadata:
  386. DURATION : 00:06:41.759000000
  387. Stream mapping:
  388. Stream #0:0 -> #0:0 (vp8 (native) -> vp9 (libvpx-vp9))
  389. Stream #0:1 -> #0:1 (vorbis (native) -> opus (libopus))
  390. Press [q] to stop, [?] for help
  391. [libvpx-vp9 @ 0x55732a81fd00] v1.7.0
  392. Output #0, webm, to 'Tucker_6_Dec_2019_HR_5038_c.webm':
  393. Metadata:
  394. encoder : Lavf58.20.100
  395. Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default)
  396. Metadata:
  397. DURATION : 00:06:41.804000000
  398. encoder : Lavc58.35.100 libvpx-vp9
  399. Side data:
  400. cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  401. Stream #0:1: Audio: opus (libopus), 24000 Hz, mono, flt, 96 kb/s (default)
  402. Metadata:
  403. DURATION : 00:06:41.759000000
  404. encoder : Lavc58.35.100 libopus
  405. -----------------------------
  406. I'm converting it to vp9
  407. should have added
  408. -c:v libvpx
  409.  
  410. I may get the chance to - the video doesn't look like its going to be under 16MB
  411. also
  412. shrink it to 480 x 270
  413.  
  414. ffmpeg -i Tucker_6_Dec_2019_HR_5038_b.webm -c:v libvpx -s 480:270 -ac 1 -ab 96k -b:v 200k -ar 24000 Tucker_6_Dec_2019_HR_5038_d.webm
  415.  
  416. -----------------------------
  417. ffmpeg -i Farrakhan_on_LeBron_James_and_Jewish_Control_July_11_2010.mp4 -s 320:240 -ac 1 -ab 50k -b:v 100k -ar 12000 Farrakhan_on_LeBron_James_and_Jewish_Control_July_11_2010.webm
  418.  
  419. 35.7 Mb to 12.3 Mb (4:3 ratio)
  420. -----------------------------
  421.  
  422.  
  423. 4:3 video
  424. https://www.videoproc.com/video-process/4-3-resolutions.htm
  425.  
  426. Change the Aspect Ratio
  427. ffmpeg -i xxxxxx.mp4 -aspect 400:300 xxxxxx_400x300.mp4
  428.  
  429.  
  430. 1.5 ratio
  431. 720:480
  432. 600:400
  433. 480:320
  434.  
  435.  
  436.  
  437.  
  438. -s 640:360 -c:v libvpx -ac 1
  439.  
  440.  
  441.  
  442. -------
  443.  
  444. downscale
  445.  
  446. ffmpeg -i input_1280x720.mp4 -vf scale=640x480:flags=lanczos -c:v libx264 -preset slow -crf 21 output_compress_640x480p.mp4
  447.  
  448. -------------
  449.  
  450. changing the framerate to 30 fps
  451. ffmpeg -i <input> -filter:v fps=fps=30 <output>
  452.  
  453. -------------
  454.  
  455. one command to change the resolution of a video:
  456. ffmpeg -i input.mp4 -vf scale=-1:720 output.mp4
  457.  
  458. -------------
  459. Lower the quality of H264 but keep it in H264 format
  460. Start
  461.  
  462. Resolution: 1920 x 1080
  463. Frames Per Second: 60
  464. Video Format: ITU H.264
  465. Audio Format: MPEG 1 Audio, Layer 3 (MP3)
  466.  
  467. (Incomplete)
  468.  
  469.  
  470.  
  471. To test audio quality simply use the name of the audio file as follows:
  472.  
  473. $ ffplay audio_filename1.mp3
  474.  
  475.  
  476. To compare videos and audios after converting you can use the commands below. This helps you to test videos and audio quality.
  477.  
  478. $ ffplay video1.mp4
  479.  
  480.  
  481.  
  482.  
  483. 4chins vp8
  484.  
  485. -c:v libvpx -c:a libvorbis -s 480:270 -ab 80k -b:v 150k -ar 24000
  486.  
  487. -c:v libvpx -c:a libvorbis -s 320:180 -ab 80k -b:v 150k -ar 24000
  488.  
  489. Pandemic is Over Lies exposed Agendas Revealed by Pfizer Chief Scientific Advisor-TMGJRV-u_ts_f136_640x360.webm
  490.  
  491. ----------------------------
  492. Splitting up video into timed chunks:
  493.  
  494. ffmpeg -i input.mp4 -c copy -map 0 -segment_time 00:04:00 -f segment output%03d.mp4
  495.  
  496. or
  497.  
  498. ffmpeg -i input.mp4 -ss 00:00:00 -to 00:04:00 -c copy output1.mp4
  499. ffmpeg -i input.mp4 -ss 00:04:00 -to 00:08:00 -c copy output2.mp4
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement