[x265] x265 on Linux , yuv input , "Floating point exception"

王康 scateu at gmail.com
Thu Jul 25 05:04:17 CEST 2013


Update:

on x64 Linux Debian system, y4m input seems working:

$ x265 charlie.y4m -o charlie.hevc
y4m  [info]: 1280x720 23Hz, frames 0 - 95 of 96
x265 [info]: detected SIMD architectures SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
x265 [info]: performance primitives: intrinsic assembly
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Parallelism disabled, single thread mode
x265 [info]: CU size                      : 64
x265 [info]: Max RQT depth inter / intra  : 3 / 3
x265 [info]: ME method / range / maxmerge : star / 64 / 5
x265 [info]: Keyframe Interval            : 24
x265 [info]: QP                           : 32
x265 [info]: enabled coding tools: rect rdo rdoq sign-hide tskip tskip-fast
rdoqts
[46.9%] 45/96 frames, 0.62 fps, 131.56 kb/s, eta 0:01:22


but yuv input still doesn't work.

$ x265 charlie.yuv -o charlie.hevc
Floating point exception



On Thu, Jul 25, 2013 at 10:44 AM, 王康 <scateu at gmail.com> wrote:

> Hi ,
>
>    I just checkout the latest code version from bitbucket, and compile
> yasm-1.2.0, and make. It seems all right so far on both x86 and x64 Debian
> Linux.
>
> $ uname -a
> Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.35-2 i686 GNU/Linux
>
> $ uname -a
> Linux 3.2.0-2-amd64 #1 SMP Mon Jun 11 17:24:18 UTC 2012 x86_64 GNU/Linux
>
> $ gcc -v
> gcc version 4.7.2 (Debian 4.7.2-4)
>
> $ yasm --version
> yasm 1.2.0
> Compiled on Jul 24 2013.
> Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.
> Run yasm --license for licensing overview and summary.
>
>
> $ x265 -V
> x265 [info]: HEVC encoder version 0.3+24-fd4954d7c2ac
> x265 [info]: build info [Linux][GCC 4.7.2][32 bit] 8bpp
> x265 [info]: detected SIMD architectures SSE2 SSE3 SSSE3
> x265 [info]: performance primitives: intrinsic assembly
>
>    Then I generate yuv and y4m file using ffmpeg:
>
>  $ ffmpeg -i charlie.mp4 charlie.yuv
>  $ ffmpeg -i charlie.mp4 charlie.y4m
>
>    And x265 on yuv file :
>  $ x265 charlie.yuv -o charlie.hevc
>  Floating point exception
>
>    x265 on y4m file, the size of output file is zero.
>
> $ x265 charlie.y4m -o charlie.hevc
> y4m  [info]: 1280x720 23Hz, frames 0 - 2397 of 2398
> x265 [info]: detected SIMD architectures SSE2 SSE3 SSSE3
> x265 [info]: performance primitives: intrinsic assembly
> x265 [info]: Main profile, Level-3.1 (Main tier)
> x265 [info]: Parallelism disabled, single thread mode
> x265 [info]: CU size                      : 64
> x265 [info]: Max RQT depth inter / intra  : 3 / 3
> x265 [info]: ME method / range / maxmerge : star / 64 / 5
> x265 [info]: Keyframe Interval            : 24
> x265 [info]: QP                           : 32
> x265 [info]: enabled coding tools: rect rdo rdoq sign-hide tskip
> tskip-fast rdoqts
> Illegal instruction 0.00 kb/s
>
> $ du charlie.hevc
> 0       charlie.hevc  # <----- zero output >_<
>
>
>
>
>
> ####  File info
>
> $ mediainfo charlie.mp4
> General
> Complete name                            : charlie.mp4
> Format                                   : MPEG-4
> Format profile                           : Base Media / Version 2
> Codec ID                                 : mp42
> File size                                : 55.1 MiB
> Duration                                 : 3mn 26s
> Overall bit rate mode                    : Variable
> Overall bit rate                         : 2 235 Kbps
> Encoded date                             : UTC 2011-08-31 05:00:41
> Tagged date                              : UTC 2011-08-31 05:00:41
> gsst                                     : 0
> gstd                                     : 206665
> gssd                                     : BADC23864HH1333462917615611
> gshh                                     :
> o-o.preferred.sea09s07.v19.lscache7.c.youtube.com
>
> Video
> ID                                       : 1
> Format                                   : AVC
> Format/Info                              : Advanced Video Codec
> Format profile                           : High at L3.1
> Format settings, CABAC                   : Yes
> Format settings, ReFrames                : 1 frame
> Codec ID                                 : avc1
> Codec ID/Info                            : Advanced Video Coding
> Duration                                 : 3mn 26s
> Bit rate                                 : 2 078 Kbps
> Maximum bit rate                         : 3 308 Kbps
> Width                                    : 1 280 pixels
> Height                                   : 720 pixels
> Display aspect ratio                     : 16:9
> Frame rate mode                          : Variable
> Frame rate                               : 23.976 fps
> Minimum frame rate                       : 23.810 fps
> Maximum frame rate                       : 24.390 fps
> Color space                              : YUV
> Chroma subsampling                       : 4:2:0
> Bit depth                                : 8 bits
> Scan type                                : Progressive
> Bits/(Pixel*Frame)                       : 0.094
> Stream size                              : 51.2 MiB (93%)
> Tagged date                              : UTC 2011-08-31 05:00:42
>
> Audio
> ID                                       : 2
> Format                                   : AAC
> Format/Info                              : Advanced Audio Codec
> Format profile                           : LC
> Codec ID                                 : 40
> Duration                                 : 3mn 26s
> Bit rate mode                            : Variable
> Bit rate                                 : 152 Kbps
> Maximum bit rate                         : 184 Kbps
> Channel(s)                               : 2 channels
> Channel positions                        : Front: L R
> Sampling rate                            : 44.1 KHz
> Compression mode                         : Lossy
> Stream size                              : 3.74 MiB (7%)
> Title                                    : IsoMedia File Produced by
> Google, 5-11-2011
> Encoded date                             : UTC 2011-08-31 05:00:42
> Tagged date                              : UTC 2011-08-31 05:00:42
>
>
> $ mediainfo charlie.y4m
> General
> Complete name                            : charlie.y4m
> Format                                   : YUV4MPEG2
> File size                                : 3.09 GiB
>
> Video
> Format                                   : YUV
> Width                                    : 1 280 pixels
> Height                                   : 720 pixels
> Display aspect ratio                     : 16:9
> Frame rate                               : 23.976 fps
> Color space                              : YUV
> Scan type                                : Progressive
> Compression mode                         : Lossless
>
>
> $ ffmpeg
> ffmpeg version 0.8.6-6:0.8.6-1, Copyright (c) 2000-2013 the Libav
> developers
> built on Mar 24 2013 07:20:17 with gcc 4.7.2
>
> Could you help me about this issue?
> Thanks.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/private/x265-devel/attachments/20130725/d0662710/attachment-0001.html>


More information about the x265-devel mailing list