[mythtv-users] Need help with an error in a user job

Harry Devine lifter89 at comcast.net
Thu Mar 17 12:51:37 UTC 2011


I have a user job set to transcode my recordings using HandBrake to make 
them playable on my iPhone (see 
http://www.gossamer-threads.com/lists/mythtv/users/474492?search_string=HandBrake;#474492 
for that discussion if interested).  I can run the command manually from 
the CLI and it works, but whenever I run it from a user job, it does 
not, and I'm not sure why.  I have a portion of my backend log below, so 
can someone take a peek and see what could be going on with it?

Thanks,
Harry

2011-03-17 02:00:04.519 JobQueue: Started Transcode to iPhone for "Late 
Night With Jimmy Fallon" recorded from channel 3105 at 2011-03-17T00:37:00
2011-03-17 02:00:04.522 jobqueue: Job "Transcode to iPhone" Started: 
Started Transcode to iPhone for "Late Night With Jimmy Fallon" recorded 
from channel 3105 at 2011-03-17T00:37:00
[02:00:04] hb_init: starting libhb thread
HandBrake svn3833 (2011030901) - Linux x86_64 - http://handbrake.fr
2 CPUs detected
Opening /storage/recordings/3105_20110317003700.mpg...
[02:00:04] hb_scan: path=/storage/recordings/3105_20110317003700.mpg, 
title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening 
/storage/recordings/3105_20110317003700.mpg/BDMV/index.bdmv
libbluray/bluray.c:1376: 
nav_get_title_list(/storage/recordings/3105_20110317003700.mpg) failed 
(0x26e0cb0)
[02:00:04] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[02:00:04] dvd: not a dvd - trying as a stream/file instead
[02:00:04] file is MPEG Transport Stream with 188 byte packets offset 0 
bytes
[02:00:04] hb_ts_stream_find_pids - found the following PIDS
[02:00:04]     Video PIDS :
[02:00:04]       0x880 type MPEG2 (0x2)
[02:00:04]     Audio PIDS :
[02:00:04]       0x881 type AC-3 (0x81)
[02:00:04]       0x882 type AC-3 (0x81)
[02:00:06] transport stream pid 0x881 (type 0x81) may be AC-3 audio (id 
0x881)
[02:00:06] transport stream pid 0x882 (type 0x81) may be AC-3 audio (id 
0x882)
[02:00:06] scan: decoding previews for title 1
Scanning title 1...
[02:00:06] scan: audio 0x882: AC-3, rate=48000Hz, bitrate=96000 Espanol 
(AC3) (1.0 ch)
[02:00:06] scan: audio 0x881: AC-3, rate=48000Hz, bitrate=192000 English 
(AC3) (2.0 ch)
Scanning title 1...
[02:00:06] scan: 10 previews, 704x480, 23.976 fps, autocrop = 2/0/2/0, 
aspect 4:3, PAR 10:11
[02:00:06] scan: title (0) job->width:640, job->height:480
[02:00:06] stream: 6 good frames, 0 errors (0%)
[02:00:06] libhb: scan thread found 1 valid title(s)
+ title 1:
   + stream: /storage/recordings/3105_20110317003700.mpg
   + duration: 00:59:18
   + size: 704x480, pixel aspect: 10/11, display aspect: 1.33, 23.976 fps
   + autocrop: 2/0/2/0
   + chapters:
     + 1: cells 0->0, 0 blocks, duration 00:59:18
   + audio tracks:
     + 1, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
     + 2, Espanol (AC3) (1.0 ch) (iso639-2: spa), 48000Hz, 96000bps
   + subtitle tracks:
+ Using preset: iPhone
[02:00:06] 1 job(s) to process
[02:00:06] starting job
[02:00:06] Height out of bounds, scaling down to 480
[02:00:06] New dimensions 640 * 480
[02:00:06] sync: expecting 85345 video frames
[02:00:06] job configuration:
[02:00:06]  * source
[02:00:06]    + /storage/recordings/3105_20110317003700.mpg
[02:00:06]    + title 1, chapter(s) 1 to 1
[02:00:06]  * destination
[02:00:06]    + /storage/recordings/iPhone/%TITLE-%SUBTITLE.m4v
[02:00:06]    + container: MPEG-4 (.mp4 and .m4v)
[02:00:06]  * video track
[02:00:06]    + decoder: mpeg2
[02:00:06]      + bitrate 15000 kbps
[02:00:06]    + frame rate: same as source (around 23.976 fps)
[02:00:06]    + dimensions: 704 * 480 -> 640 * 480, crop 2/0/2/0, mod 0
[02:00:06]    + encoder: FFmpeg
[02:00:06]      + bitrate: 1000 kbps, pass: 0
[02:00:06]  * audio track 0
[02:00:06]    + decoder: English (AC3) (2.0 ch) (track 1, id 881)
[02:00:06]      + bitrate: 192 kbps, samplerate: 48000 Hz
[02:00:06]    + mixdown: Stereo
[02:00:06]    + encoder: faac
[02:00:06]      + bitrate: 160 kbps, samplerate: 48000 Hz
[02:00:06] reader: first SCR 547892471 id 2176 DTS 547924836
[02:00:06] mpeg2: "" (1) at frame 0 time 51051
No accelerated IMDCT transform found

Encoding: task 1 of 1, 0.00 %[02:00:06] sync: first pts is 51051
[02:00:06] sync: audio 2177 time went backwards 0 ms, dropped 2 frames 
(next 8640, current 8640)
MP4ERROR: MP4Open: failed: Permission denied
ERROR: muxmp4.c: MP4Create failed!
Segmentation fault
2011-03-17 02:00:06.909 JobQueue Error: User Job '/usr/bin/HandBrakeCLI 
-i "/storage/recordings"/"3105_20110317003700.mpg" -o 
/storage/recordings/iPhone/"%TITLE"-"%SUBTITLE".m4v --preset="iPhone"' 
failed.
2011-03-17 02:00:06.917 jobqueue: User Job Errored: User Job 
'/usr/bin/HandBrakeCLI -i 
"/storage/recordings"/"3105_20110317003700.mpg" -o 
/storage/recordings/iPhone/"%TITLE"-"%SUBTITLE".m4v --preset="iPhone"' 
failed.



More information about the mythtv-users mailing list