We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is my code:
err := ffmpeg_go.Input( "input-filepath", ffmpeg_go.KwArgs{ "re": "", }, ). Output("path/out.mpd", ffmpeg_go.KwArgs{ "map": 0, "c:a": "aac", "c:v": "libx264", "b:v:0": "750k", "s:v:0": "640x360", "vf:v:0": "scale=-1:360", //"filter:v": "fps=24", "keyint_min": "120", "g": "120", "sc_threshold": 0, "use_timeline": 1, "window_size": 5, "b_strategy": "0", "bf": "1", "use_template": "1", "adaptation_sets": "\"id=0,streams=v id=1,streams=a\"", "f": "dash", }, ). OverWriteOutput(). ErrorToStdOut(). Run() if err != nil { fmt.Println(err.Error()) }
generate ffmpeg command is ffmpeg -re -i myinput-path/video/1.mp4 -adaptation_sets "id=0,streams=v id=1,streams=a" -b:v:0 750k -b_strategy 0 -bf 1 -c:a aac -c:v libx264 -f dash -g 120 -keyint_min 120 -map 0 -queue_size 60 -s:v:0 640x360 -sc_threshold 0 -use_template 1 -use_timeline 1 -vf:v:0 scale=-1:360 -window_size 5 my-output-path/out.mpd -y after exec the error is
ffmpeg -re -i myinput-path/video/1.mp4 -adaptation_sets "id=0,streams=v id=1,streams=a" -b:v:0 750k -b_strategy 0 -bf 1 -c:a aac -c:v libx264 -f dash -g 120 -keyint_min 120 -map 0 -queue_size 60 -s:v:0 640x360 -sc_threshold 0 -use_template 1 -use_timeline 1 -vf:v:0 scale=-1:360 -window_size 5 my-output-path/out.mpd -y
Error initializing output stream 0:0 -- [libx264 @ 0x562b672eb180] final ratefactor: 32.52 [aac @ 0x562b672ed840] Qavg: 20954.139 [aac @ 0x562b672ed840] 2 frames left in the queue on closing
but i can exec in the shell terminal and it exec success.
What is the quession about it .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this is my code:
generate ffmpeg command is
ffmpeg -re -i myinput-path/video/1.mp4 -adaptation_sets "id=0,streams=v id=1,streams=a" -b:v:0 750k -b_strategy 0 -bf 1 -c:a aac -c:v libx264 -f dash -g 120 -keyint_min 120 -map 0 -queue_size 60 -s:v:0 640x360 -sc_threshold 0 -use_template 1 -use_timeline 1 -vf:v:0 scale=-1:360 -window_size 5 my-output-path/out.mpd -y
after exec the error is
Error initializing output stream 0:0 --
[libx264 @ 0x562b672eb180] final ratefactor: 32.52
[aac @ 0x562b672ed840] Qavg: 20954.139
[aac @ 0x562b672ed840] 2 frames left in the queue on closing
but i can exec in the shell terminal and it exec success.
What is the quession about it .
The text was updated successfully, but these errors were encountered: