View Issue Details

IDProjectCategoryView StatusLast Update
0000064JVT JM H.264/AVC reference softwareencoder and decoderpublic2008-05-06 17:15
ReporterTimothy Stotts Assigned ToKarsten Suehring  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM 12.2 
Fixed in VersionJM-14.1 
Summary0000064: decoder segfaults with YUV 4:0:0
Descriptionlencod.exe encodes YUV 4:0:0 without any error messages.
ldecod.exe segfaults (core dumps) when attempting to decode test.264

Versions with issue: 12.2, 12.3
Versions without issue: 10.2

Does lencod.exe produce corrupt output that induces segfault in ldecod.exe?
Or is ldecod.exe solely at fault? Unknown.

Additional InformationTest sequence:
   http://media.xiph.org/video/derf/y4m/foreman_qcif_mono.y4m

Converted to YUV 4:0:0 with:
   ffmpeg -i foreman_qcif_mono.y4m foreman_qcif_400.yuv

Correct format visually verified with:
   ffplay -s 176x144 -pix_fmt gray foreman_qcif_400.yuv

Encode with lencod.exe.

Decode with ldecod.exe.

If ldecod.exe does not segfault, then visually verified decode with:
   ffplay -s 176x144 -pix_fmt gray test_dec.yuv

Do not know how to visually verify test.264.
No open source players know how to render H264 with monochrome pixels.
TagsNo tags attached.

Activities

Karsten Suehring

2007-08-08 14:20

administrator   ~0000091

The crash is caused by using a NULL pointer in find_snr(). I will take care of this after the 4:4:4 merge.

It also seems that your yuv file contains a header before the raw yuv data. If you know, how large it is, you can skip it at the encoder by using the InputHeaderLength parameter.

Karsten Suehring

2008-05-06 17:15

administrator   ~0000180

seems to be fixed by now

Issue History

Date Modified Username Field Change
2007-07-08 21:43 Timothy Stotts New Issue
2007-08-08 14:15 Karsten Suehring Status new => assigned
2007-08-08 14:15 Karsten Suehring Assigned To => Karsten Suehring
2007-08-08 14:20 Karsten Suehring Note Added: 0000091
2008-05-06 17:15 Karsten Suehring Status assigned => resolved
2008-05-06 17:15 Karsten Suehring Fixed in Version => JM-14.0-dev
2008-05-06 17:15 Karsten Suehring Resolution open => fixed
2008-05-06 17:15 Karsten Suehring Note Added: 0000180