Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Oct 13, 2009, 1:29 AM

Post #1 of 20 (462 views)
Permalink
Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble[at]gmail.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------
Hi i use mythtranscode to edit my recordings after i make cut points i use
a lossless transcoding profile im not sure if it has the same effect with
a lossy transcode profile but when the transcode is finished i can see the
mythtranscode proccess never dies

in mythweb i can see the job is finished but when i check with ps there
are many idle unused mythtranscode proccess hanging around this isnt a big
deal if im only transcoding one thing but if i am doing a lot of
recordings all at once as i do every few weeks to make more space i end up
with a huge amount of zombie like idle mythtranscode proccess's some of
which use about 1.3% of system memory

if this issue is already reported and has a ticket im sorry but i couldnt
find it if you need to know more info for me to provide just let me know

it should be fairly easy to reproduce on any system and may of been
overlooked since not all people edit out commercials

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 16, 2009, 4:49 PM

Post #2 of 20 (441 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------
Changes (by stuartm):

* milestone: 0.22 => unknown


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 28, 2009, 3:22 PM

Post #3 of 20 (418 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by lofty69@…):

This issue is also effecting my 0.22 backend and is stopping the backend
from shutting down. It worked fine in 0.21 Fixes

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 28, 2009, 4:20 PM

Post #4 of 20 (417 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by J.Pilk@…):

I use mythtranscode like this on a routine basis, starting it from the
'Watch recordings' screen. It doesn't remain visible as active in 'atop'
when it completes, but it *is* deleting the old file despite having this
disabled in mythsetup - unless the preview file is deleted while the
transcode is in progress. fc10 0.22 fixes from ATrpms. Was OK in 0.21
fixes.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 28, 2009, 5:08 PM

Post #5 of 20 (417 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by mdean):

(In [22631]) Fix a copy/paste typo from [17881] which used the wrong
variable name, resulting in deleting the original pre-transcode recording
file if any previews were present, regardless of the value of
SaveTranscoding. The typo was made during the huge QString-safety fix in
#5311.

Refs #7315. (Even though this issue is unrelated to the issue on that
ticket, a comment on that ticket mentions this issue.)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 28, 2009, 5:23 PM

Post #6 of 20 (417 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by mdean):

(In [22632]) Fix a copy/paste typo from [17881] which used the wrong
variable name, resulting in deleting the original pre-transcode recording
file if any previews were present, regardless of the value of
SaveTranscoding. Backports [22631] from trunk.

Refs #7315. Thanks to John Pilkington for reporting the issue.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 28, 2009, 5:29 PM

Post #7 of 20 (417 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------
Changes (by mdean):

* version: unknown => head


Comment:

Perhaps related to #7135?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 28, 2009, 8:24 PM

Post #8 of 20 (413 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by arizonamythtv@…):

I'm also running into the same problem with mythfilldatabase not ending at
least in the processes even though the db and FE show it as completed. The
BE still thinks mythfilldb is still running thus it'll stop updating the
listings from schedules direct. As a band-aide, I added a cron job to kill
mythfilldb every morning in case it has hung on me. Not sure if it's
related to this.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 29, 2009, 2:56 AM

Post #9 of 20 (411 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by J.Pilk@…):

First a 'thank you' to Mike for picking up my report about not keeping
the old file, and committing the patch so quickly. Sorry it was OT but I
thought it was perhaps related.

Second, confirmation that I, too, see several inactive instances of
mythtranscode in ps; they don't show in the normal atop screen because
they aren't using cpu.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 3, 2009, 3:53 PM

Post #10 of 20 (325 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by robwebb5@…):

I see this issue too (release-0.22-fixes 22714) and previous 0.22-fixes
versions.

At a guess, mythtv is launching a shell to launch the transcode command -
while the transcode is running the following jobs are active:

{{{
rob[at]mediapc:~$ ps -Af | grep trans
mythtv 13708 3209 0 23:37 ? 00:00:00 sh -c
/usr/bin/mythtranscode -j 10 -V 3 -p autodetect -l
mythtv 13709 13708 55 23:37 ? 00:00:12 /usr/bin/mythtranscode -j
10 -V 3 -p autodetect -l
}}}

After the transcode job is finished you are left with:

{{{
rob[at]mediapc:~$ ps -Af | grep trans
mythtv 13726 1 0 23:39 ? 00:00:00 /usr/bin/mythtranscode -j
10 -V 3 -p autodetect -l
}}}

Note that the parent process of the transcode job has changed from 13708
(the shell that mythtv launched) to 1, which would indicate the parent
process has been killed.

Leaping into wild conjecture here, mythtv launches the shell job to
perform the transcode job and keeps track of the pid that it spawned. When
the transcode job is done mythtv reaps that pid, '''but''' it is reaping
the pid of the shell, not the pid of the transcode command that the shell
spawned.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 3, 2009, 6:12 PM

Post #11 of 20 (324 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by mythtv@…):

I too have seen this problem. I only do a lossless transcode (no
commercial cuts).[[BR]]
Running the mythtranscode job manually will also leave the mythtranscode
process running after it says it has finished.[[BR]]
The work around for me was to turn OFF the 'Delete Files Slowly' option
and then mythtranscode does exit when it finishes.[[BR]]
[[BR]]
release-0.22-fixes updated last night to latest revision.[[BR]]
[[BR]]

Darryl

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 4, 2009, 2:28 AM

Post #12 of 20 (315 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by J.Pilk@…):

2009-11-04 10:14:35.223 mythbackend version:
branches/release-0-22-fixes/mythtv/ [22680] www.mythtv.org (from ATrpms)

It does die properly now. I still have the slow delete enabled. And the
'Keep file after transcoding' (yes) setting works. I haven't tried the
'no' setting yet.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 4, 2009, 4:09 AM

Post #13 of 20 (315 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------

Comment(by lofty69@…):

Working for me too as of [22679] (ATRPMs)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 4, 2009, 1:54 PM

Post #14 of 20 (304 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution: fixed
Mlocked: 0 |
------------------------------------+---------------------------------------
Changes (by mdean):

* status: new => closed
* resolution: => fixed


Comment:

Seems to have been fixed with recent changes--2 out of 6 users who
reported seeing the issue have said so. If still seeing the issue, please
comment on the ticket and I'll reopen.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 5, 2009, 12:37 AM

Post #15 of 20 (295 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution: fixed
Mlocked: 0 |
------------------------------------+---------------------------------------

Comment(by mythtv@…):

I'm still having this problem. I went into mythtv-setup and only changed
the 'Delete Files Slowly' option and turned it back on. Then I picked a
recorded program with MythWeb and made it transcode again.

The transcode process is still running even though the log says it has
finished. The initial shell process has disappeared.

The version is

Please include all output in bug reports.
MythTV Version : 22715
MythTV Branch : branches/release-0-22-fixes
Network Protocol : 50
Library API : 0.22.20091023-1
QT Version : 4.5.1
Options compiled in:
linux release using_oss using_alsa using_backend using_dvb using_frontend
using_hdpvr using_iptv using_mheg using_opengl_video using_opengl_vsync
using_qtwebkit using_x11 using_xrandr using_xv using_bindings_perl
using_bindings_python using_opengl using_ffmpeg_threads using_live
using_mheg


Note: I built mythTV direct from the branches/release-0-22-fixes
repository, not using ATRPMS. It was a clean MythTV install on a freshly
installed Centos 5.4. (centosplusPAE kernel)

Darryl

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:14>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 5, 2009, 1:28 AM

Post #16 of 20 (290 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------
Changes (by mdean):

* status: closed => new
* resolution: fixed =>


Comment:

2 of 6 does not a quorum make, it seems

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:15>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 5, 2009, 3:53 PM

Post #17 of 20 (262 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------

Comment(by J.Pilk@…):

Details for comparison:

'ps -AH | grep transcode' now gives no output after backend announcement
that transcoding has finished. Entered from 'Watch recordings' screen, i,
Job Options, Begin transcoding, Default

Linux version 2.6.27.37-170.2.104.fc10.x86_64

mythfrontend --version
Please include all output in bug reports.
MythTV Version : 22680
MythTV Branch : branches/release-0-22-fixes/mythtv/
Network Protocol : 50
Library API : 0.22.20091023-1
QT Version : 4.5.2
Options compiled in:
linux release using_oss using_alsa using_pulse using_arts using_jack
using_backend using_dvb using_firewire using_frontend using_hdhomerun
using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3
using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit
using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld
using_xvmcw using_bindings_perl using_bindings_python using_opengl
using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

HTH

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:16>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 6, 2009, 1:47 AM

Post #18 of 20 (255 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------

Comment(by J.Pilk@…):

The build installed earlier, which had the problem, was from ATrpms
'testing'

mythtv-0.22-217_trunk_r22570.fc10.x86_64.rpm

The 'ok' build that I have now, with --version output shown above, is from

mythtv-0.22-218_trunk_r22679.fc10.x86_64.rpm

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:17>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 6, 2009, 9:00 AM

Post #19 of 20 (252 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------

Comment(by J.Pilk@…):

I apologise for my bitty postings here: trac was responding very slowly
and I couldn't edit.

I wonder if the 'unlinking immediately' in the fragment of backend log
below is relevant to this ticket? It seems to happen consistently.

2009-11-06 10:29:57.997 Transcode Completed
2009-11-06 10:29:58.925 Transcoding
/store/myth/recs/1005_20091106080500.mpg done
2009-11-06 10:29:59.012 Error Truncating
'/store/myth/recs/1005_20091106080500.mpg.png' could not determine size of
the file, unlinking immediately.
2009-11-06 10:29:59.172 transcode: Transcode Finished: Peppa Pig "Pig
tales": Autodetect (825.5 MB)
2009-11-06 10:29:59.172 JobQueue: Transcode Finished: Peppa Pig "Pig
tales": Autodetect (825.5 MB)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:18>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 6, 2009, 5:10 PM

Post #20 of 20 (245 views)
Permalink
Re: Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads [In reply to]

#7315: mythtranscode doesnt die after lossless transcoding to cut out ads
------------------------------------+---------------------------------------
Reporter: oobe.trouble@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------

Comment(by mythtv@…):

I've done some basic debugging of the mythtranscode code.

In main.cpp, int slowDelete(QString filename) [[BR]]

I've traced the execution all the way through until it gets to[[BR]]


{{{

if (inBackground)
exit(0);
else
VERBOSE(VB_IMPORTANT, QString("Finished truncating
%1.").arg(filename));

}}}

inBackground is set to true and so it calls the exit(0) statement and does
not return. I assume this is when this process should end?
[[BR]]

The code forks another process to do the truncate loop and completes the
truncate successfully. The file is no longer on the disk.[[BR]]

The PID that the fork() call returns is the one that is still running. The
original process has ended. [[BR]]

Hope this helps.

Darryl

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:19>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.