Opened 18 years ago

Closed 17 years ago

#2496 closed defect (invalid)

mythtranscode says "No more queue slots!"

Reported by: thomas@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Recordings from one specific channel cannot be transcoded, not even without cutlist. mythtranscode says: No more queue slots!

This may be related or not to ticket #799, but I do not know, if Myth 0.20 does something wrong while recording, that can affect mythtranscode later.

This is the log:

2006-09-29 08:12:40.012 Opening /mythtv/backend/video/recordings/4736_20060925230000.mpg
2006-09-29 08:12:40.015 Parser not found for Codec Id: 94211 !
2006-09-29 08:12:40.128 Input #0, mpegts, from '/mythtv/backend/video/recordings/4736_20060925230000.mpg':
2006-09-29 08:12:40.129   Duration: N/A, bitrate: N/A
2006-09-29 08:12:40.130   Stream #0.0[0x621]: Video: mpeg2video, yuv420p, 720x576, 1/25, 15000 kb/s, 25.00 fps(r)
2006-09-29 08:12:40.130   Stream #0.1[0x624](ger): Audio: mp2, 48000 Hz, stereo, 160 kb/s
2006-09-29 08:12:40.130   Stream #0.2[0x626](ger): Audio: ac3, 48000 Hz, stereo, 256 kb/s
2006-09-29 08:12:40.131   Stream #0.3[0x627](ger): Data: 0x0000
2006-09-29 08:12:40.131   Stream #0.4[0x628]: Video: mpeg2video, 90000.00 fps(r)
2006-09-29 08:12:40.131 Skipping unsupported codec 2 on stream 3
2006-09-29 08:12:40.859 No more queue slots!

Change History (9)

comment:1 Changed 18 years ago by cpinkham

Resolution: fixed
Status: newclosed

Believe this was fixed by [11330] relating to an AvFormatDecoder? issue with multiple video streams in the same file. Closing for now. If the problem can be reproduced with current SVN the ticket can be reopened.

comment:2 Changed 18 years ago by thomas@…

Resolution: fixed
Status: closedreopened

Sorry, not fixed by [11330]. Still get the same output from mythtranscode.

comment:3 Changed 18 years ago by thomas@…

I have 2 samples:

http://www.boerkel.de/ticket2496.mpg -> 5 MB, mythtranscode segfaults

http://www.boerkel.de/ticket2496_2.mpg -> 30 MB, no more queue slots

comment:4 Changed 17 years ago by Geoffrey Hausheer

Thomas,

#11394 fixes the segfault issue. It also seems to fix the queue-slot issue, but I'd like you to confirm.

comment:5 Changed 17 years ago by thomas@…

I can confirm that both issues are fixed. I now can transcode both samples without problems. I did not do bigger tests (bigger files and with cutlist) however, because only my limited VMware test system runs svn head. Please merge the changes to the 0.20 fixes branch.

comment:6 Changed 17 years ago by Geoffrey Hausheer

Resolution: fixed
Status: reopenedclosed

(In [11406]) backport change 11394 (transcoder fix) from head. closes #2496

comment:7 Changed 17 years ago by thomas@…

I have verified that it works for bigger files (complete recording) and with cutlist.

comment:8 in reply to:  7 Changed 17 years ago by anonymous

Resolution: fixed
Status: closedreopened

Replying to thomas@boerkel.de:

I have verified that it works for bigger files (complete recording) and with cutlist.

Still doesn't work for me. mythtranscode doesn't crash, but it doesn't transcode either :-)

svn update At revision 11500.

(Note, i've cut out all the SQL stuff from this)

./mythtranscode -mpeg2 -honourcutlist -c 1022 -s 2006-09-23T19:26:00 -t /tmp/test -v all 2006-10-11 06:31:00.112 Using runtime prefix = /usr 2006-10-11 06:31:00.130 New DB connection, total: 1 2006-10-11 06:31:00.135 Connected to database 'mythconverg' at host: localhost 2006-10-11 06:31:00.136 Enabling Settings Cache. 2006-10-11 06:31:00.136 Clearing Settings Cache. 2006-10-11 06:31:00.136 Enabled verbose msgs: all

2006-10-11 06:31:00.141 Transcoding from /video/recordings/1022_20060923192600.mpg to /video/recordings/1022_20060923192600.mpg.tmp

mpegts_add_stream: at pid 0x200 with type 2 mpegts_add_stream: stream #0, has id 0x200 and codec MPEG2VIDEO, type Video at 0xb7b0d8c0 mpegts_add_stream: at pid 0x28a with type 4 mpegts_add_stream: stream #1, has id 0x28a and codec MP3, type Audio at 0xb7b0d720 mpegts_add_stream: at pid 0x294 with type 129 mpegts_add_stream: stream #2, has id 0x294 and codec AC3, type Audio at 0xb7b0dbc0 mpegts_add_stream: at pid 0x240 with type 257 mpegts_add_stream: stream #3, has id 0x240 and codec DVB_VBI, type Data at 0xb7b22230 mpegts_add_stream: at pid 0x17c0 with type 2 mpegts_add_stream: stream #4, has id 0x17c0 and codec MPEG2VIDEO, type Video at 0xb7b227d0 [mpegts @ 0x2b3aa0]Parser not found for Codec Id: 94211 ! 0: start_time: 1306.323 duration: 307.541 1: start_time: 1306.297 duration: 307.526 2: start_time: 1306.295 duration: 307.538 3: start_time: 1306.287 duration: 307.543 4: start_time: 1306.295 duration: 307.541 stream: start_time: 14514.299 duration: 3417.520 bitrate=6399 kb/s 2006-10-11 06:31:00.205 AFD: Stream #0, has id 0x512 codec id MPEG2VIDEO, type Video, bitrate 15000000 at 0x0xb7b0d8c02006-10-11 06:31:00.206 MSqlQuery: SELECT data FROM settings WHERE value = 'PreferredMPEG2Decoder' AND hostname = 'fragola' ; 2006-10-11 06:31:00.206 detectInterlace(Detect Scan, Interlaced Scan, 25, 576) ->Interlaced Scan 2006-10-11 06:31:00.206 AFD: Looking for decoder for MPEG2VIDEO 2006-10-11 06:31:00.207 AFD: Opened codec 0xb7b21410, id(MPEG2VIDEO) type(Video) 2006-10-11 06:31:00.207 AFD: Stream #1, has id 0x650 codec id MP3, type Audio, bitrate 256000 at 0x0xb7b0d720 2006-10-11 06:31:00.207 AFD: Looking for decoder for MP3 2006-10-11 06:31:00.226 AFD: Opened codec 0xb7b218c0, id(MP3) type(Audio) 2006-10-11 06:31:00.226 AFD: Audio Track #1 is A/V stream #1 and has 2 channels in the English language(6647399). 2006-10-11 06:31:00.227 AFD: Stream #2, has id 0x660 codec id AC3, type Audio, bitrate 448000 at 0x0xb7b0dbc0 2006-10-11 06:31:00.227 AFD: Looking for decoder for AC3 2006-10-11 06:31:00.227 AFD: Opened codec 0xb7b21d70, id(AC3) type(Audio) 2006-10-11 06:31:00.228 AFD: Audio Track #2 is A/V stream #2 and has 2 channels in the English language(6647399). 2006-10-11 06:31:00.228 AFD: Stream #3, has id 0x576 codec id DVB_VBI, type Data, bitrate 0 at 0x0xb7b22230 2006-10-11 06:31:00.228 AFD: Teletext caption #0 is in the English language on page 8 1. 2006-10-11 06:31:00.228 AFD: data codec (Data) 2006-10-11 06:31:00.228 AFD: Stream #4, has id 0x6080 codec id MPEG2VIDEO, type Video, bitrate 0 at 0x0xb7b227d0 2006-10-11 06:31:00.228 AFD: Looking for decoder for MPEG2VIDEO 2006-10-11 06:31:00.229 AFD: Opened codec 0xb7b22890, id(MPEG2VIDEO) type(Video) 2006-10-11 06:31:00.229 RingBuf?(/video/recordings/1022_20060923192600.mpg): CalcReadAheadThresh?(15704 KB)

-> threshhold(575 KB) min read(32 KB) blk size(256 KB)

2006-10-11 06:31:00.229 AFD: Trying to select audio track (w/lang) 2006-10-11 06:31:00.229 AFD: Selected track 2: English AC3 2ch (A/V Stream #2) 2006-10-11 06:31:00.229 AFD: Initializing audio parms from audio track #2 2006-10-11 06:31:00.229 AFD: Audio format changed

from id(NONE) -1Hz -1ch 0bps ; id(NONE) -1Hz -1ch 0bps to id( AC3) 48000Hz 2ch 16bps ; id( AC3) 48000Hz 2ch 16bps

2006-10-11 06:31:00.229 Dec: Trying to select track (w/lang) 2006-10-11 06:31:00.230 Dec: Selecting first track 2006-10-11 06:31:00.230 Dec: Selected track #1 in the Unknown language(0) 2006-10-11 06:31:00.230 Dec: Selected track #1 in the English language(6647399) 2006-10-11 06:31:00.230 Resyncing position map. posmapStarted = 0 livetv(0) watchingRec(0) 2006-10-11 06:31:00.261 MSqlQuery: SELECT mark, offset FROM recordedseek WHERE chanid = '1022' AND starttime = '2006-09-23T19:26:00' AND type = 9 ; 2006-10-11 06:31:00.334 Position map filled from DB to: 85428 2006-10-11 06:31:00.335 SyncPositionMap? prerecorded, from DB: 7120 entries 2006-10-11 06:31:00.335 SyncPositionMap?, new totframes: 85428, new length: 3417, posMap size: 7120 Input #0, mpegts, from '/video/recordings/1022_20060923192600.mpg':

Duration: 00:56:57.5, start: 14514.299278, bitrate: 6399 kb/s Stream #0.0[0x200], 1/90000: Video: mpeg2video, yuv420p, 720x576, 1/25, 15000 kb/s, 25.00 fps(r) Stream #0.1[0x28a](eng), 1/90000: Audio: mp2, 48000 Hz, stereo, 256 kb/s Stream #0.2[0x294](eng), 1/90000: Audio: ac3, 48000 Hz, stereo, 448 kb/s Stream #0.3[0x240](eng), 1/90000: Data: 0x0000 Stream #0.4[0x17c0], 1/90000: Video: mpeg2video, 90000.00 fps(r)

2006-10-11 06:31:00.336 AFD: Position map found 2006-10-11 06:31:00.336 AFD: Successfully opened decoder for file: "/video/recordings/1022_20060923192600.mpg". novideo(0)

2006-10-11 06:31:00.356 Unknown video codec: 2006-10-11 06:31:00.356 Transcoding /video/recordings/1022_20060923192600.mpg failed

Note - if I feed it a recording for 0.19, mythtranscode works, but all recording since I updated to .20 seem to have this extra unidentified video stream.

Main gripe is mytharchive no longer works because of this.

The recording files are quite large, how much of the file is needed to debug this ?

comment:9 Changed 17 years ago by Geoffrey Hausheer

Resolution: invalid
Status: reopenedclosed

(a) The new problem is completely unrelated to the ticket Thomas originally filed, please open a new ticket on this. (b) Please format the log appropriately. The log you posted is nearly undeadable, and I'm not wasting my time deciphering it.

Note: See TracTickets for help on using tickets.