GES - smart encoding

Rob robert.swain at
Fri May 27 02:30:27 PDT 2011


On 27 May 2011 08:15, vineeth <nvineeth at> wrote:
>   I am doing a cut operation on a mpeg-4 file ( with H264 , AAC ) using GES
> and using smart coding  for this and it seems that there is loss of audio in
> the begining of the cut file.
>   From preliminary analysis it seems that if  the file is being cut from X
> to Y , video frames start from the nearest iframe to X, but however, audio
> frames are taken at a point after X.
>   Would like to know if anybody has faced this problem and any suggestions
> in solving this.

My guess would be that the video is taken from the first I-frame at or
before X and the audio from the first audio packet at or before X. The
I-frame could be well before X but the audio packet would be either
the current or previous packet.

Perhaps in smart mode the audio should be taken from close to the
I-frame too. Not really a bug, just a behaviour that could be quite
easily adjusted I would think, depending on what is deemed 'the right
way'. Else an option could be added to toggle the behaviour.


More information about the gstreamer-devel mailing list