Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have VIA C3 processor
- cat /proc/cpuinfo
- processor : 0
- vendor_id : CentaurHauls
- cpu family : 6
- model : 9
- model name : VIA Nehemiah
- stepping : 10
- and try build both ffmpeg and libav coders, but can't run x264 coding.
- flv codec work fine.
- ./configure --cpu=i386 --disable-yasm --disable-asm --disable-mmx --disable-mmx2 \
- --disable-hwaccels --disable-vdpau --disable-runtime-cpudetect \
- --enable-version3 --enable-libvo-aacenc --enable-libmp3lame --enable-libtheora --enable-libx264 \
- --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac \
- --enable-pthreads --enable-libvorbis --enable-libfaac --enable-gpl --enable-x11grab \
- --enable-nonfree --enable-avfilter --enable-librtmp --optflags="-O2 -march=i386 -mtune=generic"
- avconv -i defy.flv -y -v verbose -s 704x384 -vcodec libx264 out.x.flv
- avconv version 0.8, Copyright (c) 2000-2011 the Libav developers
- built on Feb 25 2012 02:07:18 with gcc 4.6.2
- configuration: --cpu=i386 --disable-yasm --disable-asm --disable-mmx --disable-mmx2 --disable-hwaccels --disable-vdpau --disable-runtime-cpudetect --enable-version3 --enable-libvo-aacenc --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis --enable-libfaac --enable-gpl --enable-x11grab --enable-nonfree --enable-avfilter --enable-librtmp --optflags='-O2 -march=i386 -mtune=generic'
- gdb
- run -i defy.flv -y -v verbose -s 704x384 -vcodec libx264 out.x.flv
- Starting program: /usr/local/bin/avconv -i defy.flv -y -v verbose -s 704x384 -vcodec libx264 out.x.flv
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
- avconv version 0.8, Copyright (c) 2000-2011 the Libav developers
- built on Feb 25 2012 02:07:18 with gcc 4.6.2
- configuration: --cpu=i386 --disable-yasm --disable-asm --disable-mmx --disable-mmx2 --disable-hwaccels --disable-vdpau --disable-runtime-cpudetect --enable-version3 --enable-libvo-aacenc --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis --enable-libfaac --enable-gpl --enable-x11grab --enable-nonfree --enable-avfilter --enable-librtmp --optflags='-O2 -march=i386 -mtune=generic'
- libavutil 51. 21. 0 / 51. 21. 0
- libavcodec 53. 34. 0 / 53. 34. 0
- libavformat 53. 20. 0 / 53. 20. 0
- libavdevice 53. 2. 0 / 53. 2. 0
- libavfilter 2. 15. 0 / 2. 15. 0
- libswscale 2. 1. 0 / 2. 1. 0
- libpostproc 52. 0. 0 / 52. 0. 0
- [flv @ 0x8c05aa0] Estimating duration from bitrate, this may be inaccurate
- Input #0, flv, from 'defy.flv':
- Metadata:
- starttime : 0
- totalduration : 61
- totaldatarate : 1170
- bytelength : 8913665
- canseekontime : true
- sourcedata : B4A7DA8ACHH1330089282160433
- purl :
- pmsg :
- Duration: 00:01:00.96, start: 0.000000, bitrate: 1189 kb/s
- Stream #0.0: Video: h264 (Main), yuv420p, 854x480 [PAR 1:1 DAR 427:240], 1091 kb/s, 25 tbr, 1k tbn, 50 tbc
- Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 97 kb/s
- [buffer @ 0x8c09b20] w:854 h:480 pixfmt:yuv420p
- [scale @ 0x8c08360] w:854 h:480 fmt:yuv420p -> w:704 h:384 fmt:yuv420p flags:0x4
- [libx264 @ 0x8c07ec0] using SAR=427/440
- [libx264 @ 0x8c07ec0] using cpu capabilities: MMX2
- [libx264 @ 0x8c07ec0] profile Main, level 3.0
- [libx264 @ 0x8c07ec0] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
- Output #0, flv, to 'out.x.flv':
- Metadata:
- starttime : 0
- totalduration : 61
- totaldatarate : 1170
- bytelength : 8913665
- canseekontime : true
- sourcedata : B4A7DA8ACHH1330089282160433
- purl :
- pmsg :
- encoder : Lavf53.20.0
- Stream #0.0: Video: libx264, yuv420p, 704x384 [PAR 427:440 DAR 427:240], q=-1--1, 1k tbn, 25 tbc
- Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 200 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 -> libx264)
- Stream #0:1 -> #0:1 (aac -> libmp3lame)
- Press ctrl-c to stop encoding
- frame= 39 fps= 6 q=0.0 size= 0kB time=1.52 bitrate= 0.0kbits/s
- Program received signal SIGILL, Illegal instruction.
- 0xb7ba27aa in ?? () from /usr/lib/i386-linux-gnu/libx264.so.120
- (gdb) bt
- #0 0xb7ba27aa in ?? () from /usr/lib/i386-linux-gnu/libx264.so.120
- Cannot access memory at address 0x6
- (gdb) x/i $pc
- => 0xb7ba27aa: nopw 0x0(%eax,%eax,1)
- (gdb)
- I think VIA C3 does not support nopw instruction. how to disable generation of this ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement