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
Bookmarks