[Bug 764714] New: Android: Discrepancy with SPS/PPS syntax of hardware encoder (omxqcomvideoencoderavc)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 7 10:22:51 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=764714

            Bug ID: 764714
           Summary: Android: Discrepancy with SPS/PPS syntax of hardware
                    encoder (omxqcomvideoencoderavc)
    Classification: Platform
           Product: GStreamer
           Version: 1.8.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-omx
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: urchikkamath at yahoo.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi Everyone,
I've found discrepancy between media stream generated with gstreamer release
1.8 and gstreamer release 1.4. Video stream generated with 1.4 (Pls refer media
file 20160406_152750_1_4_GST) has single sps/pps in first NALU where as video
stream generated with 1.8(Pls refer media file 20160406_152401_1_8_GST) has
repeated sps/pps in first NALU unit. Video stream 20160406_152750_1_4_GST
playbacks smoothly on all android media players and 20160406_152401_1_8_GST
playback only with native player of the device(Samsung S4) also with VLC player
and failed to playback with other media players like Google Photos. I've
validate the syntax of NALU with iso-viewer. 

Media Files Link:
https://s3-eu-west-1.amazonaws.com/ccstaticfiles/20160406_152401_1_8_GST.mp4
https://s3-eu-west-1.amazonaws.com/ccstaticfiles/20160406_152750_1_4_GST.mp4

Hardware encoder: omxqcomvideoencoderavc 

Pipeline:
sprintf(gst_launch_pipeline, "filesrc location=%s ! qtdemux name=demux
demux.audio_0 ! queue  max-size-time=5000000000    ! audio/mpeg,mpegversion=4 !
mp4mux name=mux ! filesink name=sink location=%s demux.video_0 !  h264parse ! 
amcviddec-omxqcomvideodecoderavc ! queue !
video/x-raw,width=%ld,height=%ld,format=\(string\)NV12 !
amcvidenc-omxqcomvideoencoderavc bitrate=%ld i-frame-interval=2 ! video/x-h264
! queue max-size-bytes=0 max-size-buffers=0 max-size-time=0 ! h264parse !
mux.video_0", input_file, output_file, (int)data->width, (int)data->height,
targetBitrate);

Testing Environment:
Android Versions: 5.0 and 4.3
Device: Samsung Galaxy S4 GT -I9506
SoC: Qualcomm Sanpdragon 800 2.27 GHz
Cores: 4 
Thanks,
-Uma

-- 
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