Advertisement
Najeebsk

FFMPEG-YOUTUBE.txt

Nov 20th, 2023
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. CTRL+C BREAK
  2. -----------------------------
  3. For The Transpose Paramerer 0=90 Clockwise and Vertical Flip (Default)
  4. 1= 90 Clockwise ; 2= 90 CounterClockwise ; 3= 90 Clockwise and Vertical Flip
  5. Use = -vf "transpose=2, transpose=2" For 180 degrees
  6. FFMPEG -i "INVideo.mp4" -vf "transpose=1" "OutVideo.mp4"
  7. -----------------------------------------------------------------------------------------------
  8.  
  9. FFMPEG -i "Video.mp4" -ss 00:01:16 -to 00:03:00 -c:v copy -c:a copy "TrimVideo.mp4"
  10.  
  11. FFMPEG -i "Video.mp4" -vf reverse "outputReverse1.mp4"
  12.  
  13. FFMPEG -i "Video.mp4" -vf reverse -af areverse "outputReverse2.mp4"
  14.  
  15. FFMPEG -f gdigrab -framerate 30 -i desktop "DesktopRecorder.mp4"
  16.  
  17. FFMPEG -ss 00:15:00 -to 00:20:00 -i "https://www.streming.m3u8" -acodec copy -vcodec copy "Output.mp4"
  18.  
  19. FFMPEG -i "https://www.streming.m3u8" -c:v libx264 -preset ultrafast -crf 25 "Output.mp4"
  20.  
  21. FFMPEG -i "https://www.streming.m3u8" -bsf:a acc_adtstoasc -crf 18 "Output.mp4"
  22.  
  23. FFMPEG -i http://.../playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4
  24. ---------------------------------------------------------------------------------------------------
  25. youtube-dl -g "https://host.com/some-webplay-video"
  26.  
  27. youtube-dl -g https://www.pbs.org/video/east-bay-hip-hop-dance-in-richmond-ca-ng3v7e/
  28. https://ga.video.cdn.pbs.org/videos/if-cities-could-dance/a7c8f330-2de4-4476-bb64-b23ae0bb2951/2000112404/hd-16x9-mezzanine-1080p/3f1sh5t6_richmond_iccd-16x9-1080p-1080p-6500k.m3u8
  29.  
  30. FFMPEG -i https://ga.video.cdn.pbs.org/videos/if-cities-could-dance/a7c8f330-2de4-4476-bb64-b23ae0bb2951/2000112404/hd-16x9-mezzanine-1080p/3f1sh5t6_richmond_iccd-16x9-1080p-1080p-6500k.m3u8 -c copy pbs-vid.mp4
  31.  
  32. FFMPEG -i "http://host/folder/file.m3u8" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4
  33.  
  34. FFMPEG -i "https://xex.stluserehtem.com/_v10/3a92cdb51589ca0968c4ac0e80a0228c5a0a6bac7a5e8f583b9ceb851d3f84a6f6b96b2b79a354af8037f3064214532f47974638a68aa5e9ade7c6613f72295e15f2d6777cf8f1ca1eb542227ac48b75550698a4d46538656a7a60e987769e4239ed58201aea2156219e376480f6f6a51cb3db8781567923789426dc1125248da45d4d01f74f9d3ef3c5534d64d01592/playlist.m3u8
  35. " -bsf:a acc_adtstoasc -crf 18 "Output.mp4"
  36.  
  37. FFMPEG -ss 00:15:00 -to 00:20:00 -i "https://xex.stluserehtem.com/_v10/3a92cdb51589ca0968c4ac0e80a0228c5a0a6bac7a5e8f583b9ceb851d3f84a6f6b96b2b79a354af8037f3064214532f47974638a68aa5e9ade7c6613f72295e15f2d6777cf8f1ca1eb542227ac48b75550698a4d46538656a7a60e987769e4239ed58201aea2156219e376480f6f6a51cb3db8781567923789426dc1125248da45d4d01f74f9d3ef3c5534d64d01592/playlist.m3u8
  38. " -acodec copy -vcodec copy "Output.mp4"
  39. ---------------------------------------------------------------------------------------------------------
  40. youtube-dl --postprocessor-args "-ss 0:0:15 -to 0:1:20" "https://www.youtube.com/watch?v=n7XZ3PLtLkI"
  41. youtube-dl --postprocessor-args "-ss 0:0:15 -t 0:3:5" "https://www.youtube.com/watch?v=n7XZ3PLtLkI"
  42.  
  43. yt-dlp --download-sections "*1:00:00-1:00:30" --force-keyframes-at-cuts [video_url]
  44.  
  45. ffmpeg -ss 00:00:37 -to 00:00:44 -i "$(youtube-dl -f best --get-url 'https://youtu.be/PVGeM40dABA')" -c:v copy -c:a copy coffee_sliding.mp4
  46.  
  47. youtube-dl --postprocessor-args "-ss 00:01:00 -to 00:02:30" "https://www.youtube.com/watch?v=ulrhJlyde54"
  48.  
  49. youtube-dl --external-downloader ffmpeg --external-downloader-args "-ss 00:01:00.00 -to 00:02:00.00" -f best "https://www.youtube.com/watch?v=n7XZ3PLtLkI"
  50.  
  51.  
  52. ffmpeg -ss 00:00:37 -to 00:00:44 -i "(youtube-dl -f best --get-url "https://youtu.be/PVGeM40dABA")" -c:v copy -c:a copy coffee_sliding.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement