[vlc-devel] [PATCH] mp4: assume that blocks have correct i_length by now

Ilkka Ollakka ileoo at videolan.org
Tue Feb 18 08:02:07 CET 2014


On Tue, Feb 18, 2014 at 07:40:39AM +0100, Rafaël Carré wrote:
> On 02/17/14 19:57, Ilkka Ollakka wrote:

> > Just realised that we don't have length if we don't transcode, so this
> > patch would break remuxing to mp4 in some cases.

> Well if we have pts we have length even though it is not set :)

> Did you test mp4 -> mp4 without transcode?

Yes, it didn't work properly eg jerky video.

I think I'll introduce 1 block delay per track in muxer if there is no
length. Current code also leaves last block out from muxing so shortens
the outputfile.

-- 
Ilkka Ollakka
FEELINGS are cascading over me!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140218/1d90efe0/attachment.sig>


More information about the vlc-devel mailing list