mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	Added separate browser handling
Chromium shits itself if i give it a streamed output from ffmpeg, so i just do old behavior of downloading file if its not a firefox browser
This commit is contained in:
		
							parent
							
								
									f16ebe8aa3
								
							
						
					
					
						commit
						ac1cf91adc
					
				| @ -52,7 +52,7 @@ async def merge(request): | ||||
|         return web.FileResponse( | ||||
|                 path=f"{job_id}.mp4" | ||||
|         ) | ||||
|     cmdline = f"ffmpeg -i \"https://eu-proxy.poketube.fun/latest_version?id={video_id}&itag={audio_itag}&local=true\" -i \"https://eu-proxy.poketube.fun/latest_version?id={video_id}&itag={video_itag}&local=true\" -c copy -f mp4 -movflags frag_keyframe+empty_moov -" | ||||
|     cmdline = f"ffmpeg -i \"https://eu-proxy.poketube.fun/latest_version?id={video_id}&itag={audio_itag}&local=true\" -i \"https://eu-proxy.poketube.fun/latest_version?id={video_id}&itag={video_itag}&local=true\" -c copy -f mp4 -movflags frag_keyframe+empty_moov --duration 300 -" | ||||
|     #proc_ffmpeg = await asyncio.create_subprocess_shell( | ||||
|     #       cmdline, | ||||
|     #       stdout=asyncio.subprocess.PIPE | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 nin0dev
						nin0dev