[mythtv-users] Exporting Recordings to Videos

Sven Bretfeld sven.bretfeld at gmx.ch
Thu Jul 26 08:26:18 UTC 2012


Hi Raymond

Raymond Wagner <raymond at wagnerrp.com> writes:

> On 7/24/2012 10:09, Sven Bretfeld wrote:
>> Further, mythtranscode results in a file ending with mpg.tmp
>
> Erm... that only happens when mythtranscode fails.

Hm, seems so. I'm running into a bug that was seen before on this list
but the poster never got a reply:
http://www.mythtv.org/pipermail/mythtv-users/2012-April/331351.html

My output is looking exactly the same. 

First I was running into the trap that seems to confuse myth-beginners
since generations: setting profiles for mythtranscode means you have to
change something in the backend, because the standard settings of
mythtranscode don't work (or are not recognized by the database).

I left the default profiles in mythbuntu just as they were except
switching from RTJpeg to MPEG4 and set the sample rate to 48000. The
default sample rate of 32000 is complained about in the log as not being
allowed. 

Someone should really change these two default settings to working and
recognized profiles before shipping mythtv.

Now, that everything is set, I get the attached output. The original
recording is left untouched and a new file *.mpg.tmp appears.

Thanks

Sven


sven at arupaloka:~$ mythtranscode --chanid 1105 --starttime 20120726090500
2012-07-26 10:04:01.906262 C  mythtranscode version: fixes/0.25 [v0.25.2-8-g3256849] www.mythtv.org
2012-07-26 10:04:01.906288 C  Qt version: compile: 4.8.1, runtime: 4.8.1
2012-07-26 10:04:01.906296 N  Enabled verbose msgs:  general
2012-07-26 10:04:01.906321 N  Setting Log Level to LOG_INFO
2012-07-26 10:04:01.906383 I  Added logging to the console
2012-07-26 10:04:01.906394 I  Added database logging to table logging
2012-07-26 10:04:01.906504 N  Setting up SIGHUP handler
2012-07-26 10:04:01.906597 N  Using runtime prefix = /usr
2012-07-26 10:04:01.906616 N  Using configuration directory = /home/sven/.mythtv
2012-07-26 10:04:01.906776 I  Assumed character encoding: de_DE.UTF-8
2012-07-26 10:04:01.907304 N  Empty LocalHostName.
2012-07-26 10:04:01.907315 I  Using localhost value of arupaloka
2012-07-26 10:04:01.927136 N  Setting QT default locale to de_US
2012-07-26 10:04:01.927233 I  Current locale de_US
2012-07-26 10:04:01.927291 E  No locale defaults file for de_US, skipping
2012-07-26 10:04:01.927733 I  Loading de translation for module mythfrontend
2012-07-26 10:04:01.929946 N  Transcoding from /var/lib/mythtv/recordings/1105_20120726090500.mpg to /var/lib/mythtv/recordings/1105_20120726090500.mpg.tmp
2012-07-26 10:04:01.978337 I  AFD: Opened codec 0x2008290, id(MPEG2VIDEO) type(Video)
2012-07-26 10:04:01.978353 I  AFD: codec MP2 has 2 channels
2012-07-26 10:04:01.978403 I  AFD: Opened codec 0x2008950, id(MP2) type(Audio)
2012-07-26 10:04:01.978432 I  AFD: codec AC3 has 2 channels
2012-07-26 10:04:01.978917 I  AFD: Opened codec 0x2025950, id(AC3) type(Audio)
2012-07-26 10:04:01.979075 N  AudioPlayer: Enabling Audio
2012-07-26 10:04:01.982030 N  Transcode: Looking for autodetect profile: Automatisch erkennen aus 576i
2012-07-26 10:04:01.995839 N  Transcode: Using autodetect profile: MPEG2
2012-07-26 10:04:02.002757 I  MythCoreContext: Connecting to backend server: 192.168.1.7:6543 (try 1 of 1)
2012-07-26 10:04:02.003846 I  Using protocol version 72
2012-07-26 10:04:02.072706 I  Copying Audio while transcoding Video
2012-07-26 10:04:03.089075 I  mythtranscode: 0% Completed @ 0 fps.
2012-07-26 10:04:12.641028 E  decoding error
			eno: Input/output error (5)
2012-07-26 10:04:12.805238 I  Starting IO manager (write)
2012-07-26 10:04:12.805349 I  Starting IO manager (read)
2012-07-26 10:04:12.805435 I  Starting process signal handler
2012-07-26 10:04:12.805514 I  Starting process manager
2012-07-26 10:04:12.908853 N  Transcoding /var/lib/mythtv/recordings/1105_20120726090500.mpg done
2012-07-26 10:04:12.908882 I  Waiting for threads to exit.
Error: Not all threads were shut down properly: 
Thread TFWSync is still running
Thread TFWWrite is still running

sven at arupaloka:~$ 


More information about the mythtv-users mailing list