Update. Well... I'm trying with this command:
# ffmpeg -v verbose -i udp://226.45.23.147:2001 -c:v h264_nvenc -c:a aac -strict 2 -f tee -map 0 [f=mpegts:hls_segment_filename=sftp://compliance:complitest@localhost/home/auser/test/test.ts]sftp://compliance:complitest@localhost/home/auser/test/test.m3u8 And the result is always the same: [tee @ 0x556de1794140] No option found near "//compliance:complitest@localhost/home/auser/test/test.ts]sftp://compliance:complitest@localhost/home/auser/test/test.m3u8" [tee @ 0x556de1794140] All tee outputs failed. I've tried with single, double and triple escape before the ":" signs (how suggested in https://trac.ffmpeg.org/ticket/5692 regarding something similar) but the result is always the same :( Same happens if I try to use the ftp:// protocol. -----Original Message----- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Alex Molon Sent: 15 July 2017 14:05 To: FFmpeg user discussions; FFmpeg user questions Subject: Re: [FFmpeg-user] Possible bug in TEE muxer. Sorry i wrote ssh:// by mistake.... actually i'm having the issue with sftp:// urls Get Outlook for Android<https://aka.ms/ghei36> On Fri, Jul 14, 2017 at 7:03 PM +0100, "Moritz Barsnick" <barsn...@gmx.net<mailto:barsn...@gmx.net>> wrote: On Fri, Jul 14, 2017 at 10:33:08 +0100, Alex Molon wrote: > Basically, if I launch ffmpeg in this way: > > # ffmpeg -i input -f hls -hls_segment_filename > ssh://user:password@host/path/filename-%Y-%m-%d-%H-%M-%S > ssh://user:password@host/path/filename.m3u8 > > everything works as expected. Both playlist and chunks are correctly sent to > the ssh server and saved regularly. Could you show us the complete, uncut console output (but blank out the passwords, please)? I can find no indication whatsoever that ffmpeg supports ssh:// URLs. > If I launch ffmpeg in this way: > > # ffmpeg -i input -f tee > [f=whatever]|[f=hls:use_localtime=1:hls_segment_filename=ssh\://user\: > password@host/path/filename-%Y-%m-%d-%H-%M-%S]ssh://user:password@host > /path/filename.m3u8 > > the playlist is correctly sent to the SSH server, but the chunks are not > saved. I'll try to reproduce once I understand how to use ssh://. Perhaps if you add "-loglevel verbose", ffmpeg might show you how it interprets the options you are passing. Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". On Fri, Jul 14, 2017 at 10:33:08 +0100, Alex Molon wrote: > Basically, if I launch ffmpeg in this way: > > # ffmpeg -i input -f hls -hls_segment_filename > ssh://user:password@host/path/filename-%Y-%m-%d-%H-%M-%S > ssh://user:password@host/path/filename.m3u8 > > everything works as expected. Both playlist and chunks are correctly sent to > the ssh server and saved regularly. Could you show us the complete, uncut console output (but blank out the passwords, please)? I can find no indication whatsoever that ffmpeg supports ssh:// URLs. > If I launch ffmpeg in this way: > > # ffmpeg -i input -f tee > [f=whatever]|[f=hls:use_localtime=1:hls_segment_filename=ssh\://user\: > password@host/path/filename-%Y-%m-%d-%H-%M-%S]ssh://user:password@host > /path/filename.m3u8 > > the playlist is correctly sent to the SSH server, but the chunks are not > saved. I'll try to reproduce once I understand how to use ssh://. Perhaps if you add "-loglevel verbose", ffmpeg might show you how it interprets the options you are passing. Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".