List Info

Thread: Re: segmentation fault with ffenc_mpeg2video under gstreamer




Re: segmentation fault with ffenc_mpeg2video under gstreamer
user name
2007-02-02 09:57:49
On Thu, 2007-02-01 at 19:43 +0530, Gajel krishna wrote:
> hi
> When i try to to set up a pipeline to encode raw video
to mpeg2 using
> ffenc_mpeg2video i am getting segmentation fault.
> Are these following pipelines correct?
> 
>  I first covert a mpeg video to raw video data using
pipeline 
> "gst-launch filesrc location=/test.mpg ! decodbin
! filesink
> location=/test.raw"

This will discard all of the frame information such as the
colorspace
and dimensions.

> 
> And then i use the raw data to convert it to the mpeg2
video using
> pipeline
> "gst-launch filesrc location=/test.raw !
ffmpegcolorspace !
> ffenc_mpeg2video ! filesink location=/test1.mpv" 

Feeding random data into the encoder (colorspace converter)
should make
it fail with a negotiation error.

> 
> The first one works fine,
> but second one gives segmentation fault.

That would be a bug that needs fixing.
> 
> 
> And when i try to install the bad plugins from source
after
> doing ./configure it displays 
> a list of plugins  containing  mpeg2enc, faac,faad etc
, that those
> plugins can't be build. Can anyone please tell me on
what
> external libraries it depends. Or is there any
alternative way to
> install those bad plugins. 
> Looking forward for your help.

you'll need:

 - libmpeg2-dev
 - libfaac-dev
 - libfaad-dev

Also the REQUIREMENTS file lists the libs and versions you
need along
with where you can get them.

Wim

> 
> Warm Regards
> Gajel krishna 
>
------------------------------------------------------------
-------------
> Using Tomcat but need to do more? Need to support web
services, security?
> Get stuff done quickly with pre-integrated technology
to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

> _______________________________________________
gstreamer-devel mailing list gstreamer-devellists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstream
er-devel


------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

Re: segmentation fault with ffenc_mpeg2video under gstreamer
user name
2007-02-03 04:25:59
Wim Taymans wrote:
> On Thu, 2007-02-01 at 19:43 +0530, Gajel krishna
wrote:
>> hi
>> When i try to to set up a pipeline to encode raw
video to mpeg2 using
>> ffenc_mpeg2video i am getting segmentation fault.
>> Are these following pipelines correct?
>>
>>  I first covert a mpeg video to raw video data
using pipeline 
>> "gst-launch filesrc location=/test.mpg !
decodbin ! filesink
>> location=/test.raw"
> 
> This will discard all of the frame information such as
the colorspace
> and dimensions.
> 
>> And then i use the raw data to convert it to the
mpeg2 video using
>> pipeline
>> "gst-launch filesrc location=/test.raw !
ffmpegcolorspace !
>> ffenc_mpeg2video ! filesink
location=/test1.mpv" 
> 
> Feeding random data into the encoder (colorspace
converter) should make
> it fail with a negotiation error.
> 
>> The first one works fine,
>> but second one gives segmentation fault.
> 
> That would be a bug that needs fixing.

This has been put into http
://bugzilla.gnome.org/show_bug.cgi?id=403739,
along with a patch.

>> And when i try to install the bad plugins from
source after
>> doing ./configure it displays 
>> a list of plugins  containing  mpeg2enc, faac,faad
etc , that those
>> plugins can't be build. Can anyone please tell me
on what
>> external libraries it depends. Or is there any
alternative way to
>> install those bad plugins. 
>> Looking forward for your help.
> 
> you'll need:
> 
>  - libmpeg2-dev
>  - libfaac-dev
>  - libfaad-dev
> 
> Also the REQUIREMENTS file lists the libs and versions
you need along
> with where you can get them.

mjpegtools http://mjpeg.sourceforg
e.net/ (e.g. for mpeg2enc) is not listed in
there.  Also, the stock mjpegtools 1.8 tarball has a bug; it
does not install
the header file mpeg2syntaxcodes.h into
<mjpeg_include>/mpeg2enc.
The plugin mpeg2enc will only be built if this file has been
put in there,
either manually or by some distro correction.

Mark.

> Wim
> 
>> Warm Regards
>> Gajel krishna 
>>
------------------------------------------------------------
-------------
>> Using Tomcat but need to do more? Need to support
web services, security?
>> Get stuff done quickly with pre-integrated
technology to make your job easier.
>> Download IBM WebSphere Application Server v.1.0.1
based on Apache Geronimo
>> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

>> _______________________________________________
gstreamer-devel mailing list gstreamer-devellists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstream
er-devel
> 
> 
>
------------------------------------------------------------
-------------
> Using Tomcat but need to do more? Need to support web
services, security?
> Get stuff done quickly with pre-integrated technology
to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstream
er-devel
> 

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )