Since workflow operations are blocking, I suggest doing the actual work in a
service such as the composer service.  This way, jobs can be distributed,
can take advantage of failover, etc.

Josh

On Wed, May 4, 2011 at 12:17 PM, Greg Logan <[email protected]> wrote:

> On 11-05-04 12:57 PM, Ruben Gonzalez Uvigo wrote:
> > Hi Greg.
> >
> > I only have a doubt,  if you use a unique file that contains two video
> > streams, how to differentiate the flavours of the video streams?
> >
> > You could use the resolution to put the correct flavour in an especial
> > prepare-av workflow operation.
>
> I was going to give the input capture a flavour of video/epiphan or
> something and then catch that with a workflow operation handler per
> Chris' suggestion.
>
> G
>
> >
> >
> > 2011/5/4 Greg Logan <[email protected] <mailto:[email protected]>>
> >
> >     Hi folks,
> >
> >     I am finally at the stage where I have some media from the new
> Epiphan
> >     capture agent to test against.  The media contains two video streams
> and
> >     one audio stream in a single .avi file.  In terms of workflow at the
> >     core, what do I need to add or change?  Do I need to split one video
> out
> >     into its own file, or will we be able to write a workflow that does
> not
> >     require creating additional files?
> >
> >     The output of mediainfo on the example media:
> >
> >     General
> >     Complete name                    : capture.avi
> >     Format                           : AVI
> >     Format/Info                      : Audio Video Interleave
> >     File size                        : 1.34 MiB
> >     Duration                         : 11s 367ms
> >     Overall bit rate                 : 993 Kbps
> >     Writing application              : Lavf52.32.0
> >
> >     Video #1
> >     ID                               : 0
> >     Format                           : AVC
> >     Format/Info                      : Advanced Video Codec
> >     Format profile                   : [email protected]
> >     Format settings, CABAC           : No
> >     Format settings, ReFrames        : 1 frame
> >     Codec ID                         : H264
> >     Duration                         : 11s 367ms
> >     Bit rate mode                    : Variable
> >     Bit rate                         : 817 Kbps
> >     Maximum bit rate                 : 600 Kbps
> >     Width                            : 1 920 pixels
> >     Height                           : 1 200 pixels
> >     Display aspect ratio             : 1.600
> >     Frame rate mode                  : Variable
> >     Frame rate                       : 30.000 fps / 5.000 fps
> >     Standard                         : NTSC
> >     Color space                      : YUV
> >     Chroma subsampling               : 4:2:0
> >     Bit depth                        : 8 bits
> >     Scan type                        : Progressive
> >     Bits/(Pixel*Frame)               : 0.012
> >     Stream size                      : 1.11 MiB (82%)
> >
> >     Video #2
> >     ID                               : 2
> >     Format                           : AVC
> >     Format/Info                      : Advanced Video Codec
> >     Codec ID                         : H264
> >     Width                            : 720 pixels
> >     Height                           : 480 pixels
> >     Display aspect ratio             : 3:2
> >     Standard                         : NTSC
> >     Color space                      : YUV
> >     Chroma subsampling               : 4:2:0
> >     Stream size                      : 33.0 KiB (2%)
> >
> >     Audio
> >     ID                               : 1
> >     Format                           : MPEG Audio
> >     Format version                   : Version 2
> >     Format profile                   : Layer 3
> >     Codec ID                         : 55
> >     Codec ID/Hint                    : MP3
> >     Duration                         : 11s 363ms
> >     Bit rate mode                    : Constant
> >     Bit rate                         : 128 Kbps
> >     Channel(s)                       : 1 channel
> >     Sampling rate                    : 22.05 KHz
> >     Stream size                      : 178 KiB (13%)
> >     Alignment                        : Split accross interleaves
> >     Interleave, duration             : 26 ms (0.78 video frame)
> >
> >
> >     G
> >
> >
> >     _______________________________________________
> >     Matterhorn mailing list
> >     [email protected] <mailto:
> [email protected]>
> >     http://lists.opencastproject.org/mailman/listinfo/matterhorn
> >
> >
> >     To unsubscribe please email
> >     [email protected]
> >     <mailto:[email protected]>
> >     _______________________________________________
> >
> >
> >
> >
> > --
> > Un Saludo
> >
> > Ruben Gonzalez Gonzalez
> >
> >
> >
> > _______________________________________________
> > Matterhorn mailing list
> > [email protected]
> > http://lists.opencastproject.org/mailman/listinfo/matterhorn
> >
> >
> > To unsubscribe please email
> > [email protected]
> > _______________________________________________
>
>
>
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>
>
> To unsubscribe please email
> [email protected]
> _______________________________________________
>
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to