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
+ Reply to Thread
Results 1 to 12 of 12
-
-
I have no idea why it does not work for me.
What I tried using the command, I received this message
PHP Code:[https @ 0653adc0] No 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':
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
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 exists. Overwrite ? [y/N] y
[matroska @ 068ac100] Codec for stream 0 does not use global headers but container format requires global headers
[matroska @ 068ac100] Codec for stream 1 does not use global headers but container format requires global headers
[matroska @ 068ac100] Error parsing AAC extradata, unable 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
-
I just downloaded the most recent version of ffpmeg and I'm still getting the above error.
-
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.
-
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.
-
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.
-
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.
-
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
JE SUIS CHARLIE !!! -
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. -
Similar Threads
-
Help needed with downloading this video (m3u8)
By hopepper in forum Video Streaming DownloadingReplies: 4Last Post: 13th Oct 2016, 13:08 -
Downloading .M3U8 / .F4M
By JoshuaGV in forum Video Streaming DownloadingReplies: 2Last Post: 21st Jun 2016, 23:56 -
Need help downloading video from ABC (m3u8) to mp4 (will pay $10)
By jiberishedspam in forum Video Streaming DownloadingReplies: 6Last Post: 9th Dec 2015, 13:37 -
help downloading ooyala m3u8 video
By krito in forum Video Streaming DownloadingReplies: 4Last Post: 16th Jun 2015, 21:04 -
Need some guidance with downloading m3u8
By ManiKz in forum Video Streaming DownloadingReplies: 0Last Post: 1st Apr 2015, 18:53