Can't transcode any mkv files.

Post Reply
rosenhauer
Posts: 10
Joined: Sun Feb 28, 2010 8:27 pm

Can't transcode any mkv files.

Post by rosenhauer »

When I try to transcode any mkv files I get the following (done it test transcoding)

Code: Select all

"C:\Program Files (x86)\Wild Media Server\wmsmpeg.exe" -i "\\DMRNAS\1tb\Media\Vi
deos\Torchwood Children of Earth 720p\Torchwood 3x01 Children of Earth 720p.mkv"
 -f dvd -vcodec mpeg2video -b 8300000  -minrate 8300000 -maxrate 8300000 -bufsiz
e 1212416 -aspect 16:9 -copyts -pix_fmt yuv420p -s 1280x720 -threads 4 -acodec m
p2 -ab 320000 -ar 48000 -map 0:0 -map 0:1 "C:\Users\Dave\AppData\Local\WildMedia
Temp\WmsTemp\Test_d2596cc5af664eae7ef6523c66b23145.mpg" -v 1

FFmpeg version SVN-r20212, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Mar 21 2010 15:36:51 with gcc 4.2.4 [Sherpya]
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.37. 0 / 52.37. 0
  libavformat   52.39. 0 / 52.39. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 25.00 (25/1)
Input #0, matroska, from '\\DMRNAS\1tb\Media\Videos\Torchwood Children of Earth
720p\Torchwood 3x01 Children of Earth 720p.mkv':
  Duration: 00:58:30.81, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 25 tbr,
1k tbn, 50 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 6 channels, s16
File 'C:\Users\Dave\AppData\Local\WildMediaTemp\WmsTemp\Test_d2596cc5af664eae7ef
6523c66b23145.mpg' already exists. Overwrite ? [y/N] y
[mp2 @ 0x7bf740]encoding 6 channel(s) is not allowed in mp2
Output #0, dvd, to 'C:\Users\Dave\AppData\Local\WildMediaTemp\WmsTemp\Test_d2596
cc5af664eae7ef6523c66b23145.mpg':
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q
=2-31, 8300 kb/s, 90k tbn, 25 tbc
    Stream #0.1(eng): Audio: mp2, 48000 Hz, 6 channels, s16, 320 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters
such as bit_rate, rate, width or height


Press any key to continue . . .
It looks like an issue with the Audio Stream #0.1 but I can play the original file just fine in Windows Media Player/Classic Player and VLC.

Has anyone seen this before?
Andrey
Posts: 17
Joined: Mon Mar 29, 2010 11:37 pm

Re: Can't transcode any mkv files.

Post by Andrey »

I 've seen this when I tried to encode to mp3 instead of ac3.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Can't transcode any mkv files.

Post by Eugene »

[mp2 @ 0x7bf740]encoding 6 channel(s) is not allowed in mp2
rosenhauer
Posts: 10
Joined: Sun Feb 28, 2010 8:27 pm

Re: Can't transcode any mkv files.

Post by rosenhauer »

Thanks, I finally found the setting that I needed to change. In the Transcoder->Codes, Frame under audio I had the channels at 0 (I assume this means don't change). I changes it to 2 and it all works great.
Post Reply