[Bug 627459] theoraenc should provide option for TH_ENCCTL_SET_DUP_COUNT
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed May 11 11:32:59 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=627459
GStreamer | gst-plugins-base | 0.10.x
Alexey Fisher <bug-track> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #187412|0 |1
is obsolete| |
--- Comment #24 from Alexey Fisher <bug-track at fisher-privat.net> 2011-05-11 18:32:54 UTC ---
Created an attachment (id=187651)
View: https://bugzilla.gnome.org/attachment.cgi?id=187651
Review: https://bugzilla.gnome.org/review?bug=627459&attachment=187651
dup on gap
Here is a new patch. It collect the count of dup frames and make sure it is not
bigger than keyframe interval. Also it trys to recreate timestamps of dropped
GAP frames.
I also removed function theora_enc_is_discontinuous, it badly fails on variable
frame rate. Every time the interval between frames is too big, it reseted the
codec, granulopos and forced to make each frame to be a kayframe.
For testing use:
gst-launch -e oggmux name=mux ! filesink location=test.ogg \
v4l2src ! video/x-raw-yuv,framerate=30/1 ! videorate skip-to-first=1 !
theoraenc dup-on-gap=1 ! queue ! mux. \
pulsesrc ! vorbisenc ! queue ! mux.
Created stream seems to work fine with totem, but it looks like mplayer or vlc
do not play it correctly.
Regards,
Alexey
--
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