View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Aug 11, 2009 6:29 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
Hi All,

I tend to run the pacman updates regularily, and occasionally something goes a bit wrong. Generally, its easy enough to diagnose, or rollback.

Recently the mythtv package has been updated, and to get transcode to work, it was noted that you needed to upgrade ffmpeg to ffmpeg-svn.
http://knoppmyth.net/phpBB2/viewtopic.php?t=20158&postdays=0&postorder=asc&start=30

This seems to have fixed the problem in transcode, but now when I get to the mplex part of creating an iso (from recordings) it fails.
Code:
Creating details pages
Background image file is /usr/share/mythtv/mytharchive/themes/MythCenter - Autoplay/MythCenter-Background.png
Music is silence.ac3, length is 5 seconds
Creating details page for 1
Image (720, 576) into space of (275, 205) at (55, 55)
Image resized to (275, 205) at (55, 55)
Added image /myth/tmp/work/1/title.jpg
Wrapped text  = Thomas the Tank Engine & Friends
Wrapped text  = Respect for Gordon
Wrapped text  = Sat Aug 08 11:14 AM
Wrapped text  = Duration 00:09:59
Wrapped text  = Join Thomas with his carriages Annie and Clarabelle, and friends James, Edward
Wrapped text  = and Percy, as they travel the tracks on the Island of Sodor, under the direction of the
Wrapped text  = Fat Controller.
aspect ratio is: 1.77778
Encoding Details Page 1
   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
   INFO: [mpeg2enc] Selecting DVD with dummy navigation packets output profile
   INFO: [mpeg2enc] Assuming norm PAL
   INFO: [mpeg2enc] Progressive input - selecting progressive encoding.
   INFO: [mpeg2enc] Encoding MPEG-2 video to /myth/tmp/work/temp.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 576 pel
   INFO: [mpeg2enc] Aspect ratio code: 3 = 16:9 display
   INFO: [mpeg2enc] Frame rate code:   3 = 25.0 (PAL/SECAM VIDEO / converted FILM)
   INFO: [mpeg2enc] Bitrate: 5000 KBit/s
   INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (1=best, 31=worst)
   INFO: [mpeg2enc] Field order for input: none/progressive
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] DualPrime: no
   INFO: [mpeg2enc] Using one-pass rate controller
   INFO: [mpeg2enc] GOP SIZE RANGE 7 TO 15
   INFO: [mpeg2enc] Setting colour/gamma parameters to "PAL B/G"
   INFO: [mpeg2enc] Progressive format frames = 1
   INFO: [mpeg2enc] Using default unmodified quantization matrices
   INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER!
   INFO: [mpeg2enc] NEW GOP INIT length 15
   INFO: [mpeg2enc] Signaling last frame = -1
   INFO: [mpeg2enc] Guesstimated final muxed size = 0

**ERROR: [mplex] Unable to read from /myth/tmp/work/temp.m2v.
************************************************************
ERROR: Failed while running mplex - mplex -f 8 -v 0 -o '/myth/tmp/work/temp.mpg' '/myth/tmp/work/temp.m2v' '/usr/share/mythtv/mytharchive/music/silence.ac3'
************************************************************

Does anyone know if the mythtv or ffmpeg-svn is to blame? Or is there something else that needs to be updated?

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
PostPosted: Wed Aug 12, 2009 10:58 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Hi Nathan,

Code:
Unable to read from /myth/tmp/work/temp.m2v

suggests a file permission problem. I would look at ownership of all the directories below /myth/tmp. Execute "ls -lR /myth/tmp" and post the output.

Mike

P.S. Hope you have kids: Archiving Thomas the Tank would be pretty sad otherwise ;-)

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 12, 2009 11:08 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
I have an anorak I save especially for my thomas the tank marathons :)

Yes, actually, 2xkids... means that having what ever show is the flavour of the day at your fingertips is a big winner with myth. Something i call the KAF (as opposed to the WAF, which is equally, if not more relevant, but certainly directly related to the KAF).

I'll have a look into the folder permissions, but i'm sure I looked at it and they were all owned by mythtv. The archive procedure created all the chapters and outputs in the work folder, just when it tried to merge them, it created a zero-length temp.m2v file, and barfed. Cant help but think theres something wrong in binary land.

I might try running the command manually and see if theres anymore debug info
Code:
mplex -f 8 -v 0 -o '/myth/tmp/work/temp.mpg' '/myth/tmp/work/temp.m2v' '/usr/share/mythtv/mytharchive/music/silence.ac3'


Cheers,

Nathan

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 18, 2009 7:31 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I'm having the same issue in the same place as nmcaullay. My permissions are:
Code:
[mythtv@mythbox-mbe ~]$ ls -l /myth/md0/archive/work/temp.m2v
-rw-rw-rw- 1 mythtv mythtv 0 2009-08-18 17:53 /myth/md0/archive/work/temp.m2v
I see the zero byte file. Mythburn.log doesn't say much. It looks like it trys to write to temp.m2v and then fails:
Code:
Encoding Menu Page 1 using aspect ratio '16:9'
   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
   INFO: [mpeg2enc] Selecting DVD with dummy navigation packets output profile
   INFO: [mpeg2enc] Assuming norm NTSC
   INFO: [mpeg2enc] Progressive input - selecting progressive encoding.
   INFO: [mpeg2enc] Encoding MPEG-2 video to /myth/md0/archive/work/temp.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 480 pel
   INFO: [mpeg2enc] Aspect ratio code: 3 = 16:9 display
   INFO: [mpeg2enc] Frame rate code:   4 = 30000.0/1001.0 (NTSC VIDEO)
   INFO: [mpeg2enc] Bitrate: 5000 KBit/s
   INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (1=best, 31=worst)
   INFO: [mpeg2enc] Field order for input: none/progressive
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] DualPrime: no
   INFO: [mpeg2enc] Using one-pass rate controller
   INFO: [mpeg2enc] GOP SIZE RANGE 7 TO 15
   INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
   INFO: [mpeg2enc] Progressive format frames = 1
   INFO: [mpeg2enc] Using default unmodified quantization matrices
   INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER!
   INFO: [mpeg2enc] NEW GOP INIT length 15
   INFO: [mpeg2enc] Signaling last frame = -1
   INFO: [mpeg2enc] Guesstimated final muxed size = 0

**ERROR: [mplex] Unable to read from /myth/md0/archive/work/temp.m2v.
************************************************************
ERROR: Failed while running mplex - mplex -f 8 -v 0 -o '/myth/md0/archive/work/temp.mpg' '/myth/md0/archive/work/temp.m2v' '/usr/share/mythtv/mytharchive/music/menumusic2.ac3'
************************************************************

Terminated

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 18, 2009 7:35 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
So, i'm not special :(

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 19, 2009 7:31 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I've opened a ticket on flyspray.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 19, 2009 9:16 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Nathan,

Did you end up running the mplex line manually?

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 19, 2009 9:25 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
Hi Mike,

No i didnt, havent had much time... i'll be watching cricket all night tonight, so can do it in parallel... :)

Nathan

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 28, 2009 6:09 am 
Offline
Joined: Tue Aug 09, 2005 2:09 pm
Posts: 107
I am having the same issue. Where can I find the log file that is generated by mytharchive? What ever generates the 'temp.m2v' file is the problem as the file is a 0 length file. I would guess that it is ffmpeg but for some reason I didn't have all of the ffmpeg library files so mytharchive would terminate earlier during mytharchive. So after I installed ffmpeg-svn things went a little further in the process but terminated at the same place that you listed.

-Nate

_________________
P4 1.6 GHz
1.2 GB RAM
Nvidia GeForce4 MX 4000
Hauppage PVR 500 MCE
Soundblaster Live
ATI Remote Wonder II


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 28, 2009 5:06 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
Id try again, but i'm now on mythtv-svn (for multirec in hdhomerun), so possibly the same test wont apply?

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu