[FFmpeg-devel] [PATCH] CrystalHD decoder support v5

Benjamin Larsson banan
Sun Feb 20 23:49:44 CET 2011


The code does something but doesn't work with the 70012 (as noted).

I compile with this ./configure --disable-decoder=h264 and try to
convert a file with ffmpeg -i file out.mp4.

So I think the 70015 support is ready for merge.

> Outstanding issues
> ------------------
> 
> No change here, but a quick summary
> 
> * 70012 still doesn't work right. It needs different decode()
>   timing and I haven't investigated it completely.


  Duration: 01:54:39.12, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264_crystalhd, yuyv422, 1280x544, PAR 1:1 DAR
40:17, 23.98 fps, 23.92 tbr, 1k tbn, 23.98 tbc
    Stream #0.1: Audio: aac, 44100 Hz, 5.1, s16
[buffer @ 0x936ba30] w:1280 h:544 pixfmt:yuyv422
[ffsink @ 0x936ca20] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x936a290] w:1280 h:544 fmt:yuyv422 -> w:1280 h:544 fmt:yuv420p
flags:0xa0000004
Running DIL (3.21.0) Version
DtsDeviceOpen: Opening HW in mode 0
Clock set to 180
Enable single threaded mode
Setting Color Mode to 1
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf52.97.0
    Stream #0.0: Video: mpeg4, yuv420p, 1280x544 [PAR 1:1 DAR 40:17],
q=2-31, 200 kb/s, 287 tbn, 23.92 tbc
    Stream #0.1: Audio: aac, 44100 Hz, 5.1, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[h264_crystalhd @ 0x93008a0] CrystalHD: No frames ready. Returning
DtsFetchOutInterruptible: Failed:a
DtsProcOutput: No Active Channels
    Last message repeated 6 times
[h264_crystalhd @ 0x93008a0] CrystalHD: ProcOutput failed 10
[h264_crystalhd @ 0x93008a0] CrystalHD: No frames ready.
Returningkbits/s
    Last message repeated 412 times   0kB time=17.44 bitrate=
0.0kbits/s
[h264_crystalhd @ 0x93008a0] CrystalHD: No more input data
[h264_crystalhd @ 0x93008a0] CrystalHD: No frames ready. Returning
frame=    0 fps=  0 q=0.0 Lsize=     153kB time=17.65 bitrate=
71.0kbits/s
video:0kB audio:146kB global headers:0kB muxing overhead 4.484933%
Clearing 421 PendMdata entries
DtsAllocIoctlData Error

MvH
Benjamin Larsson



More information about the ffmpeg-devel mailing list