[mythtv-users] transcoding not working in 0.12 (for me ;-)

Joshua Goldenhar joshuag29 at comcast.net
Thu Nov 6 20:42:50 EST 2003


Hey all,

I had read that transcoding didn't work in 0.11 (rpm's) - that you lost
audio, so I never tried it.

I've since upgraded to the latest rpm's via apt-get and updated the
video DB - no problems with any of that.  Myth seems to be working as
well as before.

So I enabled the 'transcode in background' to make the mpeg2's (from my
PVR250) into smaller mpeg4's.

It doesn't work - I was seeing the "ivtv: Not enough free buffers,
stream 0" in the messages file, so I updated ivtv drivers to latest CVS
tarball from ivtv.sf.net.

I don't see the old message any more, but I do see these:

Nov  6 13:59:56 localhost kernel: saa7115[0]: decoder set size
Nov  6 13:59:56 localhost kernel: Hpsc: 0x00001, Hfsc: 0x00600
Nov  6 13:59:56 localhost kernel: Setting full NTSC height
Nov  6 14:30:02 localhost kernel: ivtv: DMA buffer DeQueue failed! got
1, want 1
Nov  6 14:30:02 localhost kernel: ivtv: DEC: free_q: 0 elements
Nov  6 14:30:02 localhost kernel: ivtv: DEC: dma_q: 0 elements
Nov  6 14:30:02 localhost kernel: ivtv: DEC: full_q: 100 elements
Nov  6 14:30:03 localhost kernel: ivtv: EOS interrupt not received!
stopping anyway.
Nov  6 15:59:56 localhost kernel: saa7115[0]: decoder set size
Nov  6 15:59:56 localhost kernel: Hpsc: 0x00001, Hfsc: 0x00600
Nov  6 15:59:56 localhost kernel: Setting full NTSC height
Nov  6 16:30:03 localhost kernel: ivtv: DMA buffer DeQueue failed! got
1, want 1
Nov  6 16:30:03 localhost kernel: ivtv: DEC: free_q: 0 elements
Nov  6 16:30:03 localhost kernel: ivtv: DEC: dma_q: 0 elements
Nov  6 16:30:03 localhost kernel: ivtv: DEC: full_q: 100 elements
Nov  6 16:30:03 localhost kernel: ivtv: EOS interrupt not received!
stopping anyway.
Nov  6 16:30:04 localhost kernel: saa7115[0]: decoder set size
Nov  6 16:30:04 localhost kernel: Hpsc: 0x00001, Hfsc: 0x00600
Nov  6 16:30:04 localhost kernel: Setting full NTSC height
Nov  6 17:00:02 localhost kernel: ivtv: DMA buffer DeQueue failed! got
1, want 1
Nov  6 17:00:02 localhost kernel: ivtv: DEC: free_q: 0 elements
Nov  6 17:00:02 localhost kernel: ivtv: DEC: dma_q: 0 elements
Nov  6 17:00:02 localhost kernel: ivtv: DEC: full_q: 100 elements
Nov  6 17:00:03 localhost kernel: ivtv: EOS interrupt not received!
stopping anyway.


In the mythbackend.log for the same time period, I get:
2003-11-06 13:59:56 Started recording "Changing Rooms" on channel: 1162
on cardid: 2, sourceid 1
2003-11-06 13:59:56 Changing from None to RecordingOnly
162
2003-11-06 14:30:00 Changing from RecordingOnly to None
2003-11-06 14:30:02 Found changes in the todo list.
2003-11-06 14:30:25 Transcoding from
/var/lib/mythtv//1162_20031106140000_20031106143000.nuv to
/var/lib/mythtv//1162_20031106140000_20031106143000.nuv.tmp
Input #0, mpeg, from
'/var/lib/mythtv//1162_20031106140000_20031106143000.nuv':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
strange error flushing buffer ... 
2003-11-06 15:59:56 Started recording "Ground Force" on channel: 1162 on
cardid: 2, sourceid 1
2003-11-06 15:59:56 Changing from None to RecordingOnly
162
2003-11-06 16:30:00 Changing from RecordingOnly to None
2003-11-06 16:30:02 Found changes in the todo list.
2003-11-06 16:30:03 Started recording "Changing Rooms" on channel: 1162
on cardid: 2, sourceid 1
2003-11-06 16:30:04 Changing from None to RecordingOnly
162
2003-11-06 16:30:28 Transcoding from
/var/lib/mythtv//1162_20031106160000_20031106163000.nuv to
/var/lib/mythtv//1162_20031106160000_20031106163000.nuv.tmp
Input #0, mpeg, from
'/var/lib/mythtv//1162_20031106160000_20031106163000.nuv':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
strange error flushing buffer ... 
2003-11-06 17:00:00 Changing from RecordingOnly to None
2003-11-06 17:00:02 Found changes in the todo list.
2003-11-06 17:00:28 Transcoding from
/var/lib/mythtv//1162_20031106163000_20031106170000.nuv to
/var/lib/mythtv//1162_20031106163000_20031106170000.nuv.tmp
Input #0, mpeg, from
'/var/lib/mythtv//1162_20031106163000_20031106170000.nuv':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
strange error flushing buffer ... 


So the transcoding starts, creates a .tmp file for each recording it
attempts to transcode but fails - leaving a 130-180K .tmp file behind.

This is a redhat 9 system, apt-get maintained, 2.4 GHz Celeron with
512MB RAM.

Clues?

Josh



More information about the mythtv-users mailing list