VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Hi,
    I'm trying to download some video stream in HLS segments and create and index file. I'm trying to do that in a different directory than where ffmpeg is installed.
    I declared full path for the .ts files and for the .m3u8, but on execution, ffmpeg insists to create the segments in its installation directory, like ignoring my declaration.
    Here's the code:
    Code:
    ./ffmpeg.exe -i "HTTP URL" 
    -c copy 
    -f hls -hls_playlist -hls_time 60 -hls_list_size 3 -strftime 1 -hls_segment_type mpegts 
    -hls_segment_filename "Somewhere full path\File-%c.ts" 
    "Somewhere full path\Index.m3u8"
    During the execution I see the error
    Failed to open file 'Full path\File-04/23/23 18:45:37.ts'
    It seems to work with simple segmentation, but not with HLS.
    What am I missing?
    Quote Quote  
  2. dont know about windows, but try to rename the ts i think the issue are the space and the " : " in the name
    Quote Quote  
  3. Originally Posted by Haft66 View Post
    dont know about windows, but try to rename the ts i think the issue are the space and the " : " in the name
    Right, apparently %c in the file name caused the problem with the ':' and space in the name.
    Now why would all these .ts files be created (infinitely) if the segments are created in another folder?
    Image
    [Attachment 70497 - Click to enlarge]
    Quote Quote  



Similar Threads

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