android h264 hardware encoding
yoyosuper8
yoyosuper8 at yahoo.com
Thu Oct 17 18:40:11 CEST 2013
So I implemented gstreamer 1.0 and patched androidmedia plugin to support
hardware encoding. Everything compiles fine, but I get an error when a
client tries to connect to my rtsp server running on android.
The pipeline in the server is the following:
gst_rtsp_media_factory_set_launch (factory,
"( videotestsrc is-live=true do-timestamp=true ! capsfilter
caps=video/
x-raw,width=480,height=640,framerate=12/1 !
amcvidenc-omxtiducati1videoh264e
bitrate=1024 i-frame-interval=8 ! h264parse ! rtph264pay name=pay0
pt=96 )");
When a client (using vlc on a laptop) tries to connect to the rtsp server, I
get the following errors:
gstamcvideoenc.c:581:create_amc_format:<amcvideoenc-omxtiducati1videoh264e0>
Unsopported profile 'constrained-baseline'
gstvideoencoder.c:606:gst_video_encoder_setcaps:<amcvideoenc-omxtiducati1videoh264e0>
rejected caps video/x-raw, format=(string)NV12, width=(int)480,
height=(int)640, framerate=(fraction)12/1
gstvideoencoder.c:1366:gst_video_encoder_chain:<amcvideoenc-omxtiducati1videoh264e0>
error: encoder not initialized
rtsp-media.c:1454:default_handle_message 0x5967b130: got error GStreamer
error: negotiation problem. (gstvideoencoder.c(1366):
gst_video_encoder_chain ():
/GstPipeline:media-pipeline/GstBin:bin0/GstAmcVideoEnc-OmxTiDucati1VideoH264e:amcvideoenc-omxtiducati1videoh264e0:encoder
not initialized)
Any ideas what this means? I sounds like it does not understand when I
specify the h264 hw encoder.
Andy
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/android-h264-hardware-encoding-tp4662522p4662669.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list