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.

Unable to play MPEG4 encoded files in non FFMPEG based players

HI,

I am unable to decode DM355 generated MPEG4 sequences using any of the non FFMPEG based players.

Kindly need more inputs on the following points,

1. Description of MEPG4 elementary stream  hearders that are used ti generate encoded files.

2. List of open source players capable of playing this Elementary stream ( non FFMPEG based)

3. Kindly can you suggest me what is extra information that needs to be added if we need this ES to be playable in Xvid decoder.

With regards,

R.lakshmikanth

  • Hi,

    >>>2. List of open source players capable of playing this Elementary stream ( non FFMPEG based)

    I dont think there are any open source players which do not use FFMPEG. VLC/MPlayer, etc all use ffmpeg libraries internally.

     

    >>>3. Kindly can you suggest me what is extra information that needs to be added if we need this ES to be playable in Xvid decoder.

    You need to convert the elementary streams into an avi. You can use ffmpeg to do so.

    ffmpeg -i <Input.m4v> -vcodec copy -vtag XVID <Output.avi>

    This avi is playable by Windows Media Player using XVID as well as DIVX decoders.

     

    Regards,

    Chaitanya Ghone

    MMCodecs - TI India

     

     

     

  • I can't get FFMPEG to convert MPEG4 streams created by the DM355. When I try to transcode I get the following error:

     

    C:\_dump>ffmpeg -i "out 720p edge enhancer.m4v" -vcodec mpeg2video -b 8000k -r 2
    4 out.mpg
    FFmpeg version SVN-r25249, Copyright (c) 2000-2010 the FFmpeg developers
      built on Sep 29 2010 04:08:21 with gcc 4.4.2
      configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread
    s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --
    enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-
    libopencore_amrnb --enable-libvpx --arch=x86 --enable-runtime-cpudetect --enable
    -libxvid --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-librtmp --ext
    ra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisyn
    th --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign
    -hack
      libavutil     50.31. 0 / 50.31. 0
      libavcore      0. 9. 0 /  0. 9. 0
      libavcodec    52.91. 1 / 52.91. 1
      libavformat   52.78. 5 / 52.78. 5
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.48. 0 /  1.48. 0
      libswscale     0.12. 0 /  0.12. 0
    [m4v @ 01cfd110] Estimating duration from bitrate, this may be inaccurate
    Input #0, m4v, from 'out 720p edge enhancer.m4v':
      Duration: N/A, bitrate: N/A
        Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 24k tbr, 12
    00k tbn, 24k tbc
    File 'out.mpg' already exists. Overwrite ? [y/N] y
    [buffer @ 022e2980] w:1280 h:720 pixfmt:yuv420p
    Output #0, mpeg, to 'out.mpg':
      Metadata:
        encoder         : Lavf52.78.5
        Stream #0.0: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31
    , 8000 kb/s, 90k tbn, 24 tbc
    Stream mapping:
      Stream #0.0 -> #0.0
    Press [q] to stop encoding
    frame=    2 fps=  0 q=2.0 size=      14kB time=0.04 bitrate=2752.5kbits/s dup=0
    frame=    2 fps=  2 q=2.0 size=      14kB time=0.04 bitrate=2752.5kbits/s dup=0
    frame=    2 fps=  1 q=2.0 size=      14kB time=0.04 bitrate=2752.5kbits/s dup=0
    frame=    2 fps=  1 q=2.0 Lsize=      16kB time=0.04 bitrate=3145.7kbits/s dup=0
     drop=616
    video:14kB audio:0kB global headers:0kB muxing overhead 11.927859%

    The output file is 16 KB and contains 2 frames. Why?

  • Could you please share the m4v?

    Regards,
    Chaitanya