Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

video device nodes are getting disappeared #11

Open
avinash-palleti opened this issue Nov 14, 2017 · 1 comment
Open

video device nodes are getting disappeared #11

avinash-palleti opened this issue Nov 14, 2017 · 1 comment

Comments

@avinash-palleti
Copy link
Contributor

while running gst pipeline if user interrupts in between with ctrl+c, next time when user start gst pipeline, device nodes under /dev/video* will get disappeared.
sudo gst-launch-1.0 -e v4l2src device=/dev/video2 ! autovideoconvert format=i420 width=1920 height=1080 framerate=30/1 ! vaapih264enc rate-control=cbr tune=high-compression ! qtmux ! filesink location=encoded_video.mp4

@avinash-palleti
Copy link
Contributor Author

avinash-palleti commented Nov 14, 2017

dmesg when we allow pipeline to exit after predefined frames,

[ 106.896502 ] uvcvideo: Non-zero status (-71) in video completion handler

dmesg when we press ctrl+c in between,

[ 131.946413 ] uvcvideo: Non-zero status (-71) in video completion handler
[ 145.719890 ] usb 2-4: Disable of device-initiated U1 failed.
[ 150.513417 ] usb 2-4: Disable of device-initiated U2 failed.

It shows that there is issue in device un-initialization sequence. Along with video device nodes, usb host device nodes are also getting disappeared.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant