VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 3 of 3
  1. Hi all, long time listener, first time caller...

    I've been downloading some shows from CBC (Canada), using youtube-dlg. But they end up with the sound drifting.
    I found that using XMedia Recode, if I copy the audio & video to separate files, then copy them back into a single mp4, it fixes it all up.

    So... I've been looking into command-line options, so I can build a batch file. Something I can feed a URL to, and get a finished product with no more user involvement.

    It looks like with youtube-dl, I can download the audio & video as separate files?
    I think I read that XMedia Recode uses ffmpeg - should I be using this to merge the streams?
    How do I do this from command line?
    I also saw that youtube-dl uses ffmpeg - would there be a parameter that I can change, that will fix the merge ytdl does, instead?
    Quote Quote  
  2. Hi ,

    An example , on how-to .

    Code:
    @echo on
    chcp 1252 > nul
    "e:\ytbe\youtube-dl.exe" -F "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/"
    pause
    :fin
    Results for previous command
    Code:
    [info] Available formats for 083261-001-A:
    
    format code  extension  resolution note
    HLS_XQ_3     m3u8       640x360    VFAUD, Français (audiodescription)  800k
    HLS_XQ_4     m3u8       720x406    VA-STA, Allemand 1500k
    HTTPS_MQ_3   mp4        384x216    VFAUD, Français (audiodescription)  300k
    HTTPS_MQ_4   mp4        384x216    VA-STA, Allemand  300k
    HTTPS_HQ_3   mp4        640x360    VFAUD, Français (audiodescription)  800k
    HTTPS_HQ_4   mp4        640x360    VA-STA, Allemand  800k
    HTTPS_EQ_3   mp4        720x406    VFAUD, Français (audiodescription) 1500k
    HTTPS_EQ_4   mp4        720x406    VA-STA, Allemand 1500k
    HTTPS_SQ_3   mp4        1280x720   VFAUD, Français (audiodescription) 2200k
    HTTPS_SQ_4   mp4        1280x720   VA-STA, Allemand 2200k
    HLS_XQ_2     m3u8       640x360    VOF-STMF, Français (sourds et malentendants)  800k
    HTTPS_MQ_2   mp4        384x216    VOF-STMF, Français (sourds et malentendants)  300k
    HTTPS_HQ_2   mp4        640x360    VOF-STMF, Français (sourds et malentendants)  800k
    HTTPS_EQ_2   mp4        720x406    VOF-STMF, Français (sourds et malentendants) 1500k
    HTTPS_SQ_2   mp4        1280x720   VOF-STMF, Français (sourds et malentendants) 2200k
    HLS_XQ_1     m3u8       720x406    VOF, Français 1500k
    HTTPS_MQ_1   mp4        384x216    VOF, Français  300k
    HTTPS_HQ_1   mp4        640x360    VOF, Français  800k
    HTTPS_EQ_1   mp4        720x406    VOF, Français 1500k
    HTTPS_SQ_1   mp4        1280x720   VOF, Français 2200k  (best)
    Choosed 'HTTPS_HQ_1' => New command for catching full vid
    Code:
    @echo on
    chcp 1252 > nul
    "e:\ytbe\youtube-dl.exe" -f HTTPS_HQ_1 "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" -o Amour_fou_1sur3.mp4
    pause
    :fin
    =============================

    DL streams separetly using FFMPEG
    Code:
    @echo on
    chcp 1252 > nul
    "e:\ytbe\youtube-dl.exe" -f HTTPS_HQ_2 "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" -o AF_1sur3_vid.mp4
    ping localhost -n 5 >nul
    "e:\ytbe\youtube-dl.exe" -f HTTPS_HQ_3 "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" -o AF_1sur3_aud.mp4
    pause
    :fin
    Melting vid & aud using FFMPEG
    Code:
    @echo on
    chcp 1252 > nul
    rem === melting vid & aud ; if no problem with aud
    "e:\ytbe\ffmpeg.exe" -i "AF_1sur3_vid.mp4" -i "AF_1sur3_aud.mp4" -map 0:0 -vcodec copy -map 1:0 -acodec copy "AF_1sur3_ASS1.mp4"
    ping localhost -n 5 >nul
    rem === melting vid & aud ; if problem with aud
    "e:\ytbe\ffmpeg.exe" -i "AF_1sur3_vid.mp4" -i "AF_1sur3_aud.mp4" -map 0:0 -vcodec copy -map 1:0 -bsf:a aac_adtstoasc "AF_1sur3_ASS2.mp4"
    pause
    :fin
    =============================

    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  



Similar Threads

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