shizhenghui opened a new pull request, #2436:
URL: https://github.com/apache/nuttx-apps/pull/2436

   ## Summary
   
   Add nxcodec for v4l2m2m decoder/encoder verification.
   
   ```
   ap> nxcodec -h
   NxCodec Version: 1.00
   Usage: nxcodec -d devname -s [wxh] -f [informt] -i infile -f [outformat] -o 
outfile
   Default settings for decoder parameters
   
   Options:
   -d | --device  Video device name
   -s | --size    Size of stream
   -h | --help    Print this message
   -f | --format  Format of stream
   -i | --infile  Input filename for M2M devices
   -o | --outfile Outputs stream to filename
   ```
   
   ## Impact
   
   NA
   
   ## Testing
   
   **decoder**
   
   ```
   nsh> mount -t hostfs -o fs=/path/from/ /stream
   nsh> nxcodec -d /dev/video1 -i /stream/256x144.h264 -o 
/stream/256x144-yuv420p-out.yuv
   ```
   **encoder**
   
   ```
   nsh> mount -t hostfs -o fs=/path/from/ /stream
   nxcodec -d /dev/video2 -s 256x144 -f YU12 -i /stream/256x144-yuv420p.yuv -f 
H264 -o /stream/256x144-out.h264
   ```
   
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to