Open RupamShaw opened 4 years ago
@illuspas please let me know why http://localhost:8000/api/streams :output stream in this width and height 0
using ffmpeg version: 4.2-tessus from //'./node_modules/ffmpeg-static/bin/darwin/x64/ffmpeg'
I need mp4 HD(1920x1080) but getting 360640 if i set here its by default "-c:v" : "copy" thats why i think neglecting scale 19201080
vcParam: ['-vf', "'scale=1920:-1'", '-b:v', '14000k', '-preset', 'fast', '-profile:v', 'baseline', '-bufsize', '7500k'],
if I set below
{
app: "hls_720p",
mp4: true,
mp4Flags: "[movflags=faststart]",
hls: true,
ac: "aac",
acParam: ["-b:a", "128k", "-ar", 48000],
vcParam: [
"-c:v",
"libx264",
"-vf",
"scale=1280:-1",
"-b:v",
"2800k",
"-bufsize",
"4200k",
"-preset",
"fast",
],
then mp4 audio works but video black and achieve dimensions of video 1280x720 but black. Please let me know right config @illuspas
with this recorded mp4 is 360*640 which is not good quality.
I would like to have full HD (1920 1080 ) or HD (1280 720) for mp4 and RTMP stream also HD.
http://localhost:8000/api/streams :output stream is
video width and height 0 0 ? how i can get**
please help @illuspas how to achieve good video streaming quality
console output