﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
406	mythtranscode --mpeg2: sample rate not set - Error writing output header	laga@…	anonymous	"Hello all!

I'm trying to use the new mpeg2 transcoding which was introduced to MythTV in ticket #158. However, I'm experiencing a problem with mythtranscode just quitting without actually doing anything. Here comes the log:

mythtv@styx:/mnt/foo/video$ mythtranscode --mpeg2 --infile 1070_20050925201000_20050925221000.nuv --honorcutlist
2005-10-01 23:14:14.891 Using runtime prefix = /usr
2005-10-01 23:14:14.954 New DB connection, total: 1
2005-10-01 23:14:14.985 New DB connection, total: 2
2005-10-01 23:14:15.005 Begining MPEG2 to MPEG2 transcode of Donnie Darko (Donnie Darko) - ... cutlist will be honored.
Input #0, mpegts, from '1070_20050925201000_20050925221000.nuv':
  Duration: N/A, bitrate: N/A
  Stream #0.0[0x2ff]: Video: mpeg2video, yuv420p, 720x576, 25.00 fps, 15000 kb/s
  Stream #0.1[0x300](deu): Audio: mp2, 48000 Hz, stereo, 192 kb/s
  Stream #0.2[0x301](deu): Audio: mp3
Output #0, dvd, to '1070_20050925201000_20050925221000.nuv.tmp':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, q=2-31, 15000 kb/s
  Stream #0.1: Audio: 0x0000, 48000 Hz, stereo, 192 kb/s
  Stream #0.2: Audio: 0x0000
[dvd @ 0x407b10c0]sample rate not set
Error writing output header

I should add a few words on my setup, I think. I'm running Debian Sarge and MythTV is built from yesterday's SVN. I recorded this show off my DBox (thanks to levon), so I think it's DVB style. Mythtranscode --mpeg2 seems to work ok so far on other recordings, but this one also shows an odd behaviour in mythfrontend: I can select two audio tracks, one being the regular German audio track (""unknown mp2 2ch""), the other one is called ""unknown mp3 2ch"". When I switch to the second track, I don't get any sound. In conclusion, I think that this is not usual for a recording, but it still would be nice to transcode the beast :)

I will be glad to provide additional information as needed and I hope we can get this fixed somehow if it turns out to be a bug within MythTV."	defect	closed	minor	unknown	mythtv	head	medium	fixed			1
