On Mon, 2008-08-25 at 13:04 -0700, David Schleef wrote:
> On Mon, Aug 25, 2008 at 12:09:56PM +0200, Kevin Bortis wrote:
> > Hi,
> > 
> > Is there a way to encode DiracPro video under linux or mac os x at the
> > current development stage? I have here some uncompressed 4:2:2 video
> > files with Dolby A/52 audio I would like to convert to DiracPro
> > embedded in mpegts files.
> > 
> > I have read some ffmpeg docu and have compiled ffmpeg under linux with
> > libschroedinger support. Do I have only to add the "-intra" option to
> > get DiracPro instead of Dirac?
> > 
> > If someone could give a working ffmpeg example I would be very happy.
> 
> This is what I use for intermediate work in HD720.  Constant bitrate
> at 100 Mbit/sec, disable arithmetic coding, intra-only:
> 
>   gop-structure=1 enable-noarith=1 rate-control=1 bitrate=100000000
> 
> I use 100 Mbit/sec as a bit rate because it's nearly lossless and
> disk usage isn't a concern for me.  Another, but variable bit rate:
> 
>   gop-structure=1 enable-noarith=1 rate-control=0 noise-threshold=50
> 
> I'm not certain how these convert into ffmpeg options.  I use gstreamer
> almost exclusively, which exposes the schroedinger options directly.
> 

The current Schro/Dirac encoder modules in FFmpeg support only the Main
profiles. So entropy coding using VLC is not yet supported. It shouldn't
be too difficult to handle once I can find a suitable command line
argument that can be used or has to be added. I'll submit a patch to
FFmpeg regarding this today. The rest of the arguments mentioned by
David Schleef are supported. The mapping is as follows:

Schro                                      FFmpeg
gop-structures=1                          -intra

rate-control=1 bitrate=100000000          -b 100000000

rate-control=0 noise-threshold=50         -qscale 50

Note that the Schroedinger encoder in FFmpeg is used only if the Dirac
encoder is disabled. i.e. if both Dirac and Schroedinger libraries are
installed and both modules are enabled using configure, then libdirac is
used for encoding and not libschroedinger. 

[...]


Regards,
Anuradha



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to