VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker or buy PlayOn and record Netflix! :)
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hi,

    There is a video from a kaltura link that I want to download via ffpmeg.

    I've tried multiple variations of ffpmeg syntax to try and download it, with no success.

    Here is one example

    ffmpeg -i "https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFlavor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/index.m3u8" -c copy index.mkv

    One consistent error message I receive each time is " No trailing CRLF found in HTTP header."

    I am able to download this video using a addon in firefox, but the download is so load that it always fails before the entire video is downloaded. I would like to use ffpmeg to download the entire video successfully.

    Thanks in advance for any suggestions
    Quote Quote  
  2. I had no problem downloading the video with your command line.
    Quote Quote  
  3. Originally Posted by jagabo View Post
    I had no problem downloading the video with your command line.
    I have no idea why it does not work for me.

    What I tried using the command, I received this message

    PHP Code:
    [https 0653adc0No trailing CRLF found in HTTP header.
    Input #0, hls,applehttp, from 'https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFlavor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/index.m3u8':
      
    Duration00:44:08.09start0.101000bitrate0 kb/s
      Program 0
        Metadata
    :
          
    variant_bitrate 0
        Stream 
    #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
        
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 98 kb/s
        
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    File 'index.mkv' already existsOverwrite ? [y/Ny
    [matroska 068ac100Codec for stream 0 does not use global headers but container format requires global headers
    [matroska 068ac100Codec for stream 1 does not use global headers but container format requires global headers
    [matroska 068ac100Error parsing AAC extradataunable to determine samplerate.
    Output #0, matroska, to 'index.mkv':
      
    Metadata:
        
    encoder         Lavf56.40.101
        Stream 
    #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
        
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, 98 kb/s
    Stream mapping:
      
    Stream #0:0 -> #0:0 (copy)
      
    Stream #0:1 -> #0:1 (copy)
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument 
    Quote Quote  
  4. I just downloaded the most recent version of ffpmeg and I'm still getting the above error.
    Quote Quote  
  5. the ffmpeg output I get:

    Code:
    ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 7.1.0 (GCC)
      configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --
    enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig
     --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libb
    s2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --ena
    ble-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable
    -libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-l
    ibvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-l
    ibx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enabl
    e-zlib
      libavutil      55. 58.100 / 55. 58.100
      libavcodec     57. 89.100 / 57. 89.100
      libavformat    57. 71.100 / 57. 71.100
      libavdevice    57.  6.100 / 57.  6.100
      libavfilter     6. 82.100 /  6. 82.100
      libswscale      4.  6.100 /  4.  6.100
      libswresample   2.  7.100 /  2.  7.100
      libpostproc    54.  5.100 / 54.  5.100
    [hls,applehttp @ 03197b20] Opening 'https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFl
    avor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/seg-1-v1-a1.ts' for reading
    Input #0, hls,applehttp, from 'https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFlavor/
    entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/index.m3u8':
      Duration: 00:44:08.09, start: 0.101000, bitrate: 0 kb/s
      Program 0
        Metadata:
          variant_bitrate : 0
        Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9
    ], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
        Metadata:
          variant_bitrate : 0
        Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
        Metadata:
          variant_bitrate : 0
        Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
        Metadata:
          variant_bitrate : 0
    Output #0, matroska, to 'index.mkv':
      Metadata:
        encoder         : Lavf57.71.100
        Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=
    2-31, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
        Metadata:
          variant_bitrate : 0
        Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp
        Metadata:
          variant_bitrate : 0
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [hls,applehttp @ 03197b20] Opening 'https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFl
    avor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/seg-2-v1-a1.ts' for reading
    [hls,applehttp @ 03197b20] Opening 'https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFl
    avor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/seg-3-v1-a1.ts' for reading
    etc.
    Quote Quote  
  6. Thanks Jabago for testing this out. I'm not sure what I can do differently, but you have shown it is possible to download this video.
    Quote Quote  
  7. I am using Windows 10. I wonder if, Jagabo, you are using a different operating system and it could perhaps account for why you can download the video and it doesn't work on my computer. I'm just guessing about this.
    Quote Quote  
  8. I'm using Win7. But I just tried it on a Win10 computer and had no problems. Maybe it's the Great Firewall that's causing your problem.
    Quote Quote  
  9. Hi ,

    Working for me ( under win XP ) , with :
    Code:
    livestreamer "hls://https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFlavor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/index.m3u8" live -o Hitler.mp4
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  10. Originally Posted by aazerty View Post
    Hi ,

    Working for me ( under win XP ) , with :
    Code:
    livestreamer "hls://https://cfvod.kaltura.com/hls/p/1067292/sp/106729200/serveFlavor/entryId/0_z3waapci/v/2/pv/4/flavorId/0_v7e2xtou/name/a.mp4/index.m3u8" live -o Hitler.mp4
    Cheers .
    Thanks. I'll give that a try.
    Quote Quote  
  11. I used your above ffmpeg code and downloaded with no problem.
    I uploaded the file here (313MB):https://files.videohelp.com/u/61125/in.mkv
    If you have problems downloading the file, try using a download manager like IDM.
    Quote Quote  
  12. Originally Posted by jimdagys View Post
    I used your above ffmpeg code and downloaded with no problem.
    I uploaded the file here (313MB):https://files.videohelp.com/u/61125/in.mkv
    If you have problems downloading the file, try using a download manager like IDM.
    Thank you so much for downloading the video! I really appreciate it.

    And I will check out that download manager. Thanks again.
    Quote Quote  



Similar Threads