[Bug 694078] New: avenc_huffyuv does not respect alpha channel
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Feb 18 03:59:32 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=694078
GStreamer | gst-libav | git
Summary: avenc_huffyuv does not respect alpha channel
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-libav
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: vhdirk at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When encoding video/x-raw,format=BGRA to huffyuv, the alpha channel is always
blank.
This can be reproduced as follows:
* Take this huffyuv encoded rgba sample:
http://samples.mplayerhq.hu/V-codecs/HuffYUV/camera2_hfyu32.avi (as found here
https://ffmpeg.org/trac/ffmpeg/ticket/668)
* split of the alpha channel, and inspect that it is correct (it should be a
mask that refines the 'wobbly' edges of the source video):
avconv -i camera2_hfyu32.avi -vf "[in] format=rgba, split [T1], fifo,
lutrgb=r=minval:g=minval:b=minval,[T2] overlay [out]; [T1] fifo,
lutrgb=r=maxval:g=maxval:b=maxval [T2]" alpha.avi
* decode and re-encode to huffyuv:
gst-launch-1.0 filesrc location=camera2_hfyu32.avi ! avidemux ! avdec_huffyuv
! avenc_huffyuv ! avimux ! filesink location=newcamera2_hfyu32.avi
* split of the alpha of newcamera2_hfyu32.avi. It is all blank.
Re-encoding with libav itself works as expected:
avconv -i camera2_hfyu32.avi -vcodec huffyuv out.avi
--
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