AM62P-Q1: gstreamer stuck when decode some h264 file

Part Number: AM62P-Q1
Other Parts Discussed in Thread: AM62P

Hi,

 The gstreamer pipeline stuck when playing some mp4 files and the process cannt killed. The gstreamer command is as bellow and try to use the TI Apps Launcher of the EVM board is the

same situation. 

 image.png

  • Hi Xiwen,

    What SDK version are you testing this with? Can you please share the file for us to reproduce the issue. The previous attachment can't be viewed.

    Best Regards,

    Suren

  • Hi Suren Porwar,

    We use  SDK 11_01_16_13 and please check if the uploaded new file can be viewed? thanks!

  • I dont know why the video uploaded can't be viewed, can you check if the file can be download? Thanks!

  • Yes, was able to download the file and reproduce the issue.

    How was the file test.mp4 generated?  The file container shows MPEG-TS and not as MP4.

    sporwar@sporwar-vm:/mnt/hgfs/eMMC$ ffprobe test.mp4 
    ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
      configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
      libavutil      56. 70.100 / 56. 70.100
      libavcodec     58.134.100 / 58.134.100
      libavformat    58. 76.100 / 58. 76.100
      libavdevice    58. 13.100 / 58. 13.100
      libavfilter     7.110.100 /  7.110.100
      libswscale      5.  9.100 /  5.  9.100
      libswresample   3.  9.100 /  3.  9.100
      libpostproc    55.  9.100 / 55.  9.100
    Input #0, mpegts, from 'test.mp4':
      Duration: 00:01:00.00, start: 3600.000000, bitrate: 1053 kb/s
      Program 1 
      Stream #0:0[0x41]: Video: h264 (Baseline) (HDMV / 0x564D4448), yuv420p(progressive), 1920x736, 25 fps, 25 tbr, 90k tbn, 50 tbc

    Best Regards,

    Suren

  • The file we record is MP4, but i use the following gstreamer command change to MPEG-TS for TI Apps Launcher can only support MPEG-TS, thanks!

    gst-launch-1.0 filesrc location=in.mp4 ! qtdemux qtdemux0.video_0 ! h264parse ! mpegtsmux ! filesink location=out.mp4

  • We use am62p encoder and ffmpeg generate mp4 files, some files can be played and some files stuck, thanks!

  • Hi Xiwen,

    Can you have the pipeline verified with 11.2 SDK that's scheduled to be released later this month. It seems like it has fixes on wave5 that resolves the issue.

    Best regards,

    Suren

  • Hi Suren Porwar,

    Ok, i will try it after i get 11.2 SDK, thanks!

  • Thanks Xiwen.

    I am going to close this thread, if you have any issues testing with 11.2 SDK after its released, please open a  newer thread and link this thread to that one.

    Best Regards,

    Suren

  • Hi Suren Porwar,

    Can you provide us a patch to test this problem? We can not update by OTA and our next release time is 2026.1, so we need check this problem as soon as possible, thanks!

  • Hi Xiwen,

    SDK is scheduled to be released today. Please validate it with 11.2 SDK once its up on ti.com.

    Best Regards,

    Suren

  • Hi Suren Porwar,

    We use the latest SDK 11.02 to test this problem, it is ok now, thanks! 

    Best Regards,

    xiwen