终于用了下硬解码的测试程序

    技术2026-08-23  17

    [root@Real6410 apps]# cd /usr/local

    [root@Real6410 local]# ls

    [1;34mQtEmbedded-4.5.2[0m          [1;34metc[0m                       [1;34mmultimedia_test_real6410[0m

    [1;34mbin[0m                       [1;34mlib[0m

    [root@Real6410 local]# cd multi*

    [root@Real6410 multimedia_test_real6410]# ls

    [1;32mCubeDemo1_1[0m      [1;32mCubeDemo2_0[0m      [1;34mTestVectors[0m      [1;32mmultimedia_test[0m

    [root@Real6410 multimedia_test_real6410]# ./multimedia_test

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 1

    ======= H.264 File Decodec Test ========

    ########<STREAMINFO> width=320   height=240.

     

    [1. H.264 display]

    Using IP          : MFC, Post processor, LCD

    Input filename    : wanted.264

    Input vector size : VGA(640x480)

    Display size      : WVGA(800x480)

    Bitrate           : 971 Kbps

    FPS               : 30

    s3c-nand: 1 bit(s) error detected, corrected successfully

    s3c-nand: 1 bit(s) error detected, corrected successfully

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 2

     

    [2. MPEG4 display]

    Using IP          : MFC, Post processor, LCD

    Input filename    : shrek.m4v

    Input vector size : QVGA(320x240)

    Display size      : WVGA(800x480)

    Bitrate           : 482 Kbps

    FPS               : 24

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 3

     

    [3. H.263 display]

    Using IP          : MFC, Post processor, LCD

    Input filename    : iron.263

    Input vector size : QVGA(320x240)

    Display size      : WVGA(800x480)

    Bitrate           : 460 Kbps

    FPS               : 30

    s3c-nand: 1 bit(s) error detected, corrected successfully

     

    Select number --> 4

     

    [4. VC-1 display]

    Using IP          : MFC, Post processor, LCD

    Input filename    : test2_0.rcv

    Input vector size : QVGA(320x240)

    Display size      : WVGA(800x480)

    Bitrate           : 460 Kbps

    FPS               : 30

     

     

    Select number --> 5

    ====== 4 Windows muti-Format decode Test ======

     

    [4-windows display]

    Using IP : MFC, Post processor, LCD

    **********************************************************************

    *                                 *                                  *

    * Frame buffer      : 0           * Frame buffer      : 1            *

    * Codec             : H.264       * Codec             : MPEG4        *

    * Input filename    : veggie.264  * Input filename    : shrek.m4v    *

    * Input vector size : QVGA        * Input vector size : QVGA         *

    * Display size      : 400x240     * Display size      : 400x240      *

    * Bitrate           : 460 Kbps    * Bitrate           : 482 Kbps     *

    * FPS               : 30          * FPS               : 24           *

    *                                 *                                  *

    **********************************************************************

    *                                 *                                  *

    * Frame buffer      : 2           * Frame buffer      : 3            *

    * Codec             : H.263       * Codec             : VC-1         *

    * Input filename    : iron.263    * Input filename    : test2_0.rcv  *

    * Input vector size : QVGA        * Input vector size : QVGA         *

    * Display size      : 400x240     * Display size      : 400x240      *

    * Bitrate           : 460 Kbps    * Bitrate           : 460 Kbps     *

    * FPS               : 30          * FPS               : 30           *

    *                                 *                                  *

    **********************************************************************

     

    Select number --> 6

    ==== Camera Preview & Encode to H264 Test ====

    V4L2 : Camera Input(V4L2_INPUT_TYPE_CAMERA )

    s3c-fimc: external camera initialized

     

    [8. Camera preview & MFC encoding]

    Using IP          : MFC, Post processor, LCD, Camera

    Display size      : VGA(640x480)

     

    e : Encoding

    x : Exit

    Select ==> Segmentation fault

     

     

    [root@Real6410 multimedia_test_real6410]# 7

    -/bin/sh: 7: not found

    [root@Real6410 multimedia_test_real6410]# ./multimedia_test

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 8

    ====== Camera Preview & JPEG Encode ======

     

    VIDIOC_ENUMINPUT = 0

    [11. Camera input & JPEG encoding]

    Using IP            : Post processor, LCD, Camera, JPEG

    Camera preview size : VGA(640x480)

    Capture size        : VGA(640x480)

     

    c : Capture

    x : Exit

    Select ==> Segmentation fault

     

    ==================================================

    Select number --> 9

    ======= JPEG decodec Test ========

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 10

    <STREAMINFO> width=320   height=240. s3c_tvscaler_init 

    TV-OUT: VIDIOC_ENUMINPUT : index = 1

    TV-OUT: VIDIOC_S_INPUT 

    TV-OUT: VIDIOC_ENUMOUTPUT : index = 0

    TV-OUT: VIDIOC_S_OUTPUT 

    C: VIDIOC_S_FMT 

    TV-OUT: MFC path operation set

     

    Device file open

    V4L2 APPL : Name of the interface is S3C TV-OUT driveTVENCODER

    V4L2 APPL : [1]: IN channel name Memory input (MSDMA)

    V4L2 APPL : DMA INPUT 

    V4L2 APPL : [0]: OUT channel name TV-OUT

    V4L2 APPL : TV OUT 

    ==================================================

    Select number --> 9

    ======= JPEG decodec Test ========

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 10

    <STREAMINFO> width=320   height=240. s3c_tvscaler_init 

    TV-OUT: VIDIOC_ENUMINPUT : index = 1

    TV-OUT: VIDIOC_S_INPUT 

    TV-OUT: VIDIOC_ENUMOUTPUT : index = 0

    TV-OUT: VIDIOC_S_OUTPUT 

    C: VIDIOC_S_FMT 

    TV-OUT: MFC path operation set

     

    Device file open

    V4L2 APPL : Name of the interface is S3C TV-OUT driveTVENCODER

    V4L2 APPL : [1]: IN channel name Memory input (MSDMA)

    V4L2 APPL : DMA INPUT 

    V4L2 APPL : [0]: OUT channel name TV-OUT

    V4L2 APPL : TV OUT 

     

    Select number --> 9

    ======= JPEG decodec Test ========

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 10

    <STREAMINFO> width=320   height=240. s3c_tvscaler_init 

    TV-OUT: VIDIOC_ENUMINPUT : index = 1

    TV-OUT: VIDIOC_S_INPUT 

    TV-OUT: VIDIOC_ENUMOUTPUT : index = 0

    TV-OUT: VIDIOC_S_OUTPUT 

    C: VIDIOC_S_FMT 

    TV-OUT: MFC path operation set

     

    Device file open

    V4L2 APPL : Name of the interface is S3C TV-OUT driveTVENCODER

    V4L2 APPL : [1]: IN channel name Memory input (MSDMA)

    V4L2 APPL : DMA INPUT 

    V4L2 APPL : [0]: OUT channel name TV-OUT

    V4L2 APPL : TV OUT 

     

    Select number --> 9

    ======= JPEG decodec Test ========

    ======= Real6410 Media Demo Application ========

    =                                                =

    =  1.   H.264 display                            =

    =  2.   MPEG4 display                            =

    =  3.   H.263 display                            =

    =  4.   VC-1  display                            =

    =  5.   4-windows display                        =

    =  6.   Camera preview & MFC encoding            =

    =  7.   MFC decoding & Camera preview            =

    =  8.   Camera input and JPEG encoding           =

    =  9.   JPEG decoding and display                =

    =  10.  H.264 decoding thru TVOUT                =

    =  11.  MFC decoding & Camera preview thru TV    =

    =  12.  Exit                                     =

    =                                                =

    ==================================================

    Select number --> 10

    <STREAMINFO> width=320   height=240. s3c_tvscaler_init 

    TV-OUT: VIDIOC_ENUMINPUT : index = 1

    TV-OUT: VIDIOC_S_INPUT 

    TV-OUT: VIDIOC_ENUMOUTPUT : index = 0

    TV-OUT: VIDIOC_S_OUTPUT 

    C: VIDIOC_S_FMT 

    TV-OUT: MFC path operation set

     

    Device file open

    V4L2 APPL : Name of the interface is S3C TV-OUT driveTVENCODER

    V4L2 APPL : [1]: IN channel name Memory input (MSDMA)

    V4L2 APPL : DMA INPUT 

    V4L2 APPL : [0]: OUT channel name TV-OUT

    V4L2 APPL : TV OUT 

     

    到了这里,就不动了。

    只好重启。

    测试结果和说明书的上的清晰的效果相比,差距很大。

    几乎全部都是不清晰的,而且速度很快。

    最新回复(0)