I have 3000 Mkv Files and I need to convert them all to m3u8 How do I do this with ffmpeg?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 10 of 10
			
		- 
	
- 
	Not sure why you would want to do it though. 
 in fish you can automate (I'm sure there's a bash approach in windows, but I'm not bothered with windows. And I don't want to find out.)Code:ffmpeg -i input.mkv -c copy -f hls output.m3u8 
 
 Code:for video in *.mkv; ffmpeg -i $video" -c copy -f hls "${video/.mkv).m3u8" end
- 
	The code works, but there are 2 srt files in the Mkv that I want, when I use this code, it gives the error that the webvtt is requested. For this, how do I convert srt to webvtt and output as hls? It takes a long time to extract srt and convert webvtt one by one. Can you help me if there is an easy way for this? 
- 
	https://we.tl/t-zYaiGQM4kc 
 
 Hello File 5-6 Mb Sequence Section available in mkv with english and turkish subtitles Thanks  
- 
	Being the curious sort I ran this code on 2 of my own .mkvs (no subs) 
 
 
 The first was 31 secs in length and produced 5 files >> output.m3u8, output0.ts, output1.ts, output2.ts etc.
 
 
 The second was 95 mins in length and produced over 390 files >> output.m3u8, output.0.ts.........
 
 
 In both cases, ALL the files were required since the m3u8 file is simply a text file with a playlist for the others with each .ts file having a runlength of approx. 10 secs. (If I am not mistaken)
 
 
 Now the issue for me might be the construction of the source files but they do appear to me to be standard. If this is the case then the number of files increases substantially.
 
 
 Or the code is not quite right.
 
 
 Or am I missing something vital ? (I am aware that streamed .ts files are typically segmented)
Similar Threads
- 
  How do I convert BL_RPU.hevc file to MKVBy TheWatchmaker in forum Newbie / General discussionsReplies: 3Last Post: 26th Oct 2022, 10:19
- 
  Best way to convert an MKV file to Blu-ray?By hbenthow in forum Authoring (Blu-ray)Replies: 28Last Post: 21st Jan 2022, 08:05
- 
  Why is Muxing necessary if I can just convert an MKV file to MP4?By SilentPlanet in forum Newbie / General discussionsReplies: 23Last Post: 21st Sep 2021, 01:02
- 
  Convert MKV file to XvidBy Rixter in forum DVD RippingReplies: 23Last Post: 23rd Jan 2020, 16:44
- 
  How To Convert .m3u8 file in MP4 FormatBy Aashik420 in forum Video Streaming DownloadingReplies: 5Last Post: 30th Jul 2018, 23:55


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			

 Quote
 Quote Visit Homepage
				Visit Homepage
			
 
			 
			