Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change video resolution #9

Open
golden-blazer opened this issue Oct 25, 2016 · 0 comments
Open

Change video resolution #9

golden-blazer opened this issue Oct 25, 2016 · 0 comments

Comments

@golden-blazer
Copy link

Hi,

I am trying to run example provided.

As I can see from log there are two streams: 1280x720 and 640x368.

The questions are:

  1. 1280x720 is interpolated from 640x368?
  2. How can I increase video resolution (e.g. to FullHD)?

Log:

$ sudo ./test -d
System init.......
create ivafilter success
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and Mjstreamingdisable host
enable device
mount gadgetfs
system init ok!

udc soft connect
usb gadget disconnect
usb gadget connect
usbRead_loop create
first frame ok...........
[h264 @ 0xb51e9930] non-existing PPS 0 referenced
[h264 @ 0xb51e9930] non-existing PPS 0 referenced
NvMMLiteOpen : Block : BlockType = 261 
TVMR: NvMMLiteTVMRDecBlockOpen: 4937: NvMMLiteBlockOpen 
NvMMLiteBlockCreate : Block : BlockType = 261 
TVMR: cbBeginSequence: 571: BeginSequence  1280x720, bVPR = 0
TVMR: cbBeginSequence: 813: DecodeBuffers = 2 
TVMR: cbBeginSequence: 833: Display Resolution : (1280x720) 
TVMR: cbBeginSequence: 834: Display Aspect Ratio : (1280x720) 
TVMR: cbBeginSequence: 998: SurfaceLayout = 3
TVMR: cbBeginSequence: 1028: NumOfSurfaces = 6, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1 
Allocating new output: 1280x720 (x 8), ThumbnailMode = 0
TVMR: cbBeginSequence: 571: BeginSequence  640x368, bVPR = 0
TVMR: cbBeginSequence: 813: DecodeBuffers = 5 
TVMR: cbBeginSequence: 833: Display Resolution : (640x368) 
TVMR: cbBeginSequence: 834: Display Aspect Ratio : (640x368) 
TVMR: cbBeginSequence: 998: SurfaceLayout = 3
TVMR: cbBeginSequence: 1028: NumOfSurfaces = 9, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1 
Allocating new output: 640x368 (x 11), ThumbnailMode = 0
usb gadget disconnect
usb gadget disconnect
usb gadget connect
usbRead_loop create
^CStop SIGNAL! 
Force usbRead_loop thread to stop!
poll error or break!
: Resource temporarily unavailable
system exit...........
TVMR: TVMRFrameDelivery: 3675: Closing TVMR Frame Delivery Thread -------------
TVMR: NvMMDecTVMRDestroyParser: 4153: NvAvpClose
TVMR: NvMMLiteTVMRDecBlockClose: 5092: Done 
All threads exit successfully !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant