Advertisement
Guest User

Untitled

a guest
Feb 25th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. I have VIA C3 processor
  2.  
  3. cat /proc/cpuinfo
  4. processor : 0
  5. vendor_id : CentaurHauls
  6. cpu family : 6
  7. model : 9
  8. model name : VIA Nehemiah
  9. stepping : 10
  10.  
  11. and try build both ffmpeg and libav coders, but can't run x264 coding.
  12. flv codec work fine.
  13.  
  14.  
  15. ./configure --cpu=i386 --disable-yasm --disable-asm --disable-mmx --disable-mmx2 \
  16. --disable-hwaccels --disable-vdpau --disable-runtime-cpudetect \
  17. --enable-version3 --enable-libvo-aacenc --enable-libmp3lame --enable-libtheora --enable-libx264 \
  18. --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac \
  19. --enable-pthreads --enable-libvorbis --enable-libfaac --enable-gpl --enable-x11grab \
  20. --enable-nonfree --enable-avfilter --enable-librtmp --optflags="-O2 -march=i386 -mtune=generic"
  21.  
  22. avconv -i defy.flv -y -v verbose -s 704x384 -vcodec libx264 out.x.flv
  23. avconv version 0.8, Copyright (c) 2000-2011 the Libav developers
  24. built on Feb 25 2012 02:07:18 with gcc 4.6.2
  25. 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'
  26.  
  27. gdb
  28. run -i defy.flv -y -v verbose -s 704x384 -vcodec libx264 out.x.flv
  29. Starting program: /usr/local/bin/avconv -i defy.flv -y -v verbose -s 704x384 -vcodec libx264 out.x.flv
  30. [Thread debugging using libthread_db enabled]
  31. Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
  32. avconv version 0.8, Copyright (c) 2000-2011 the Libav developers
  33. built on Feb 25 2012 02:07:18 with gcc 4.6.2
  34. 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'
  35. libavutil 51. 21. 0 / 51. 21. 0
  36. libavcodec 53. 34. 0 / 53. 34. 0
  37. libavformat 53. 20. 0 / 53. 20. 0
  38. libavdevice 53. 2. 0 / 53. 2. 0
  39. libavfilter 2. 15. 0 / 2. 15. 0
  40. libswscale 2. 1. 0 / 2. 1. 0
  41. libpostproc 52. 0. 0 / 52. 0. 0
  42. [flv @ 0x8c05aa0] Estimating duration from bitrate, this may be inaccurate
  43. Input #0, flv, from 'defy.flv':
  44. Metadata:
  45. starttime : 0
  46. totalduration : 61
  47. totaldatarate : 1170
  48. bytelength : 8913665
  49. canseekontime : true
  50. sourcedata : B4A7DA8ACHH1330089282160433
  51. purl :
  52. pmsg :
  53. Duration: 00:01:00.96, start: 0.000000, bitrate: 1189 kb/s
  54. Stream #0.0: Video: h264 (Main), yuv420p, 854x480 [PAR 1:1 DAR 427:240], 1091 kb/s, 25 tbr, 1k tbn, 50 tbc
  55. Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 97 kb/s
  56. [buffer @ 0x8c09b20] w:854 h:480 pixfmt:yuv420p
  57. [scale @ 0x8c08360] w:854 h:480 fmt:yuv420p -> w:704 h:384 fmt:yuv420p flags:0x4
  58. [libx264 @ 0x8c07ec0] using SAR=427/440
  59. [libx264 @ 0x8c07ec0] using cpu capabilities: MMX2
  60. [libx264 @ 0x8c07ec0] profile Main, level 3.0
  61. [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
  62. Output #0, flv, to 'out.x.flv':
  63. Metadata:
  64. starttime : 0
  65. totalduration : 61
  66. totaldatarate : 1170
  67. bytelength : 8913665
  68. canseekontime : true
  69. sourcedata : B4A7DA8ACHH1330089282160433
  70. purl :
  71. pmsg :
  72. encoder : Lavf53.20.0
  73. Stream #0.0: Video: libx264, yuv420p, 704x384 [PAR 427:440 DAR 427:240], q=-1--1, 1k tbn, 25 tbc
  74. Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 200 kb/s
  75. Stream mapping:
  76. Stream #0:0 -> #0:0 (h264 -> libx264)
  77. Stream #0:1 -> #0:1 (aac -> libmp3lame)
  78. Press ctrl-c to stop encoding
  79. frame= 39 fps= 6 q=0.0 size= 0kB time=1.52 bitrate= 0.0kbits/s
  80. Program received signal SIGILL, Illegal instruction.
  81. 0xb7ba27aa in ?? () from /usr/lib/i386-linux-gnu/libx264.so.120
  82. (gdb) bt
  83. #0 0xb7ba27aa in ?? () from /usr/lib/i386-linux-gnu/libx264.so.120
  84. Cannot access memory at address 0x6
  85. (gdb) x/i $pc
  86. => 0xb7ba27aa: nopw 0x0(%eax,%eax,1)
  87. (gdb)
  88.  
  89.  
  90. 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