Hello Steipal,
I am trying live streaming using below FFMPEG command through command line, it's perfectly working. I am using YouTube to check my output.
How I can use below command in FFAStrans?
FFAStrans0.7.0_Win32\Processors\FFMpeg\ffmpeg.exe -re -i "D:\Movies\Test.mp4" -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v main -level 4.1 -s 1920x1080 -bufsize 3000k -vb 5000k -maxrate 6000k -deinterlace -vcodec libx264 -preset fast -g 75 -r 25 -refs 1 -bf 2 -f flv "rtmp://a.rtmp.youtube.com/live2/(Mykey)"
Please suggest.
Thanks
Vijay
Live Streaming
Re: Live Streaming
Because of the way the "Custom FFMpeg"-encoder is built you cannot execute this encoder with the "-re" option before input "-i". So you need to do a "Command executor" for this one.
Changes to the "Custom FFMpeg"-encoder will soon come in order to solve these kind of scenarios.
-steipal
Changes to the "Custom FFMpeg"-encoder will soon come in order to solve these kind of scenarios.
-steipal
Re: Live Streaming
Hi steipal,
si you already solve this problem with "Custom FFmpeg" processor (options before -i input) or the only way is still "Command executor"?
Many thanks,
mrazik
si you already solve this problem with "Custom FFmpeg" processor (options before -i input) or the only way is still "Command executor"?
Many thanks,
mrazik
FFAStrans 1.2.2
Webinterface 1.2.0.4
- - - - - - - - - - - - - - - -
Intel Xeon CPU E5-1620 v3 @ 3.5GHz
8.00 GB RAM
NVIDIA Quadro K620
256GB SSD
1GB NIC
- - - - - - - - - - - - - - - -
Windows 10 Pro 64b
Webinterface 1.2.0.4
- - - - - - - - - - - - - - - -
Intel Xeon CPU E5-1620 v3 @ 3.5GHz
8.00 GB RAM
NVIDIA Quadro K620
256GB SSD
1GB NIC
- - - - - - - - - - - - - - - -
Windows 10 Pro 64b
Re: Live Streaming
In the current version of FFAStrans you still have to use Command Executor.
I made it for you:
where Stream Content is Command Executor with the following command:
Code: Select all
%comspec% /C ""%s_ffmpegx64%" -re -i "%s_original_full%" -profile:v high -level:v 4.1 -refs 4 -b:v 5000k -maxrate 6000k -bufsize 3000k -ignore_chapters 1 -ignore_unknown -write_tmcd 0 -vf "sidedata=delete,metadata=delete,bwdif=mode=0:parity=0:deint=0,scale=w=1920:h=1080:flags=lanczos:sws_dither=ed,format=yuv420p,setfield=prog,setsar=1:1" -x264opts "keyint=25:force_cfr=1:deblock=-1,-1:aud=1:overscan=show:colorprim=bt709:fullrange=off:transfer=bt709:colormatrix=bt709" -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -field_order progressive -map_metadata -1 -metadata creation_time=now -c:a aac -b:a 384k -ar 44100 -ac 2 -f flv "rtmp://a.rtmp.youtube.com/live2/(Mykey)""
(Yes, I changed your command line a bit to make it look a bit closer to what the filter_builder would do in FFAStrans and I also changed the audio codec from MP3 to AAC 'cause encoding in MP3 in 2022 is a sin punishable by death not recommended).