[mythtv-users] Lossless transcode fails in 0.19 (no more queue slots)
Tim Davis
linuxtv at silkworm.org.uk
Mon Mar 6 01:05:22 UTC 2006
When I upgraded from 0.18.1 to 0.19 I tried out lossless transcoding of MPEG2 recordings and it worked very well. Now it's stopped working and every attempt at transcoding fails with the error "No more queue slots!". I'm manually starting transcoding after creating a cutlist and I have the "Autodetect from MPEG2" profile set to "Lossless transcoding".
I had made a number of changes to my Myth setup since transcoding was working (to try and fix other problems I'm having with 0.19) including upgrading to 0.19-fixes from SVN and switching from libmpeg2 to ffmpeg, but reverting these changes hasn't fixed transcoding.
I'm in the UK recording from DVB-T with a Nova-T and Pinnacle 300i. Currently running the 0.19 release on a Gentoo 2.6.12 kernel.
A brief look at the code suggests the error message is caused by MPEG2fixup::GetPoolFrame() being called too many times when the framePool is empty. There is one suspicious-looking line in the logs with a very high frame rate: Stream #0.2[0x259](eng), 90000.00 fps(r): Video: mpeg2video.
Does anyone have any ideas on this? Any settings I should try changing to fix it?
Tim Davis
Here's the log from a failed transcode. Manually running mythtranscode with -v all didn't give any more explanation for the error. Oh, and configure's output as I enabled proc-opt.
*******************************************************************
Options: --arch=pentium4 --enable-proc-opt --disable-audio-arts --disable-audio-jack --disable-dvd --disable-joystick-menu --disable-firewire --disable-dbox2 --disable-ivtv --enable-dvb --dvb-path=/usr/src/linux/include/ --disable-v4l
Warning: DVB location in kernel. May not compile.
# Basic Settings
Compile type release
Compiler cache no
DistCC no
Install prefix /usr/local
CPU x86 (pentium4)
Big Endian no
MMX enabled yes
Vector Builtins yes
# Input Support
Joystick menu no
lirc support yes
Video4Linux sup. no
ivtv support no
FireWire support no
DVB support yes [/usr/src/linux/include/]
DBox2 support no
# Sound Output Support
OSS support yes
ALSA support yes
aRts support no
JACK support no
DTS passthrough yes
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support no
XvMC VLD support no
XvMC pro support no
XvMC libs
OpenGL vsync no
DirectFB no
# Misc Features
DVD playback no
Frontend yes
Backend yes
Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak
WARNING: When using --enable-proc-opt you must include the
output of ./configure along with any bug report.
*******************************************************************
2006-03-05 20:19:38.084 Transcode Running for The Mark Steel Lectures "Charlie Chaplin": 1.0 GB => 0 bytes (Autodetect)
2006-03-05 20:19:38.089 transcode: Transcode Running
2006-03-05 20:19:38.092 Transcode Starting for The Mark Steel Lectures "Charlie Chaplin": 1.0 GB (Autodetect)
2006-03-05 20:19:38.096 transcode: Transcode Starting
2006-03-05 20:19:38.097 JobQueue running command: '/usr/local/bin/mythtranscode -j 286 -V 4099 -p autodetect -l'
2006-03-05 20:19:38.349 Using runtime prefix = /usr/local
2006-03-05 20:19:38.377 New DB connection, total: 1
2006-03-05 20:19:38.386 Enabled verbose msgs: important
2006-03-05 20:19:38.392 New DB connection, total: 2
2006-03-05 20:19:38.393 Connected to database 'mythconverg' at host: localhost
2006-03-05 20:19:38.399 Transcoding from /var/video/mythtv//1007_20060302230000.mpg to /var/video/mythtv//1007_20060302230000.mpg.tmp
2006-03-05 20:19:38.420 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2006-03-05 20:19:38.428 Using protocol version 26
2006-03-05 20:19:38.433 MainServer::HandleAnnounce Monitor
2006-03-05 20:19:38.433 adding: luther as a client (events: 0)
0: start_time: 544.305 duration: 179.554
1: start_time: 544.283 duration: 179.539
2: start_time: 544.283 duration: 179.576
3: start_time: 544.301 duration: 179.539
stream: start_time: 6047.584 duration: 1995.287 bitrate=4320 kb/s
2006-03-05 20:19:38.667 AFD: Opened codec 0x80e1400, id(MPEG2VIDEO) type(Video)
2006-03-05 20:19:38.690 AFD: Opened codec 0x80e1980, id(MP3) type(Audio)
2006-03-05 20:19:38.691 AFD: Opened codec 0x80e1f00, id(MPEG2VIDEO) type(Video)
2006-03-05 20:19:38.691 AFD: Opened codec 0x80e2480, id(MP3) type(Audio)
2006-03-05 20:19:38.795 New DB connection, total: 3
2006-03-05 20:19:38.797 Connected to database 'mythconverg' at host: localhost
2006-03-05 20:19:38.832 Switching to MPEG-2 transcoder.
2006-03-05 20:19:38.844 Opening /var/video/mythtv//1007_20060302230000.mpg
2006-03-05 20:19:38.870 Input #0, mpegts, from '/var/video/mythtv//1007_20060302230000.mpg':
2006-03-05 20:19:38.870 Duration: N/A, bitrate: N/A
2006-03-05 20:19:38.871 Stream #0.0[0xc9], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 8000 kb/s
2006-03-05 20:19:38.871 Stream #0.1[0x191](eng): Audio: mp2, 48000 Hz, stereo, 256 kb/s
2006-03-05 20:19:38.872 Stream #0.2[0x259](eng), 90000.00 fps(r): Video: mpeg2video
2006-03-05 20:19:38.872 Stream #0.3[0x192](eng): Audio: mp2, 48000 Hz, mono, 64 kb/s
2006-03-05 20:19:39.095 No more queue slots!
2006-03-05 20:19:39.105 Unknown socket closing
2006-03-05 20:19:39.107 Deleting /var/video/mythtv//1007_20060302230000.mpg.tmp
2006-03-05 20:19:39.111 Transcode Errored for The Mark Steel Lectures "Charlie Chaplin": 1.0 GB => 0 bytes (Autodetect)
2006-03-05 20:19:39.115 transcode: Transcode Errored
More information about the mythtv-users
mailing list