I'm trying to encode Video from the Orangepi gc2035 Camera to raw h264 with newest Armbian Xenial Kernel 3.4. I use a Orangepi One. For that I'm using the following gst Plugin:
If I run the following gstreamer pipeline to get a raw h264 file it perfectly creates the file. But I can just play this file with ffplay. But not with vlc or broadway.js. Any idea how to get it playable in vlc and broadway.js? I've already tried to change to 66 to get baseline profile on following line and recompiled https://github.com/gtalusan/gst-plugin-cedar/blob/master/src/gstcedarh264enc.c#L296 But with no luck to solve the issue.
Question
kbch
Hello,
I'm trying to encode Video from the Orangepi gc2035 Camera to raw h264 with newest Armbian Xenial Kernel 3.4. I use a Orangepi One. For that I'm using the following gst Plugin:
https://github.com/gtalusan/gst-plugin-cedar
If I run the following gstreamer pipeline to get a raw h264 file it perfectly creates the file. But I can just play this file with ffplay. But not with vlc or broadway.js. Any idea how to get it playable in vlc and broadway.js? I've already tried to change to 66 to get baseline profile on following line and recompiled https://github.com/gtalusan/gst-plugin-cedar/blob/master/src/gstcedarh264enc.c#L296 But with no luck to solve the issue.
# gst-launch-1.0 -ve v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! queue ! cedar_h264enc ! filesink location=test.h264
Edited by kbchLink to comment
Share on other sites
1 answer to this question
Recommended Posts