[Bug 705129] androidmedia: add support for video encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 9 15:57:37 CEST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=705129
  GStreamer | gst-plugins-bad | git

cee1 <fykcee1> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250440|0                           |1
        is obsolete|                            |

--- Comment #10 from cee1 <fykcee1 at gmail.com> 2013-10-09 13:57:29 UTC ---
Created an attachment (id=256807)
 View: https://bugzilla.gnome.org/attachment.cgi?id=256807
 Review: https://bugzilla.gnome.org/review?bug=705129&attachment=256807

androidmedia: add video encoding support

V2, changes since V1:
1. "There's no codec_data for input side of the encoder"
[https://github.com/cee1/gst-plugins-bad/commit/6414fd3e1f02e3c35f5268502ba8fa5f4ebcf1c8]
2. "framerate in caps is always a fraction"
[https://github.com/cee1/gst-plugins-bad/commit/590acdfb4240cb306af120f20c84e11831c6854e]
3. "Rename property 'i-frame-int' to 'i-frame-interval'"
[https://github.com/cee1/gst-plugins-bad/commit/aa77b69172eef819a6ae4092e4050a48e3790583]
4. "The reset vfunc is deprecated in git master, use flush instead"
[https://github.com/cee1/gst-plugins-bad/commit/6e33abcb59bc1e63d234d98b567d26fcc59b917f]
5. "use gst_video_encoder_allocate_output_buffer instead of
gst_buffer_new_allocate"
[https://github.com/cee1/gst-plugins-bad/commit/cb8b7f52c2fe2c7513a6c3892c6cb713765c870a]
6. "code cleanup in gst_amc_video_enc_start"
[https://github.com/cee1/gst-plugins-bad/commit/16f732b0ef1be0c7b6e95136fc4ebf37f9034ebb]
7. "update copyright"
[https://github.com/cee1/gst-plugins-bad/commit/3ae9ef4cc25e6f4c82b29893776049cf604080ad]
8. "There should always be enough space to put one raw frame into one
MediaCodec input buffer"
[https://github.com/cee1/gst-plugins-bad/commit/dca7201487a94540afedbdd87c0f89c81c6505c2]
9. "Using gst_element_class_set_metadata."
[https://github.com/cee1/gst-plugins-bad/commit/3ff97271f6aeb067a4ab0021ab30aa5da81ef616]
10. "gstamcvideoenc.c: handling codec_data"
[https://github.com/cee1/gst-plugins-bad/commit/fd81d227da591db89c320317cd4cba587695fc94]
11. "INFO_OUTPUT_FORMAT_CHANGED is not expected for an encoder"
[https://github.com/cee1/gst-plugins-bad/commit/1f683738886b4447c68bd325035cad07dd28cd2f]

Tested it with the following pipelines:
[*] videotestsrc is-live=true do-timestamp=true ! capsfilter
caps="video/x-raw,width=1024,height=768,framerate=8/1" !
amcvidenc-omxk3videoencoderavc bitrate=1024 i-frame-interval=8 ! rtph264pay !
queue ! udpsink host=192.168.1.104 port=3057
[*] videotestsrc is-live=true do-timestamp=true ! capsfilter
caps="video/x-raw,width=1024,height=768,framerate=8/1" !
amcvidenc-omxk3videoencoderavc bitrate=1024 i-frame-interval=8 ! queue !
capssetter caps="video/x-h264,profile=baseline" !
amcviddec-omxk3videodecoderavc ! eglglessink

*** Note ***
1. Replace the encoder amcvidenc-omxk3videoencoderavc with the actual encoder
on your pad.
2. Replace the decoder amcviddec-omxk3videodecoderavc with the actual decoder
on your pad.
3. Replace IP "192.168.1.104" with the receiver's IP

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list