Skip to content

Instantly share code, notes, and snippets.

@shiretu
Created July 31, 2018 17:41
Show Gist options
  • Save shiretu/5f0572b9777df11c4ce3bb3328823d07 to your computer and use it in GitHub Desktop.
Save shiretu/5f0572b9777df11c4ce3bb3328823d07 to your computer and use it in GitHub Desktop.
$ make && time ./video_decode H264 -f 1 -o /srv/media/bla.nv12 --disable-rendering /tmp/a.h264
make: Nothing to be done for 'all'.
Set governor to performance before enabling profiler
Failed to query video capabilities: Inappropriate ioctl for device
NvMMLiteOpen : Block : BlockType = 261
TVMR: NvMMLiteTVMRDecBlockOpen: 7647: NvMMLiteBlockOpen
NvMMLiteBlockCreate : Block : BlockType = 261
Starting decoder capture loop thread
Input file read complete
TVMR: NvMMLiteTVMRDecDoWork: 6531: NVMMLITE_TVMR: EOS detected
TVMR: cbBeginSequence: 1179: BeginSequence 1280x720, bVPR = 0
TVMR: LowCorner Frequency = 0
TVMR: cbBeginSequence: 1529: DecodeBuffers = 6, pnvsi->eCodec = 4, codec = 0
TVMR: cbBeginSequence: 1600: Display Resolution : (1280x720)
TVMR: cbBeginSequence: 1601: Display Aspect Ratio : (1280x720)
TVMR: cbBeginSequence: 1669: ColorFormat : 5
TVMR: cbBeginSequence:1674 ColorSpace = NvColorSpace_YCbCr709_ER
TVMR: cbBeginSequence: 1809: SurfaceLayout = 3
TVMR: cbBeginSequence: 1902: NumOfSurfaces = 13, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1, BitDepthForSurface = 8 LumaBitDepth = 8, ChromaBitDepth = 8, ChromaFormat = 5
TVMR: cbBeginSequence: 1904: BeginSequence ColorPrimaries = 1, TransferCharacteristics = 1, MatrixCoefficients = 1
Video Resolution: 1280x720
Query and set capture successful
TVMR: FrameRate = 30.000030
TVMR: FrameRate = 30.000030
TVMR: TVMRBufferProcessing: 5486: Processing of EOS
TVMR: TVMRBufferProcessing: 5563: Processing of EOS Done
**** Delay the EOS setting for 5 seconds
**** Done delaying
**** Try to join the capture loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment