1 Feb 07:45
Re: sample size of STSZ table in MP4
Ke Yu <jingke2000 <at> gmail.com>
2009-02-01 06:45:59 GMT
2009-02-01 06:45:59 GMT
I went over the X264 options in MPlayer, but couldn't figure out how to make it produce fixed sample size. Would you be more specific? Thanks! On Sat, Jan 31, 2009 at 5:26 PM, Baptiste Coudurier < baptiste.coudurier <at> gmail.com> wrote: > Hi, > > Ke Yu wrote: > > Hi All, > > > > I've got 2 questions regarding the sample size in MP4: > > 1). Is it possible to get the encoder (both H.264 and AAC) to output > fixed > > sample size for MP4? Per the MP4 format spec, I can put a fixed sample > size > > in STSZ table. I'm just wondering how I can do that with FFMPEG. > > Configure x264 encoder to do so. > > > 2). If the answer to 1) is NO and then the sample size would fluctuate, > can > > I use "skip" or "free" type to pad each sample so that I can still use > the > > fixed sample size in STSZ table? > > Or you can pad the video frame with padding NAL units to get fixed > sample size, if I'm not mistaken.(Continue reading)
RSS Feed