2008/12/25 Stefano Sabatini <[email protected]>
> On date Wednesday 2008-12-24 23:21:42 +0400, Artem encoded:
> > Thank you for your answer! I'm using latest svn source code. I call
> > avcodec_register_all() at the start, here is my code(it works fine with
> > codecs other than H264):
>
> Don't top post.
Sorry.
Are you sure you're compiling/linking against your compiled
> FFmpeg version?
>
> What's the result of:
> avcodec_find_encoder(CODEC_ID_H264); ?
>
> If that's the problem then you should double check your
> compilation/linking commands, and make them points to the right path
> where you installed your version of FFmpeg.
Yep, linker loaded old dynamic libs, and x264 support was in static libs.
Now I'm able to encode H264, but I can't play it, my encoding output:
Output #0, h264, to 'test.mp4':
Stream #0.0: Video: libx264, yuv420p, 640x400, q=2-31, 64 kb/s, 10.00
tb(c)
[libx264 @ 0x1058200]using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD
SSE4.1 Cache64
[libx264 @ 0x1058200]profile Baseline, level 2.2
[libx264 @ 0x1058200]slice I:9 Avg QP:29.37 size: 33913
[libx264 @ 0x1058200]slice P:92 Avg QP:30.49 size: 176
[libx264 @ 0x1058200]mb I I16..4: 37.6% 0.0% 62.4%
[libx264 @ 0x1058200]mb P I16..4: 0.1% 0.0% 0.0% P16..4: 1.0% 0.0%
0.0% 0.0% 0.0% skip:98.8%
[libx264 @ 0x1058200]final ratefactor: 33.05
[libx264 @ 0x1058200]SSIM Mean Y:0.9645338
[libx264 @ 0x1058200]kb/s:254.6
And when I try to play it with VLC I receive:
ffmpeg: Seeking too far : EOF?
ffmpeg: av_open_input_stream failed
ps: cannot peek
main: no suitable demux module for `/:/test.mp4'
VLC plays fine other H264 files. What may cause the problem? Thanks!
> [...]
>
> Regards.
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user