After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 161726 - [ffmpegcolorspace] does not handle x-raw-rgb 24/32 BE _RGB
[ffmpegcolorspace] does not handle x-raw-rgb 24/32 BE _RGB
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 138435
 
 
Reported: 2004-12-19 20:20 UTC by Stephane Loeuillet
Modified: 2005-01-08 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
16x9.dv: DIF (DV) movie file (NTSC) (234.84 KB, application/octet-stream)
2004-12-19 20:22 UTC, Stephane Loeuillet
Details
4x3.dv: DIF (DV) movie file (NTSC) (234.84 KB, application/octet-stream)
2004-12-19 20:24 UTC, Stephane Loeuillet
Details

Description Stephane Loeuillet 2004-12-19 20:20:24 UTC
got 3 small dv samples

i can play them with gst-player, and the two following pipelines, but not with
totem (only audio works in totem)
filesrc location=SMPTEBars.dv ! decodebin ! xvimagesink (image is ok, dvdec
gives YUY2)
filesrc location=SMPTEBars.dv ! decodebin ! alsasink (sound is ok)

but with totem : (notice it is RGB here, not yuv)
** (totem:15018): WARNING **: could not link video/x-raw-rgb, bpp=(int)32,
depth=(int)32, endianness=(int)4321, red_mask=(int)16711680,
green_mask=(int)65280, blue_mask=(int)255, width=(int)720, height=(int)480,
pixel-aspect-ratio=(fraction)80/89, framerate=(double)29.997

(totem:15018): GStreamer-WARNING **: element thread_abin claimed state-change
success,but state didn't change to PLAYING. State is PAUSED (NONE_PENDING
pending), fix the element

attaching the 3 DV files asap
Comment 1 Stephane Loeuillet 2004-12-19 20:22:04 UTC
Created attachment 35019 [details]
16x9.dv: DIF (DV) movie file (NTSC)
Comment 2 Stephane Loeuillet 2004-12-19 20:24:19 UTC
Created attachment 35020 [details]
4x3.dv: DIF (DV) movie file (NTSC)
Comment 3 Stephane Loeuillet 2004-12-19 20:25:38 UTC
the most interesting is too big to be attached
would upload it now to ronald's FTP account (/dv)
SMPTEBars.dv: DIF (DV) movie file (NTSC)
Comment 4 Ronald Bultje 2004-12-19 20:37:07 UTC
That endianness is, say, interesting.
Comment 5 Stephane Loeuillet 2005-01-06 02:13:53 UTC
looking at dvdec caps, endianness is always "endianness: 4321", for 24 / 32 RGB

so, what is so weird ?

what's strange is that this pipeline works :
gst-launch-0.8 filesrc location=161726-1.dv ! decodebin ! xvimagesink
Comment 6 Ronald Bultje 2005-01-07 10:16:30 UTC
Fixed.
Comment 7 Stephane Loeuillet 2005-01-07 18:51:24 UTC
i'll try to fix dvdec caps to use BE tonight
Comment 8 Stephane Loeuillet 2005-01-07 20:34:52 UTC
problem found by ronald :

dvdec 32bit format is 32/32 BE _RGB, which is not correct
it should at least be 24/32 BE _RGB as it has no alpha and 8bits are unused

but even when making it 24/32 BE _RGB, ff[mpeg]colorspace can't handle it,
because it only supports BE BGR_ (it supports both 24/24 BE and LE but only one
24/32)
Comment 9 Stephane Loeuillet 2005-01-08 15:44:10 UTC
indeed, dvdec caps were plain wrong, dvdec outputs real RGBA (well, ARGB)

i saw that after i implemented BGR32 and BGRA in ffmpegcolorspace

so, both implemented in ffmpegcolorspace and dvdec caps fixed.

closing