Comparing jpeg images

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

Comparing jpeg images

Pavan Patale


Hi,

This query is not directly related to GStreamer.  But, having considered to use GStreamer framework for my application and rich multimedia experience possessed by this mailing list I am posting it here.
One of the requirement of my application is to compare jpeg images. 

Does GStreamer has any support for this ?

or

Could someone pls point me to a link which has information on comparing jpeg images.

Thanks,
Pavan.


Fly HYD-BLR for Rs.499 Log on to MakeMyTrip! Check it out!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

gst-launch command to transcode

Ramana_polaka

Hi,

 

Can somebody please help me to in the following?

 

aim: to transcode

 

input: mpeg2 video with mp3 audio stream

output: dump with mp4 container format

  

 

                                             /---video_queue--Mpeg2decoder--Mpeg4Encoder--\

  input.mpg -->filesrc--demuxer---                                                                    -- mp4muxer--filesink--> output.mp4

                                             \---audio_queue--Mp3decoder----AacEncoder----/

  

for dumping only video the following command works

-----------------------------------------------------------------------------

 

gst-launch filesrc location=reader_mpeg1_320.mpg ! ffdemux_mpeg name=demux demux. ! queue max-size-buffers=0 ! ffdec_mpeg2video ! ffenc_mpeg4 ! ffmux_mp4 name=muxer muxer.! filesink location=reader.mp4

 

 

for dumping video and audio how can I use the command?

 

Regards,

Ramana

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-launch command to transcode

Wim Taymans
On Thu, 2008-03-20 at 16:23 +0530, Ramana Reddy Polaka wrote:

> Hi,
>
>  
>
> Can somebody please help me to in the following?
>
>  
>
> aim: to transcode
>
>  
>
> input: mpeg2 video with mp3 audio stream
>
> output: dump with mp4 container format
>
>    
I don't think it works currently, patches are welcome.

Wim

>
>  
>
>
>          /---video_queue--Mpeg2decoder--Mpeg4Encoder--\
>
>   input.mpg
> -->filesrc--demuxer---
>                         -- mp4muxer--filesink--> output.mp4
>
>
> \---audio_queue--Mp3decoder----AacEncoder----/
>
>    
>
> for dumping only video the following command works
>
> -----------------------------------------------------------------------------
>
>  
>
> gst-launch filesrc location=reader_mpeg1_320.mpg ! ffdemux_mpeg
> name=demux demux. ! queue max-size-buffers=0 ! ffdec_mpeg2video !
> ffenc_mpeg4 ! ffmux_mp4 name=muxer muxer.! filesink
> location=reader.mp4
>
>  
>
>  
>
> for dumping video and audio how can I use the command?
>
>  
>
> Regards,
>
> Ramana
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this
> e-mail or its contents to any other person and any such actions are
> unlawful. This e-mail may contain viruses. Infosys has taken every
> reasonable precaution to minimize this risk, but is not liable for any
> damage you may sustain as a result of any virus in this e-mail. You
> should carry out your own virus checks before opening the e-mail or
> attachment. Infosys reserves the right to monitor and review the
> content of all messages sent to or from this e-mail address. Messages
> sent to or from this e-mail address may be stored on the Infosys
> e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Comparing jpeg images

Florent THIERY-2
In reply to this post by Pavan Patale
> One of the requirement of my application is to compare jpeg images.
> Does GStreamer has any support for this ?

What do you mean by comparing jpeg images ? Comparing the uncompressed
data (ex: motion detection), or changes in the compression settings /
huffman dict / etc... ?

Either way i don't think there's anything like that in GStreamer, not
to mention that a jpeg artifacts or captor noise could induce minor
differences even if images ar almost the sames, thus raising
differences where it's not the case.

Writing a basic image comparison plugin could be relatively easy to
do, yet i think you might be looking at image processing/vision libs
for further features (ex: OpenCV).

I don't know of any OpenCV GStreamer plugin, but i found this example
of integration:
http://www-nlpir.nist.gov/projects/tvpubs/tv6.papers/sao_paolo.pdf

Hope this helps

FLo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel