[Bug 680386] avdec-* produce extra big buffers if some encoder used after this

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 7 00:26:42 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680386
  GStreamer | gst-ffmpeg | git

Oleksij Rempel <bug-track> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gst-plugins-bad             |gst-ffmpeg
            Summary|vp8enc: getting trash if    |avdec-* produce extra big
                   |encoding from flv           |buffers if some encoder
                   |                            |used after this

--- Comment #1 from Oleksij Rempel <bug-track at fisher-privat.net> 2012-08-07 07:26:39 UTC ---
After some more testing looks like the problem is not vp8enc. It is just more
sensible to this issue.

For some reasasons avdecoders produce bigger buffers if some encoder placed
after it. For example:

the buffer size of here will be 152064 bytes, which is incorrect:
gst-launch-1.0 -v videotestsrc num-buffers=1 ! avenc_flv ! avdec_flv !
'video/x-raw, format=I420' ! identity silent=0 dump=1 ! vp8enc ! fakesink |
less


the buffer size here is 115200 (good):
gst-launch-1.0 -v videotestsrc num-buffers=1 ! avenc_flv ! avdec_flv !
'video/x-raw, format=I420' ! identity silent=0 dump=1 ! fakesink | less

If you will compare the dumps, you will see that each frameline has extra 16
bytes at the beginning and at the end.

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