'gst-launch-1.0 records mp4 and can be played in chrome
My device is firefly rk3399, I am using usb camera for video recording, but the recorded mp4 file cannot be played under chrome This is my device info enter image description here
Here is the recorded code I used
gst-launch-1.0 v4l2src device=/dev/video10 ! videoconvert ! video/x-raw,format=YUY2,width=1920,height=1080 ! queue ! mpph264enc ! queue ! h264parse ! mpegtsmux ! filesink location=/home/firefly/test2.mp4
thanks a lot for your answer
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|