[mythtv-users] [Newbie] Cutting and transcoding under 0.23 doesn't seem to work

Sven Bretfeld sven.bretfeld at gmx.ch
Sat Mar 27 12:37:47 UTC 2010


Hi Ian

Ian Barton <lists at manor-farm.org> writes:

>> After the transcoding has finished, the file still measures 2.5GB and
>> still contains all commercials and additional parts. The file is neither
>> compressed nor cut. What's wrong here?
>>
>> The manual says:
>>
>> ,----
>> | Once the transcode is complete, mythbackend will replace the old file
>> | with the new as soon as it is no longer in use.
>> `----
>>
>> But the file obviously isn't actually replaced. The timestamp didn't
>> change either.
>>
>> I also noticed that in 'Recording profiles -> Transcoders' one cannot
>> choose any encoding. The manual speaks of RTjpeg or MPEG-4. But there is
>> no option like this under Mythbuntu 10.4.
>>
>
> That suggests that there was an error with transcoding. Take a look at
> the backend logs to see if there are any clues there.

That's right. I've checked /var/log/mythtv/mythbackend while I started
the transcoding. There are some error messages. I have highlighted them
for better reading, because the log is long:

,---- tail -f /var/log/mythtv/mythbackend
|
| 2010-03-27 13:04:34.417 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:04:34.432 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:04:34.493 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:05:59.270 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:05:59.311 JobQueue: Transcode Starting for Die Ritter der Tafelrunde: Low Quality (2.4 GB)   
| 2010-03-27 13:05:59.358 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:05:59.408 MainServer::ANN Monitor                                                            
| 2010-03-27 13:05:59.449 adding: kamaloka as a client (events: 0)                                           
| 2010-03-27 13:05:59.732 Using runtime prefix = /usr                                                        
| 2010-03-27 13:05:59.831 Using configuration directory = /home/mythtv/.mythtv                               
| 2010-03-27 13:05:59.848 Empty LocalHostName.                                                               
| 2010-03-27 13:05:59.897 Using localhost value of arupaloka                                                 
| 2010-03-27 13:06:00.055 New DB connection, total: 1                                                        
| 2010-03-27 13:06:00.152 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:00.262 Closing DB connection named 'DBManager0'                                           
| 2010-03-27 13:06:00.271 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:00.280 Enabled verbose msgs: important                                                    
| 2010-03-27 13:06:00.289 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:00.374 Transcoding from /var/lib/mythtv/recordings/1342_20100326150000.mpg to /var/lib/mythtv/recordings/1342_20100326150000.mpg.tmp                                                                 
| 2010-03-27 13:06:00.449 mythbackend version: trunk [23623] www.mythtv.org                                  
| 2010-03-27 13:06:00.478 Using runtime prefix = /usr                                                        
| 2010-03-27 13:06:00.486 Using configuration directory = /home/mythtv/.mythtv                               
| 2010-03-27 13:06:00.495 Empty LocalHostName.                                                               
| 2010-03-27 13:06:00.502 Using localhost value of arupaloka                                                 
| 2010-03-27 13:06:00.528 New DB connection, total: 1                                                        
| 2010-03-27 13:06:00.542 New DB connection, total: 2                                                        
| 2010-03-27 13:06:00.543 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:00.545 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:00.552 Closing DB connection named 'DBManager0'                                           
| 2010-03-27 13:06:00.548 MythContext: Connecting to backend server: 192.168.1.3:6543 (try 1 of 1)           
| 2010-03-27 13:06:00.570 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:00.565 AFD: Opened codec 0x8648200, id(MPEG2VIDEO) type(Video)                            
| 2010-03-27 13:06:00.590 Current MythTV Schema Version (DBSchemaVer): 1254                                  
| 2010-03-27 13:06:00.578 Using protocol version 56                                                          
| 2010-03-27 13:06:00.594 AFD: codec MP2 has 2 channels                                                      
| 2010-03-27 13:06:00.604 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:00.611 MainServer::ANN Monitor                                                            
| 2010-03-27 13:06:00.619 AFD: Opened codec 0x8649f90, id(MP2) type(Audio)                                   
| 2010-03-27 13:06:00.635 adding: arupaloka as a client (events: 0)                                          
| 2010-03-27 13:06:00.643 AFD: codec MP2 has 1 channels                                                      
| 2010-03-27 13:06:00.653 AFD: Opened codec 0x865e270, id(MP2) type(Audio)                                   
| 2010-03-27 13:06:00.653 MainServer::ANN Monitor                                                            
| 2010-03-27 13:06:00.668 adding: arupaloka as a client (events: 1)                                          
| 2010-03-27 13:06:00.691 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:00.731 AFD: Opened codec 0xa207060, id(MPEG2VIDEO) type(Video)                            
| 2010-03-27 13:06:00.735 AFD: codec MP2 has 2 channels                                                      
| 2010-03-27 13:06:00.743 AFD: Opened codec 0xa20ca40, id(MP2) type(Audio)                                   
| 2010-03-27 13:06:00.751 AFD: codec MP2 has 1 channels                                                      
| 2010-03-27 13:06:00.759 AFD: Opened codec 0xa220ec0, id(MP2) type(Audio)                                   
| 2010-03-27 13:06:00.799 MainServer::ANN Monitor                                                            
| 2010-03-27 13:06:00.804 Honoring the cutlist while transcoding                                             
| 2010-03-27 13:06:00.859 adding: kamaloka as a client (events: 0)                                           
| 2010-03-27 13:06:00.868 Cutlist        : 0-3937,170337-172377                                              
| 2010-03-27 13:06:00.876 Original Length: 172377 frames                                                     
| 2010-03-27 13:06:00.884 New Length     : 166400 frames                                                     
| 2010-03-27 13:06:00.898 Preview: Grabbed preview '/var/lib/mythtv/recordings/1342_20100326150000.mpg' 704x576 at 69s                                                                                                     
---> | 2010-03-27 13:06:00.908 No video information found!                                                        
---> | 2010-03-27 13:06:00.934 Please ensure that recording profiles for the transcoder are set                   
| 2010-03-27 13:06:01.057 Transcoding /var/lib/mythtv/recordings/1342_20100326150000.mpg failed              
| 2010-03-27 13:06:01.109 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:01.160 Deleting /var/lib/mythtv/recordings/1342_20100326150000.mpg.tmp                    
| 2010-03-27 13:06:01.211 MainServer::ANN Monitor                                                            
| 2010-03-27 13:06:01.267 ~MythContext waiting for threads to exit.                                          
---> | 2010-03-27 13:06:01.330 Error Truncating '/var/lib/mythtv/recordings/1342_20100326150000.mpg.tmp' could not determine size of the file, unlinking immediately.                                                        
| 2010-03-27 13:06:01.348 adding: kamaloka as a client (events: 0)                                           
| 2010-03-27 13:06:01.374 MainServer::ANN Playback                                                           
| 2010-03-27 13:06:01.440 adding: kamaloka as a client (events: 0)                                           
---> | 2010-03-27 13:06:01.439 JobQueue: Transcode Errored: Die Ritter der Tafelrunde: Low Quality (exit status 255, job status was "Errored")                                                                               
| 2010-03-27 13:06:01.458 MainServer::HandleAnnounce FileTransfer                                            
| 2010-03-27 13:06:01.556 adding: kamaloka as a remote file transfer                                         
| 2010-03-27 13:06:01.490 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:01.567 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:01.576 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:01.607 mythbackend version: trunk [23623] www.mythtv.org                                  
| 2010-03-27 13:06:01.614 Using runtime prefix = /usr                                                        
| 2010-03-27 13:06:01.622 Using configuration directory = /home/mythtv/.mythtv                               
| 2010-03-27 13:06:01.615 mythbackend version: trunk [23623] www.mythtv.org                                  
| 2010-03-27 13:06:01.631 Using runtime prefix = /usr                                                        
| 2010-03-27 13:06:01.639 Using configuration directory = /home/mythtv/.mythtv                               
| 2010-03-27 13:06:01.631 Empty LocalHostName.                                                               
| 2010-03-27 13:06:01.647 Using localhost value of arupaloka                                                 
| 2010-03-27 13:06:01.648 Empty LocalHostName.                                                               
| 2010-03-27 13:06:01.664 Using localhost value of arupaloka                                                 
| 2010-03-27 13:06:01.669 New DB connection, total: 1                                                        
| 2010-03-27 13:06:01.686 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:01.687 New DB connection, total: 1                                                        
| 2010-03-27 13:06:01.689 Closing DB connection named 'DBManager0'                                           
| 2010-03-27 13:06:01.703 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:01.706 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:01.713 Closing DB connection named 'DBManager0'                                           
| 2010-03-27 13:06:01.727 Current MythTV Schema Version (DBSchemaVer): 1254                                  
| 2010-03-27 13:06:01.731 Connected to database 'mythconverg' at host: localhost                             
| 2010-03-27 13:06:01.757 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'                   
| 2010-03-27 13:06:01.768 Current MythTV Schema Version (DBSchemaVer): 1254
| 2010-03-27 13:06:01.782 ProgramInfo: Updated pathname '':'' -> '1342_20100326150000.mpg'
| 2010-03-27 13:06:01.869 AFD: Opened codec 0x9eacfd0, id(MPEG2VIDEO) type(Video)
| 2010-03-27 13:06:01.882 AFD: Opened codec 0x82dcfd0, id(MPEG2VIDEO) type(Video)
| 2010-03-27 13:06:01.904 AFD: codec MP2 has 2 channels
| 2010-03-27 13:06:01.912 AFD: codec MP2 has 2 channels
| 2010-03-27 13:06:01.921 AFD: Opened codec 0x9eaf950, id(MP2) type(Audio)
| 2010-03-27 13:06:01.929 AFD: Opened codec 0x82efd20, id(MP2) type(Audio)
| 2010-03-27 13:06:01.937 AFD: codec MP2 has 1 channels
| 2010-03-27 13:06:01.946 AFD: codec MP2 has 1 channels
| 2010-03-27 13:06:01.954 AFD: Opened codec 0x9ec2db0, id(MP2) type(Audio)
| 2010-03-27 13:06:01.962 AFD: Opened codec 0x82f09e0, id(MP2) type(Audio)
| 2010-03-27 13:06:02.170 Preview: Grabbed preview '/var/lib/mythtv/recordings/1342_20100326150000.mpg' 704x576 at 69s
| 2010-03-27 13:06:02.181 Preview: Grabbed preview '/var/lib/mythtv/recordings/1342_20100326150000.mpg' 704x576 at 69s
| 2010-03-27 13:06:02.228 ~MythContext waiting for threads to exit.
| 2010-03-27 13:06:02.237 ~MythContext waiting for threads to exit.
| 2010-03-27 13:06:02.287 MainServer::ANN Playback
| 2010-03-27 13:06:02.294 adding: kamaloka as a client (events: 0)
`----

The second highlighted line suggests that the recording profiles are not
set correctly. I didn't change them since the installation.

Greetings,

Sven


More information about the mythtv-users mailing list