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:
During the execution I see the errorCode:./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"It seems to work with simple segmentation, but not with HLS.Failed to open file 'Full path\File-04/23/23 18:45:37.ts'
What am I missing?
+ Reply to Thread
Results 1 to 3 of 3
-
-
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?
[Attachment 70497 - Click to enlarge]
Similar Threads
-
Ffmpeg HLS Multiple Audio Subs
By cinamews in forum Video Streaming DownloadingReplies: 3Last Post: 23rd Jan 2023, 09:27 -
Ffmpeg HLS Multiple Audio Subs
By cinamews in forum Video ConversionReplies: 0Last Post: 23rd Jan 2023, 08:27 -
ffmpeg: tee muxer to monitor a recording in real time, and save it to disk
By Sentinel166 in forum LinuxReplies: 9Last Post: 29th Oct 2021, 08:00 -
mkv to hls from ffmpeg
By b2kguga in forum Video ConversionReplies: 4Last Post: 15th May 2020, 03:41 -
Help Recording m38u HLS aac stream with ffmpeg (streamlink works)
By Neilyboy in forum Video Streaming DownloadingReplies: 2Last Post: 10th Apr 2020, 06:51