29.10.2017, 20:24
After too many tries, i am sure that the problem is nvenc... :(
I used a 1 minute sample of War for the Planet of the Apes SBS with 2 options:
1) First i cropped the original file into left and right eye files and then merge them with this command:
ffmpeg -hwaccel cuvid -i warL.mkv -i warR.mkv -sn -acodec copy -filter_complex framepack=sbs -metadata stereo_mode=left_right war2.mkv
2) Here only reconverted the original from sbs to sbs with metadata:
ffmpeg -hwaccel cuvid -i war.mkv -sn -acodec copy -vf stereo3d=sbs2l:sbs2l -metadata stereo_mode=left_right war2.mkv
Both works!!! the TV recognise that the movie is 3D, and you can see with the same file 3D and 2D version.
But... when i use the same command and add -vcodec h264_nvenc ....didnt work
ffmpeg -hwaccel cuvid -i warL.mkv -i warR.mkv -sn -acodec copy -vcodec h264_nvenc -filter_complex framepack=sbs -metadata stereo_mode=left_right war2.mkv
ffmpeg -hwaccel cuvid -i war.mkv -sn [b]-acodec copy -vcodec h264_nvenc -vf stereo3d=sbs2l:sbs2l -metadata stereo_mode=left_right war2.mkv[/b]
The most important thing about this that:
If i use nvenc... the enconde time is 10 second for a 1 minute movie
If i dont use nvenc... the enconde time is more than 1 minute for a 1 minute movie
What do you think?
I used a 1 minute sample of War for the Planet of the Apes SBS with 2 options:
1) First i cropped the original file into left and right eye files and then merge them with this command:
ffmpeg -hwaccel cuvid -i warL.mkv -i warR.mkv -sn -acodec copy -filter_complex framepack=sbs -metadata stereo_mode=left_right war2.mkv
2) Here only reconverted the original from sbs to sbs with metadata:
ffmpeg -hwaccel cuvid -i war.mkv -sn -acodec copy -vf stereo3d=sbs2l:sbs2l -metadata stereo_mode=left_right war2.mkv
Both works!!! the TV recognise that the movie is 3D, and you can see with the same file 3D and 2D version.
But... when i use the same command and add -vcodec h264_nvenc ....didnt work
ffmpeg -hwaccel cuvid -i warL.mkv -i warR.mkv -sn -acodec copy -vcodec h264_nvenc -filter_complex framepack=sbs -metadata stereo_mode=left_right war2.mkv
ffmpeg -hwaccel cuvid -i war.mkv -sn [b]-acodec copy -vcodec h264_nvenc -vf stereo3d=sbs2l:sbs2l -metadata stereo_mode=left_right war2.mkv[/b]
The most important thing about this that:
If i use nvenc... the enconde time is 10 second for a 1 minute movie
If i dont use nvenc... the enconde time is more than 1 minute for a 1 minute movie
What do you think?