Selur's Little Message Board

Full Version: Nvenc novideo after conversion of variable framerate video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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