120 fps avi files

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

IQ Fluid

  • Posts: 5
  • Joined: Sat Mar 23, 2019 9:47 pm
  • Real Name: Mathias Beaulieu-Duncan

120 fps avi files

PostSat Mar 23, 2019 9:54 pm

Hi,

I am new to video editing and I am totally clueless why I can't import my .avi 120 fps file. To give you more context about it I use Counter-Strike: Global Offensive (yes the game) to generate .tga files and .wav audio file. Then use VirtualDub software to convert .tga files into a functioning .avi video file without the audio.

Resolve won't let me import my video file and I am clueless to why. Here is some information from ffmpeg about the video file.

Code: Select all
E:\video\ffmpeg\bin>ffmpeg -i c0000.avi
ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20190212
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[avi @ 000001b02e778d00] non-interleaved AVI
[avi @ 000001b02e778d00] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, avi, from 'c0000.avi':
  Duration: 00:00:18.25, start: 0.000000, bitrate: 5971989 kb/s
    Stream #0:0: Video: rawvideo, bgr24, 1920x1080, 120 fps, 120 tbr, 120 tbn, 120 tbc


DAVINCI RESOLVE version: 15.3.0.008

Hopefully someone can lead me toward the right direction.
Sorry for my poor english.
Offline

Peter Chamberlain

Blackmagic Design

  • Posts: 13944
  • Joined: Wed Aug 22, 2012 7:08 am

Re: 120 fps avi files

PostMon Mar 25, 2019 12:48 am

Can you make something other than the AVI format?
DaVinci Resolve Product Manager
Offline

IQ Fluid

  • Posts: 5
  • Joined: Sat Mar 23, 2019 9:47 pm
  • Real Name: Mathias Beaulieu-Duncan

Re: 120 fps avi files

PostMon Mar 25, 2019 2:01 am

Peter Chamberlain wrote:Can you make something other than the AVI format?


not directly from virtualdub but I've tried to convert it an mp4 and mov files in 120 fps with mmfpeg and it didn't work either. The file itself is fine and play properly in VLC media. I really wish I could keep the 120 fps to make some quality slow-mo edits.
Offline

peterjackson

  • Posts: 1144
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: 120 fps avi files

PostMon Mar 25, 2019 8:46 am

Use FFMPEG to generate a lossless H264 120fps MP4 from your TGA frames using the Nvidia encoder. There is nothing that gets you these TGA frames into Resolve faster at better quality or smaller file size.

You may also consider using OBS at 120fps in the future. The last version has heavy optimizations to feed frames directly into NVENC from a texture without any extra PCIe round-trip. Just select the new NVENC encoder from settings, pick i444, rec 709 and lossless.
5950x, 3090, 128GB.
Offline

IQ Fluid

  • Posts: 5
  • Joined: Sat Mar 23, 2019 9:47 pm
  • Real Name: Mathias Beaulieu-Duncan

Re: 120 fps avi files

PostMon Mar 25, 2019 1:21 pm

peterjackson wrote:Use FFMPEG to generate a lossless H264 120fps MP4 from your TGA frames using the Nvidia encoder. There is nothing that gets you these TGA frames into Resolve faster at better quality or smaller file size.

You may also consider using OBS at 120fps in the future. The last version has heavy optimizations to feed frames directly into NVENC from a texture without any extra PCIe round-trip. Just select the new NVENC encoder from settings, pick i444, rec 709 and lossless.


The issue with OBS its really resource expensive and the quality is not has good. But I will try that first solution, it looks very interesting. Just for more context, when you start recording TGA files at 120-300 fps in counter-strike global offensive, it slow down you game to get the best quality frames possible. (my end goal probably going to be between those value once I figure out how to do it in 120 fps).

Thanks Allot for the response, I will give some news once I try it later today.
Offline

Peter Chamberlain

Blackmagic Design

  • Posts: 13944
  • Joined: Wed Aug 22, 2012 7:08 am

Re: 120 fps avi files

PostMon Mar 25, 2019 3:51 pm

IQ Fluid wrote:
Peter Chamberlain wrote:Can you make something other than the AVI format?


not directly from virtualdub but I've tried to convert it an mp4 and mov files in 120 fps with mmfpeg and it didn't work either. The file itself is fine and play properly in VLC media. I really wish I could keep the 120 fps to make some quality slow-mo edits.


can u post a link to a sample AVI clip thats not working for you?
DaVinci Resolve Product Manager
Offline
User avatar

Jean Claude

  • Posts: 2973
  • Joined: Sun Jun 28, 2015 4:41 pm
  • Location: France

Re: 120 fps avi files

PostMon Mar 25, 2019 6:22 pm

IQ Fluid wrote:Hi, I am new to video editing and I am totally clueless why I can't import my .avi 120 fps file. ......


Hello,
If I can afford a tip: For AVI and Davinci Resolve, the simplest is the CINEFORM codec ... :)
cineform_120_fps.jpg

(deliberately blurred, sorry ...)
"Saying it is good, but doing it is better! "
Win10-1809 | Resolve Studio V16.1 | Fusion Studio V16.1 | Decklink 4K Extreme 6G | RTX 2080Ti 431.86 NSD driver! |
Offline

IQ Fluid

  • Posts: 5
  • Joined: Sat Mar 23, 2019 9:47 pm
  • Real Name: Mathias Beaulieu-Duncan

Re: 120 fps avi files

PostMon Mar 25, 2019 10:32 pm

Peter Chamberlain wrote:can u post a link to a sample AVI clip thats not working for you?

Sorry I've tried it on my lunch time but the file is 13GB for 18 seconds of video :/ I haven't found a good service online where I could share such a large file.

peterjackson wrote:Use FFMPEG to generate a lossless H264 120fps MP4 from your TGA frames using the Nvidia encoder. There is nothing that gets you these TGA frames into Resolve faster at better quality or smaller file size.

Thanks allot that fixed my issue, I am not sure if the quality is good since I recorded a new .tga project quickly and some animations are glitching but I am able to import my video in davinci with 120 fps which make me really happy. I'm not sure what you meant by using the nvidia encoder and would be interesting to test it.

Here is what I've used
Code: Select all
ffmpeg -r 120 -f image2 -s 1920x1080 -i test/test%04d.tga -vcodec libx264 -crf 15  -pix_fmt yuv420p test.mp4


Thank you all once again for helping me out, I really appreciate it ;)

EDIT: Here I did my first edit, probably over done it with the effects but was really fun to play with.
Last edited by IQ Fluid on Tue Mar 26, 2019 12:15 am, edited 1 time in total.
Offline
User avatar

Gary Hango

  • Posts: 886
  • Joined: Mon Apr 09, 2018 10:35 pm
  • Location: Left Coast
  • Real Name: Gary Hango

Re: 120 fps avi files

PostMon Mar 25, 2019 11:39 pm

Virtualdub2 can natively create Cineform avi or mov files. “Google, find Virtualdub two”.
Microsoft Windows 10 Pro x64
Intel(R) Core(TM) i7-6700, 3.40GHz, 32.0 GB
MB: MSI, BIOS: American Megatrends Inc. A.60, 12/17/2015
NVIDIA GeForce GTX 960, 2Gb
Resolve 18.1.1.0007(Free)
Offline

IQ Fluid

  • Posts: 5
  • Joined: Sat Mar 23, 2019 9:47 pm
  • Real Name: Mathias Beaulieu-Duncan

Re: 120 fps avi files

PostTue Mar 26, 2019 12:15 am

Gary Hango wrote:Virtualdub2 can natively create Cineform avi or mov files. “Google, find Virtualdub two”.


Thanks I will try it out.
Offline

peterjackson

  • Posts: 1144
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: 120 fps avi files

PostThu Mar 28, 2019 8:12 pm

Try this:
Code: Select all
ffmpeg -r 120 -f image2 -i test/test%04d.tga -filter:v format=yuv444p -c:v h264_nvenc -preset lossless test.mp4
5950x, 3090, 128GB.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Alexrocks1253, BenBrix, Bruceqld, Google [Bot], norellajanine and 135 guests