You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "shizhenghui (via GitHub)" <gi...@apache.org> on 2024/07/16 06:15:25 UTC
[PR] V4l2m2m openh264 x264 to builtin [nuttx-apps]
shizhenghui opened a new pull request, #2445:
URL: https://github.com/apache/nuttx-apps/pull/2445
## Summary
Modify the v4l2m2m simulator codec from using host openh264/x264 to using built-in openh264/x264
Related configs:
```
CONFIG_FS_HOSTFS=y
CONFIG_VIDEO=y
CONFIG_DRIVERS_VIDEO=y
CONFIG_VIDEO_STREAM=y
CONFIG_SYSTEM_NXCODEC=y
CONFIG_SIM_VIDEO_DECODER=y
CONFIG_SIM_VIDEO_ENCODER=y
CONFIG_VIDEOUTILS_OPENH264=y
CONFIG_VIDEOUTILS_LIBX264=y
```
## Impact
NA
## Testing
Decode an H264 stream file into a yuv420 file:
```
mount -t hostfs -o fs=/path/from/ /stream
nxcodec -d /dev/video1 -s 256x144 -i /stream/256x144.h264 -o /stream/256x144-yuv420p.yuv
```
Encode a yuv420 file as an h264 stream file:
```
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.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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] V4l2m2m openh264 x264 to builtin [nuttx-apps]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #2445:
URL: https://github.com/apache/nuttx-apps/pull/2445
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org