VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. 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?
    Last edited by mulliganman; 27th Jan 2016 at 21:21.
    Quote Quote  
  2. Just search your hard drive(s) for test_record.ts.
    Quote Quote  
  3. 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
    bellow two lines:
    Code:
    @echo %CD%
    @Pause
    i.e.

    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
    Quote Quote  
  4. In the future you can specify a full path for the output filename.
    Quote Quote  
  5. Originally Posted by pandy View Post
    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
    bellow two lines:
    Code:
    @echo %CD%
    @Pause
    i.e.

    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%
    @Pause
    Last edited by mulliganman; 29th Jan 2016 at 08:14.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    In the future you can specify a full path for the output filename.
    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.
    Quote Quote  
  7. @ 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.
    Quote Quote  
  8. Originally Posted by jagabo View Post
    Just search your hard drive(s) for test_record.ts.
    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"
    Quote Quote  
  9. Originally Posted by mulliganman View Post
    Originally Posted by jagabo View Post
    In the future you can specify a full path for the output filename.
    Thank you for responding! So, according to the info I gave you what should my full command line look like?
    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
    will put the output file in the root of drive C. Or:

    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
    will put the output on the current user's Desktop.
    Quote Quote  
  10. Originally Posted by jagabo View Post
    @ 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.
    Thanks for clarifying! I appreciate you taking time to try to help. If you could provide assistance on what the full command line should be that will write the file to my hardrive I would greatly appreciate it and would try recording with the line.
    Quote Quote  
  11. Updated my previous post.
    Quote Quote  
  12. Originally Posted by jagabo View Post
    Originally Posted by mulliganman View Post
    Originally Posted by jagabo View Post
    In the future you can specify a full path for the output filename.
    Thank you for responding! So, according to the info I gave you what should my full command line look like?
    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
    will put the output file in the root of drive C. Or:

    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
    will put the output on the current user's Desktop.
    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".
    Quote Quote  
  13. Originally Posted by mulliganman View Post
    How would the command line change if I try to record it to my external hard drive... 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" ?
    Just use the full pathname instead of only a filename. If the path has spaces in the name you will have to surround it with quotes.
    Quote Quote  
  14. Originally Posted by jagabo View Post
    Originally Posted by mulliganman View Post
    How would the command line change if I try to record it to my external hard drive... 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" ?
    Just use the full pathname instead of only a filename. If the path has spaces in the name you will have to surround it with quotes.
    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
    Quote Quote  
  15. Originally Posted by mulliganman View Post
    Originally Posted by jagabo View Post
    Originally Posted by mulliganman View Post
    How would the command line change if I try to record it to my external hard drive... 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" ?
    Just use the full pathname instead of only a filename. If the path has spaces in the name you will have to surround it with quotes.
    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
    Anyone have an idea about the error message? I don't get the message leaving off the @echo %CD%
    @Pause
    Quote Quote  
  16. It looks like there's something wrong with the @echo %CD% line.
    Quote Quote  
  17. Originally Posted by jagabo View Post
    It looks like there's something wrong with the @echo %CD% line.
    That's what I thought. I guess you don't know what it might be?
    Quote Quote  
  18. Zip up your batch file and upload it here.
    Quote Quote  
  19. Originally Posted by jagabo View Post
    Zip up your batch file and upload it here.
    I need further clarification here because I am not completely sure what you are asking me to do....
    Quote Quote  
  20. 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).
    Quote Quote  
  21. Originally Posted by jagabo View Post
    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).
    Pm sent.
    Quote Quote  



Similar Threads

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