Results 1 to 4 of 4

Thread: Samsung BDP Profile: Error in Transcoding RMVB files

  1. #1

    Default Samsung BDP Profile: Error in Transcoding RMVB files

    From the log file, I got the following error message when streaming a RMVB file:

    ERROR> We cannot transcode this file at all!

    Examining the logfile, I noted that the ffmpeg parameters were used:

    - ffmpeg.exe -i "input_filename" -y -vcodec mpeg2video -b 15000000 -g 15 -vf "scale=592:336" -acodec ac3 -ac 2 -ab 448000 -ar 48000 -sn -f dvd -threads 4 -pix_fmt yuv420p -copyinkf -sc_threshold 1000000000 -coder ac -qmin 1 -cmp 2 -subcmp 2 -flags +loop -mbd bits -vbsf h264_mp4toannexb -fflags +genpts+ignidx+igndts -deinterlace "output_filename"

    From dos command line, the above ffmpeg command gave the following error message:

    Input #0, rm, from 'aaaaa.rmvb':
    Metadata:
    title : ┬²┬²Ë╬╔þð╗ÂË¡─·
    author : ┬²┬²Ë╬╔þðBTðíÎÚ
    copyright :
    comment :
    Duration: 01:32:34.30, start: 0.000000, bitrate: 408 kb/s
    Stream #0.0: Audio: cook, 44100 Hz, stereo, s16, 44 kb/s
    Stream #0.1: Video: rv40, yuv420p, 592x336, 354 kb/s, 12.05 fps, 12 tbr, 1k
    tbn, 12 tbc
    Stream #0.2: Data: [0][0][0][0] / 0x0000
    [buffer @ 01859100] w:592 h:336 pixfmt:yuv420p
    [scale @ 017b70f0] w:592 h:336 fmt:yuv420p -> w:592 h:336 fmt:yuv420p flags:0x4
    [mpeg2video @ 01889bc0] MPEG1/2 does not support 12/1 fps
    Output #0, dvd, to 'out.mpg':
    Stream #0.0: Video: mpeg2video (hq), yuv420p, 592x336, q=1-31, 15000 kb/s, 9
    0k tbn, 12 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    Stream #0.0 -> #0.1
    Error while opening encoder for output stream #0.0 - maybe incorrect parameters
    such as bit_rate, rate, width or height

    At this stage, it seems that the problem was ffmpeg cannot transcode the file.

    However, from dos command line, ffmpeg successfully transcoded the file with the following parameters, :

    - ffmpeg.exe -i "input_filename" -target pal-dvd "output_filename"

    The transcoded file could be stream to my Samy. So it looks like the problem is due to inappropriate parameters assigned to ffmpeg by Mezzmo.

    What's wrong with the default ffmpeg parameters?

    Is there any way for users to change the ffmpeg parameters to their like?

    WOTG
    Last edited by wotg; 02-12-2011 at 10:49 PM.

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Can you please try the following command from the DOS prompt:

    Code:
    ffmpeg.exe -i "input_filename" -y -vcodec mpeg2video -b 15000000 -g 15 -r 25 -vf "scale=592:336" -acodec ac3_fixed -ac 2 -ab 448000 -ar 48000 -sn -f dvd -threads 4 -pix_fmt yuv420p -copyinkf -sc_threshold 1000000000 -coder ac -qmin 1 -cmp 2 -subcmp 2 -flags +loop -mbd bits -vbsf h264_mp4toannexb -fflags +genpts+ignidx+igndts -deinterlace "output_filename"
    I think it's because of the input file's frame rate of 12.05 fps, which is not supported by MPEG2. Can you try the "Samsung BDP 3D" device profile and see if that works better? It should transcode that file fine.

    You cannot override all parameters we pass to FFmpeg, but you can add a <framerate>25</framerate> to the video section in the device profile to force all transcoding to 25 fps.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3

    Default

    Thanks Dennis.

    Forcing transcoding to 25fps does the trick, up to a point.

    While play back appears to be fine initially, play back of files being transcoded often stop before the end of videos.

    Any suggestions to overcome this problem?

    wotg

  4. #4
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Sounds like transcoding is too slow - can you please check what speed FFmpeg is transcoding at (see the "fps" while transcoding) - or just send us a log of playing such a file and we'll check it out.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

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
  •