Can't read TGA files

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't read TGA files

Igors
Hi All

Tried with (uri)decodebin and avdec_targa - no luck, popular tga (targa)
files can't be read/open. Maybe there is something specific?

Thx



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can't read TGA files

Nicolas Dufresne-5
Le lundi 08 avril 2019 à 09:45 -0500, Igors a écrit :
> Hi All
>
> Tried with (uri)decodebin and avdec_targa - no luck, popular tga (targa)
> files can't be read/open. Maybe there is something specific?

To start with, there is no typefinder for this image type, that would
need to be added. For avdec_targa, it's being auto-generated,
unfortunatly it does not seems to work, someone would need to debug. It
does not seem like a forgot someone have integrated and validated
before.

>
> Thx
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can't read TGA files

Igors
Hi, Nicolas, All

After experimenting I've found it works with gdkpixbufdec, pipleline is like

filesrc location=1.tga ! gdkpixbufdec ! ...

So in my image viewer I try decodebin first, then, if it fails, try
gdkpixbufdec. It's ugly, more code and slower loading, but typefind looks
too complex for me.

Thx  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can't read TGA files

Nicolas Dufresne-5


Le jeu. 11 avr. 2019 03 h 40, Igors <[hidden email]> a écrit :
Hi, Nicolas, All

After experimenting I've found it works with gdkpixbufdec, pipleline is like

filesrc location=1.tga ! gdkpixbufdec ! ...

So in my image viewer I try decodebin first, then, if it fails, try
gdkpixbufdec. It's ugly, more code and slower loading, but typefind looks
too complex for me.

Ok, I think you can file an issue with this data. We can try and fix the ffmpeg element, or downgrade it's rank so gdkpixbufdec get picked instead.

Meanwhile, a nicer solutions in your app is to find the ffmpeg element factory (gst_element_factory_find()) and downgrade it's rank to GST_RANK_NONE. Then decodebin will stop using it.


Thx   



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel