Hello. I am hoping someone here is willing to help me out. I have the m3u8 link of what I want to record. I have ffmpeg installed. I have run this command prompt:
ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:05:30.0 -c:v copy -c:a copy test_record.ts -y
For a 5 minute 3 second recording. Everything after the m3u8 link is typed exactly as above (I have both the 720p and 1080p links available and either is already included as part of the link and are hls streams). However, I do not have any idea where it is saved to. Can anyone help? I'm sure it is probably something stupid I am overlooking but I don't really know...
If I can find it, I need to know if it needs to be converted before allowing for editing?
+ Reply to Thread
Results 1 to 21 of 21
-
Last edited by mulliganman; 27th Jan 2016 at 21:21.
-
Add to:
Code:@ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:05:30.0 -c:v copy -c:a copy test_record.ts -y
Code:@echo %CD% @Pause
Code:@ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:05:30.0 -c:v copy -c:a copy test_record.ts -y @echo %CD% @Pause
-
Thanks for responding! So you are saying this is what the code should have been: @ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:05:30.0 -c:v copy -c:a copy test_record.ts -y
@echo %CD%
@Pause
What does the @ symbol and these lines do: @echo %CD%
@PauseLast edited by mulliganman; 29th Jan 2016 at 08:14.
-
Thank you for responding! So, according to the info I gave you what should my full command line look like?
The reason I am trying to use ffmpeg is because VLC was not working for me. When I first starting trying it, I could play the link but it would freeze and loop often. i read about some fixes and tried those but I still get audio and video out of sync. -
@ at the start of the batch line means don't echo text of that line, only the output of whatever command is on the line. It reduces clutter in the output.
-
Would this be the case even if I didn't specify where to record to? I was so knew to the program I didn't think I needed to do anything other than the command line info from my first post. I just thought I would see the file in the "ffmeg" folder. It's not there and I don't see it on my hard drive either. Here is an example of a recording path for a video on the drive (a different recording not using ffmpeg): "I:\Download\Videos\Recording Test 1.mp4"
-
Modifying your original command line:
Code:ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:05:30.0 -c:v copy -c:a copy c:\test_record.ts -y
Code:ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:05:30.0 -c:v copy -c:a copy %USERPROFILE%\Desktop\test_record.ts -y
-
-
Thank you! This is very helpful! I am going to give it a try when I get home this evening! In the meantime, I do have a few follow up questions for you. How would the command line change if I try to record it to my external hard drive (I:\Download\Videos appears to be the path where I have most of my recordings). If that isn't possible, just let me know.
Secondly, if I want a different name for the file can i change it from say "\test_record.ts -y" to something like "\snakeshowS01E03.ts -y" ?
Finally, I am looking online and this site to find an editor that can edit the files easily. Is there anything you recommend? Typically, what I have been doing is keeping on master copy of the original recording, one direct stream edited copy, a converted copy from the direct stream edit for Apple TV/IPAD, and a converted copy into .m2ts format before inputting that into a program for burning into bluray. For the direct stream edits without reconverting, I have been using an old version of "Free Video Editor". -
-
Do you have any idea what this error means: Parse error, at least 3 arguments were expected, only 1 given in string 'ho %CD% ?
there may be more detail to the error but that's all I could read of it in the command prompt. Seems to have recorded. This was the command prompt I gave it: ffmpeg -re -i http://weblink.m3u8 -ss 00:00:00.0 -t 00:01:30.0 -c:v copy -c:a copy %USERPROFILE%\Desktop\test_record.ts -y
@echo %CD%
@Pause -
-
-
-
Right click on your bat file, from the context menu select Send To -> Compressed (Zipped) Folder. That will create a ZIP file. Upload that ZIP file to this site using the "Upload Files/Manage Attachments" button below the edit box where you type in your replies. That way I can download the zip file and see the exact batch file text, not something you pasted into a post (which may have lost something).
Similar Threads
-
Newbie needing Help With Recording/and Capturing software
By bravekos in forum Newbie / General discussionsReplies: 0Last Post: 28th Jul 2013, 04:53 -
Muxing DM800 recording to MP4 using MP4tools - ffmpeg error
By Manromen in forum MacReplies: 12Last Post: 31st Dec 2012, 06:27 -
H.264 TS -> MKV, AviSynth+DGAVCDecode+ffmpeg, trim recording + delay audio?
By Matchay in forum Video ConversionReplies: 3Last Post: 28th Jun 2012, 05:13 -
Help for finding ffmpeg commands
By guerilla in forum Newbie / General discussionsReplies: 2Last Post: 9th Jan 2012, 04:54 -
Newbie - ffmpeg args for transcoding 1080p to 720p, etc.
By awatelet in forum Newbie / General discussionsReplies: 2Last Post: 28th Apr 2011, 13:21