[x264-devel] x264 + gpac segfaults for mp4 output

Alec Robertson alecr at MIT.EDU
Thu Jun 29 02:10:04 CEST 2006


Hi,

I'm using the latest svn/cvs x264 and gpac and am encoding a yuv4mpeg
stream into an mp4. In the past, the following has worked:

    x0="-B 2000 -b 2 --no-psnr --progress --stats .x264"
    x1="-m 1 --me dia -A none" 
    x2="-m 6 --me umh -A  all"
    x264 $x0 $x1 -p 1 -o /dev/null $i  # 20-30fps
    x264 $x0 $x2 -p 2 -o  $b-v.mp4 $i  #  8-12fps

Now it segfaults with:

    yuv4mpeg: 720x320 at 30000/1001fps, 10:11
    x264 [info]: using SAR=10/11
    x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 
    mp4 [info]: initial delay 1001 (scale 30000)
    Segmentation fault1367 (0.1%), 34.87 fps, eta 0:00:39  

Encoding to an mkv instead of mp4 in the second pass works fine:

    yuv4mpeg: 720x320 at 30000/1001fps, 10:11
    x264 [info]: using SAR=10/11
    x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 
    x264 [info]: slice I:11    Avg QP:12.73  size: 26357:00:00  
    x264 [info]: slice P:539   Avg QP:13.13  size: 14440
    x264 [info]: slice B:817   Avg QP:14.77  size:  3998
    x264 [info]: mb I  I16..4: 56.5%  0.0% 43.5%
    x264 [info]: mb P  I16..4:  8.0%  0.0% 17.1%  P16..4: 15.1%  
                           9.5%  2.8%  0.5%  0.5%    skip:46.6%
    x264 [info]: mb B  I16..4:  1.2%  0.0%  1.2%  B16..8:  9.3%  
                           1.6%  5.8%  direct:13.5%  skip:67.5%
    x264 [info]: kb/s:1988.9
    encoded 1367 frames, 12.62 fps, 1989.15 kb/s

Also, as a matter of interest, how should I interpret the final encoding
output to determine the optimal number of b-frames or reference frames?

Alec


-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list