fguida / ossbuild-vs2010

Automatically exported from code.google.com/p/ossbuild-vs2010
Other
0 stars 0 forks source link

Missing x264enc? #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems that the element x264enc is missing, which is strange since the x264 
library is included with the source.

At the minute I'm using decodebin as a temporary replacement but it adds an 
unnecessary overhead since it needs to use typefind to find a solution for the 
video. 

Using decodebin the debug file doesn't report using x264enc either.

Any help would be appreciated.

Thanks.

Original issue reported on code.google.com by bradsharp0616 on 14 Nov 2013 at 10:08

GoogleCodeExporter commented 9 years ago
x264enc is included with the GPL distribution. Because of its license, it 
cannot be included in the LGPL distribution.

I don't really understand how you are replacing the x264 encoder with decodebin 
as a decoder?

Original comment by Petteri.Aimonen on 14 Nov 2013 at 11:56

GoogleCodeExporter commented 9 years ago
Issue 7 has been merged into this issue.

Original comment by Petteri.Aimonen on 14 Nov 2013 at 11:57

GoogleCodeExporter commented 9 years ago
Sorry I am dealing with x264dec, no idea why I typed enc I'm not dealing with 
x264enc in my code at all.

Is there any other decoder that is included with the LPGL distro that would 
work? 

Thanks again.

Original comment by bradsharp0616 on 14 Nov 2013 at 12:12

GoogleCodeExporter commented 9 years ago
Oh I forgot to mention I was using ffdec_h264 but I was getting a fairly large 
amount of artefacting, which is why I was looking into x264dec. The only thing 
that seems to help it was to add a parser before the decoder. 

Original comment by bradsharp0616 on 14 Nov 2013 at 12:20

GoogleCodeExporter commented 9 years ago
As far as I know, there does not exist such a thing as x264dec. libx264 is an 
encoding library.

The only h264 decoder in gstreamer-0.10 is ffdec_h264 (well, you might be able 
to use Windows' DirectShow decoders also). If you get artifacts, they are 
either in the source material or the decoder is fed data in some wrong format.

Original comment by Petteri.Aimonen on 14 Nov 2013 at 1:42