This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compatible codec / Windows playback software for H264 output?

Hi,

We are generating a couple of different file formats (mpeg2, mp4, avi) using a DM8148 and gstreamer and are having a problem playing them back using windows media player on Windows 7 as well as the default IOS player.   We are able to play the AVI and mpeg2 files back using VLC, but any H264 codec we try with windows media player does not seem to work.  Using windows media player, we have tried the native H264 as well as ffdshow and DivX and a handful of other codecs.  We have also tried Apple's QuickTime player on the mp4 file.   None seem to deal with playing these files.

I have attached the gstreamer pipelines below that we have used to generate files with various container formats.  I am hoping this is a simple "operator error", but if we cannot playback video recordings using standard media players / codecs this will be a serious problem.  Is there a list of compatible codecs that can playback omx_h264enc generated video bytestreams?

-Mike 

mpeg2:

gst-launch --gst-debug=1 videotestsrc is-live=true \
! omx_h264enc force-idr-period=30 \
! gstperf \
! mpegtsmux \
! filesink location=/tmp/nfs/test_data.ts

mp4:

gst-launch --gst-debug=1 videotestsrc is-live=true \
! gstperf \
! omx_h264enc force-idr-period=20 profile=1 \
! queue \
! h264parse output-format=0 \
! mp4mux \
! filesink location=/tmp/nfs/test_data.mp4

AVI:

gst-launch --gst-debug=1 videotestsrc is-live=true \
! gstperf \
! omx_h264enc force-idr-period=20 profile=1 \
! queue \
! avimux \
! filesink location=/tmp/nfs/test_data.avi

  • Hello,

    lliamsonchael said:

    mpeg2:

    gst-launch --gst-debug=1 videotestsrc is-live=true \
    ! omx_h264enc force-idr-period=30 \
    ! gstperf \
    ! mpegtsmux \
    ! filesink location=/tmp/nfs/test_data.ts

    I am able to play the test_data.ts file via Windows Media Player on Windows 7. Could you check it again and let me know the result.

    I will check the rest.

    Best Regards,

    Margarita