Tuesday, April 10, 2012

Nvidia Cuda video encoder - output frame size

I am using the Nvidia cuda video encoder nvcuvenc, and until now I was not able to encode an H.264 video with an output frame size different from the input frame size.



My question : did anyone use this encoder with an output frame size different from the input frame size successfully?



More details :



The sample is the following "C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\cudaEncode" , and the encoding works fine for the default config file "704x480-h264" with the plush video. But the other config files (720x480-h264 for example) don't work and don't seem to be correct because the input size is different than the actual video in the sample. (I tested with other videos as well, but had no luck)



To be precise : sometimes the encoder crashes with an access violation, sometimes it encodes but the result is messed up.





No comments:

Post a Comment