Results 1 to 2 of 2

Thread: Problem with MJPEG movies

  1. #1
    Join Date
    Apr 2010
    Location
    Scotland
    Posts
    151

    Default Problem with MJPEG movies

    Hi

    my Samsung C650 seems to have a bug, it wont play AVI files recorded on my Samsung Camera, even direct using USB or with PCSM. Its an MJPG format. However the same format from another camera plays fine. The error is not supported file format.
    FFMPEG info for each file is:

    This file plays OK:

    FFmpeg version git-c3897d7, Copyright (c) 2000-2011 the FFmpeg developers
    built on Jan 20 2011 13:56:32 with gcc 4.4.2
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffprobe --disable-ffplay --prefix=/media/windows/ffmpeg --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.94. 0 / 52.94. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    [avi @ 003de3a0] sample size (1) != block align (2)
    Input #0, avi, from 'C:\Data\Media\Pictures\_To_Print\2011\01\Team Baby G\AVI\IMAG0107.AVI':
    Metadata:
    encoder :
    Duration: 00:00:44.99, start: 0.000000, bitrate: 6274 kb/s
    Stream #0.0: Video: mjpeg, yuvj420p, 640x480, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s
    At least one output file must be specified
    ---> DB Level Info: -99

    This one does NOT play:

    FFmpeg version git-c3897d7, Copyright (c) 2000-2011 the FFmpeg developers
    built on Jan 20 2011 13:56:32 with gcc 4.4.2
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffprobe --disable-ffplay --prefix=/media/windows/ffmpeg --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.94. 0 / 52.94. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    [avi @ 003de3a0] non-interleaved AVI
    Input #0, avi, from 'C:\Data\Media\Pictures\_To_Print\2011\01\Team Baby G\AVI\PICT0028.AVI':
    Duration: 00:00:13.80, start: 0.000000, bitrate: 6982 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 tbr, 30 tbn, 30 tbc
    At least one output file must be specified


    The only difference i see is the bad file is "Video: mjpeg, yuvj422p"
    and the good file is "Video: mjpeg, yuvj420p"

    My question is this. Can i setup Mezzmo to ONLY transode MJPEG yuv422p ?

    My server hardware is not that fast at all and so transcoding is totally off at the moment. The video clips only last 30secs - 2mins so no big hit on processing power i would think.

    Sorry for the long post!

    cheers
    Gus
    Last edited by Gus; 01-30-2011 at 08:47 AM.

  2. #2
    Adric Guest

    Default

    At this stage Mezzmo does not detect the difference between yuvj422p and yuvj420p we will be getting more information about these files in the future. For now you could remove the mjpeg from the device profile. This will force all mjpeg movies to be transcoded.

    Edit the Samsung LA profile
    <avcontainer id="avi" name="avi" encode="0" mimetype="video/x-msvideo" dlnaprofile="MP3" supportschunked="0">
    <video>
    <format id="mpeg4" encode="0">
    </format>
    </video>
    <video>
    <format id="msmpeg4" encode="0">
    </format>
    </video>
    <video>
    <format id="h264" encode="0">
    </format>
    </video>
    <video>
    <format id="mjpeg" encode="0">
    </format>
    </video>
    <audio>
    <format id="pcm_s16le" encode="0">
    </format>
    </audio>
    <audio>
    <format id="mp3" encode="0" codec="mp3">
    </format>
    </audio>
    <audio>
    <format id="ac3" encode="0" codec="ac3">
    </format>
    </audio>
    <audio>
    <format id="mp2" encode="0" codec="mp2">
    </format>
    </audio>
    </avcontainer>

    To be
    <avcontainer id="avi" name="avi" encode="0" mimetype="video/x-msvideo" dlnaprofile="MP3" supportschunked="0">
    <video>
    <format id="mpeg4" encode="0">
    </format>
    </video>
    <video>
    <format id="msmpeg4" encode="0">
    </format>
    </video>
    <video>
    <format id="h264" encode="0">
    </format>
    </video>
    <audio>
    <format id="pcm_s16le" encode="0">
    </format>
    </audio>
    <audio>
    <format id="mp3" encode="0" codec="mp3">
    </format>
    </audio>
    <audio>
    <format id="ac3" encode="0" codec="ac3">
    </format>
    </audio>
    <audio>
    <format id="mp2" encode="0" codec="mp2">
    </format>
    </audio>
    </avcontainer>

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •