Hi,

august wrote:

> ah...yes....gmerlin_encoders.   I just now did that and get:
> 
> AVI/AC3/MPEG4  - creates an AVI, but gmerlin_play says
> "[avdecoder.demuxer] Info: Detected AVI format
> Floating point exception".  mplayer plays audio but no video.
> 
> AVI/AC3/ffmpeg MSMPEG 4v3 DIVx
> 
>       gmerlin_play says the same as above.
>       mplayer plays both audio and video...but the video timing is off.  It
>       goes way too fast.
> 
> AVI/AC3/MJPEG
> 
>       gmerlin_play says the same as above.
>       mplayer plays both audio and video...but the video timing is off.  It
>       goes way too fast.
> 
> 
> AVI/AC3/ffmpeg H263
>       gmerlin_play says the same as above.
>       mplayer plays audio but no video.
> 
> 
> AVI/SOWT/MJPEG
>       works!
> 
> 
> AVI/SOWT/ffmpeg MJPEG
>       works
> 
> 
> AVI/SOWT/DIRAC
>       works
> 
> 
> was it just the AC3  codec that caused problems?

Wait a minute these are made with the libquicktime encoder, not with
e_ffmpeg, right? e_ffmpeg doesn't write dirac....

> yeah, I guess if you have an mp4 container, and that can be played by
> windows users, then there may be no need for AVI. 

Right.

> I don't know...there
> seem to be so many formats out there....

That's mostly because commercial vendors are not really interested in
being compatible with others.

> and the quicktime for linux
> container doesn't ever seem to be compatible with Macs.  I just made a
> quicktime (with cinelerra) with MJPEG and 16bit twos pcm inside...and it
> cannot be read by the f'ing quicktime player of a mac.  

With libquicktime "Jpeg-Photo" and "mjpa" should work.
libquicktime is used by some professional studios and they use it to create
files, which are later read by FinalCut Pro.

> Arg.  I know
> the cinelerra qtlib is different, but isn't it based on your qtlib as
> well?

No, libquicktime is a fork of quicktime4linux from 2002. I added dynamic
codec loading and did *lots* of internal cleanups.

> I guess what I am interested in (as I believe you are as well), is
> compatibility.   Video is already difficult enough.  It would be great
> to have a cross-listing of known compatible files formats - container,
> audio, video - that work on all platforms.

As I already said, I plan to add encoding presets in the next development cycle.
Then people can choose something like "Divx AVI" or "MP4/AAC/H.264".
And of course when figuring out the presets one should make some compatibility
tests.

> perhaps a compatibility registry could be of use.  but, that might be
> something for outside gmerlin.

Or encoding presets...

>> I thought about several ways to handle these in an elegant way, but all
>> solutions lead to incredible bloat inside the code (which is complicated
>> enough already). And the gain would be little.
> 
> This is where I might differ in opinion.  I think the gain might be
> pretty significant.  However, the work that would go into it might be
> immense in comparison.

Exactly. Encoding presets are easy to implement (just load/save the
bg_cfg_section_t), they are useful for anyone and keep most people away from
tweaking critial options.

> Keeping up with what players play which format
> is not trivial, I gather.

Right. Especially if the compatibility changes from version to version...

> from the programmer side of things...it would be nice to be able to test
> and see if a container-codec combo is even valid.  Right now, I have to
> start the encoder and see if it fails...but afaik, I don't get any error
> report back as to why it failed.

The e_ffmpeg should now print a log message.
The libquicktime encoder doesn't yet.

> I also don't know enough about the
> config and plugin registries yet to pick out my own container-codec
> options.   It's still very vague to me how it works.  

Setting them "by hand" is difficult, I admit. I do encoding only with GUI
applications and here my dialogs do that.

> I DO like the fact that I can set my encoding options in one place with
> gmerlin_plugincfg.  That is really great.   However, if I build a
> streaming video app with the gmerlin framework, and I want the user to
> only use the theora streaming plugin, how do I set that up?

You can enable only streaming encoders by ommitting BG_PLUGIN_FILE from the
plugin flags.

Burkhard

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to