This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Nvenc novideo after conversion of variable framerate video
#1
Hi.

I´m trying to convert some VR videos to use with PSVR.

Some of that videos have variable framerate. The ones with constant framerate don´t give me trouble, but the ones with variable framerate, after conversion, don´t play, or play without video, only audio.


To fix the problem, I have to stop the encoding when mp4fpsmod starts. Then i can use mp4box to mix the video file with the audio, using the files on temp folder.

The video file before mp4fpsmod has constant framerate. If i let the process finish, the file stays with variable framerate, but different from the source, and does not play, or plays without image, depending on the player.


I´m using nvenc, variable bitrate 25000 max 30000, h.264. Resize to 3200x1600, bicubic spline.

The video files, well... are vr porn videos. Some from 18vr.com and badoink have this variable framerate. Usually they are meant to oculus rift.


On a side note. Nvenc ffmpeg works, but the bitrate is always very low, no matter what bitrate I choose. So, if I use 30000Kbps, it stays with someting like 6000Kbps...

Thanks.

Intel i7 3770K 4.3GHz Hyperthreading On
Gigabyte GTX 1070 G1 Gaming
16 GB Gskill DDR3 1866MHz cas9
64GB Sandisk SSD (OS) + 480 OCZ Trion 150 (games and apps and steam) + 1TB Western Digital Blue + 1TB Samsung HDD
Asus P8Z77V-LK(realtek ethernet card)
650Watt Antec Power Supply
Samsung U28E590D 4K 60Hz monitor
Windows 10 Pro latest version
Nvidia driver 398.36
Reply
#2
Quote:Nvenc ffmpeg works, but the bitrate is always very low, no matter what bitrate I choose. So, if I use 30000Kbps, it stays with someting like 6000Kbps...
Happy ffmpeg NVEncs support works for you, sadly I can't really comment on the bit rate you get since that seems related to ffmpegs internals.
Quote:To fix the problem, I have to stop the encoding when mp4fpsmod starts.
mp4fpsmod is only used to add the time codes from the source to the output.
Since you didn't mention that mp4fpsmod crashes (which it does in case there are more time codes than frames or the time codes are not linear increasing) I got no clue why Hybrid would only output audio only.

-> Need more details an a small source sample which allows me to reproduce the issue to even know whether Hybrid is at fault here or whether the source is buggy.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)