VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hi everybody,

    does ffmpeg supports trimming of a online video content?
    I.e. if I want to trim and download only a certain part of a online video content, instead of downloading the entire video.

    Thank you
    Quote Quote  
  2. start at: -ss HH:MM:SS.ddd
    length: -t HH:MM:SS.ddd
    Quote Quote  
  3. Originally Posted by jagabo View Post
    start at: -ss HH:MM:SS.ddd
    length: -t HH:MM:SS.ddd
    Can you please give an example, let's say for this video:
    HTML Code:
    https://www.youtube.com/watch?v=7OoMo-Y4wus&list=PLRdw3IjKY2gn5PsvNGb9bjrVDbQCcljM8
    Quote Quote  
  4. Ok, i figure it out. Thank you
    Quote Quote  
  5. Post your solution for the next guy...
    Quote Quote  
  6. Originally Posted by jagabo View Post
    Post your solution for the next guy...
    1. In ffmpeg: youtube-dl -g "YOUR YOUTUBE LINK"

    Ffmpeg will find 2 links, 1 for audio, 1 for video.

    2. Copy and paste in the following command:

    ffmpeg -ss 27:11 -i "FIRST LINK" -ss 27:11 -i "SECOND LINK" -map 0:v -map 1:a -t 0:08 -c:v libx264 -c:a aac FILENAME.mkv

    -ss is starting point of the video and audio links (in this case 27:11) and -t is how many seconds/minutes/hours to cut from -ss (in this case 8 seconds)

    FULL EXAMPLE:

    Code:
    ffmpeg -ss 27:11 -i "https://r11---sn-xupn5a5u-4wgel.googlevideo.com/videoplayback?expire=1572114795&ei=Cz20XeTrOMSQmLAP2LejqA0&ip=86.99.150.133&id=o-AISUxSib01Skhl14Rdd7ivzqgGlQcn7RsXlT83ynNiw5&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-xupn5a5u-4wgel%2Csn-5hne6nsk&ms=au%2Conr&mv=m&mvi=10&nh=EAI%2C&pl=21&gcr=ae&initcwndbps=668750&mime=video%2Fmp4&gir=yes&clen=1839679563&dur=8187.947&lmt=1571691841189608&mt=1572093104&fvip=2&keepalive=yes&fexp=23842630&c=WEB&txp=5432432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cgcr%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ALgxI2wwRgIhANrcE_XuF1W_CVqmf3tpUeVrDFJGs1m1jtED_7gAUEwBAiEAtAiNgw7MhY5Ng92Iu_nfmSU1_idwdOBpei3yIg_SC-U%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cnh%2Cpl%2Cinitcwndbps&lsig=AHylml4wRgIhANmfZsBSjq3pgIj_GENEGCwlOzTTg_UdNEBiFzb-_bYFAiEAnfRO2gAzNLx5P7eMgCOlNrPyRX5msEpv-B6eygddJoo%3D&ratebypass=yes" -ss 27:11 -i "https://r11---sn-xupn5a5u-4wgel.googlevideo.com/videoplayback?expire=1572114795&ei=Cz20XeTrOMSQmLAP2LejqA0&ip=86.99.150.133&id=o-AISUxSib01Skhl14Rdd7ivzqgGlQcn7RsXlT83ynNiw5&itag=251&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-xupn5a5u-4wgel%2Csn-5hne6nsk&ms=au%2Conr&mv=m&mvi=10&nh=EAI%2C&pl=21&gcr=ae&initcwndbps=668750&mime=audio%2Fwebm&gir=yes&clen=131553647&dur=8187.981&lmt=1571677588623141&mt=1572093104&fvip=2&keepalive=yes&fexp=23842630&c=WEB&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ALgxI2wwRAIgL583QwmQ80aDswGUxVyMxGmNJPaWGpnA_l1mDvXD0w8CIHIKMrjJ9TZz5WjM5VPgFFSaoaxVy6r_2j4k18mOeBBt&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cnh%2Cpl%2Cinitcwndbps&lsig=AHylml4wRgIhANmfZsBSjq3pgIj_GENEGCwlOzTTg_UdNEBiFzb-_bYFAiEAnfRO2gAzNLx5P7eMgCOlNrPyRX5msEpv-B6eygddJoo%3D&ratebypass=yes" -map 0:v -map 1:a -t 0:08 -c:v libx264 -c:a aac FILENAME.mkv
    Voilą
    Last edited by danielko; 26th Oct 2019 at 12:54.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!