You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to use
err := fluentffmpeg.
NewCommand("").
InputPath("http://").
OutputOptions("-movflags", "isml+frag_keyframe+empty_moov").
OutputFormat("mp4").
VideoCodec("h264").
KeyframeInterval(52).
Resolution("640x360").
PipeOutput(w).
Run()
all is ok besides the output resolution. It is always the same as the original (FullHD for example) and the Resolution option doesn't work.
Any ideas on how to fix it?
The text was updated successfully, but these errors were encountered:
If shortly Resolution set aspect for video
In the documentation of ffmpeg you can find this option as -aspect
documentation link => https://ffmpeg.org/ffmpeg.html#Video-Options
And if you print ffmpeg arguments (GetArgs()) with setted resolution you can see that go-fluent-ffmpeg use next argument for ffmpeg "-aspect", "1.466667",
trying to use
err := fluentffmpeg.
NewCommand("").
InputPath("http://").
OutputOptions("-movflags", "isml+frag_keyframe+empty_moov").
OutputFormat("mp4").
VideoCodec("h264").
KeyframeInterval(52).
Resolution("640x360").
PipeOutput(w).
Run()
all is ok besides the output resolution. It is always the same as the original (FullHD for example) and the Resolution option doesn't work.
Any ideas on how to fix it?
The text was updated successfully, but these errors were encountered: