Hi,

I actually use GStreamer for the multimedia video player of
LongoMatch[1] and I'd like to switch my very simple non-linear editor
to GStreamer using GNonLin. My video editor[2] needs to split segments
from different sources which may have different video sizes and
framerate, change the framerate, overlay some descriptive text  and
merge all the video segments into one single file.  I can actually do
this if the sources have the same size or if I use the xvid encoder or
the h264 encoder, but I'm having problems with the theora encoder and
the mpeg2 encoder if the sizes of the different sources differs.
The pipeline I use is the follwing one:
gnlcomposition ! identity  ! videorate ! videoscale ! textoverlay !
queue ! encoder ! muxer ! filesink

The problem with the mpeg2 encoder is that it doesn't want to
renegociate caps, which happens on each gnlfilesource switch and I
suppose that the theora encoder is having the same problem. The final
video contains only the first video segment.

For the moment I don't care if the the final video doesn't maintain
the correct aspect-ratio ( I have seen that you use a videobox in
PiTiVi to perform a smart video scale...), I just want to obtain a
stream with a fixed size before the encoder tail. I' d like to know
how do you do in PiTiVi to output a stream with a fixed size from the
gnlcomposition element so the caps negotiation is transparent to the
encoder. I have tried using a gnloperation with a videoscaler and
setting the gnlcomposition caps to the final video size but it doesn't
take effect (or maybe is that i don't know how to use the gnloperation
element...)

Thanks in advance


[1] http://www.longomatch.ylatuya.es
[2] 
https://forja.rediris.es/plugins/scmsvn/viewcvs.php/LongoMatch/trunk/libcesarplayer/src/gst-video-splitter.c?root=csl-longomatch&rev=895&view=markup

-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pitivi-pitivi mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pitivi-pitivi

Reply via email to