baurfamily / tivobutler

Automatically exported from code.google.com/p/tivobutler
0 stars 0 forks source link

Can't download/convert an HD program. #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I successfully downloaded a small standard def program, but have not been 
successful with high 
def programs. I've attached a log file of my latest effort, download of a 
2-hour (approx.) high 
definition movie. I had TiVo Butler prefs set to create a folder on my Desktop 
with the program 
name, and to Download, Decode, and Convert. Problems were:

1. No folder was created with the program name.

2. During download, the blue progress bar in the Work Queue window advanced 
fairly rapidly to 
maximum, then started over. This happened several times--don't know how many, 
as I was not 
able to continuously monitor the progress.

3. After an unknown period of time, the program crashed with a mencoder error. 
A .mp4 file was 
left on the Desktop, but it had zero size.

As no file or folder appeared during the download phase, I don't know if the 
download and 
decode phases were completed successfully. Perhaps you can tell from the log.

Suggestion: add a "Start" button to start the process, rather than having the 
download start with 
the "Add to queue" button. 

Original issue reported on code.google.com by baurfam...@gmail.com on 25 Mar 2008 at 3:55

GoogleCodeExporter commented 9 years ago
I can't reproduce the issue with the startup folder, so I won't create a 
separate issue for that one.  I have begun 
looking at ffmpeg as a replacement to mencoder, but I might also just look at 
compiling my own copy instead.

The problems with the start bar are something I know about... I'm picking up 
non-integer values in the output of 
mencoder and I'm not very discriminate on what I'll read into the new 
percentage.

Original comment by baurfam...@gmail.com on 30 Mar 2008 at 6:57

GoogleCodeExporter commented 9 years ago
Inability to convert large (ie: greater than 2.0 GB) is probably due to the way 
mencoder was compiled in the first 
place.  I didn't do the original, but it looks like it was probably not done 
with large file support.  I'll try to rectify 
that w/out breaking other functionality.  (The checked-in copy I just did does 
in fact break converting 
completely.)

Original comment by baurfam...@gmail.com on 7 Apr 2008 at 4:31

GoogleCodeExporter commented 9 years ago
The checked in copy of mencoder is working now (I needed to change some command 
line options that I didn't 
realize at first).

Original comment by baurfam...@gmail.com on 8 Apr 2008 at 9:59

GoogleCodeExporter commented 9 years ago
This hasn't been fixed.  It turns out that in addition to the size problems, HD 
content is different enough in 
format to cause mencoder to fail with the options that work for SD shows.  A 
sample (failed) conversion 
follows:

/Applications/TiVo\ Butler.app/Contents/MacOS/mencoder -af volume=13:1 -of lavf 
-demuxer lavf -
lavfdopts probesize=128 -oac lavc -ovc lavc -lavcopts 
keyint=15:aglobal=1:vglobal=1:coder=1:vcodec=mpeg4:acodec=libfaac:vbitrate=1800:
abitrate=128 -vf 
pp=lb,scale=640:480,harddup -o /Users/***/Downloads/HD\ Traveler/Berlin:\ Part\ 
1.mp4 
/Users/***/Downloads/Berlin:\ Part\ 1.mpg

MEncoder 1.0rc2-4.0.1 (C) 2000-2007 MPlayer Team

AltiVec found

CPU: PowerPC

success: format: 0  data: 0x0 - 0x2187a96a

libavformat file format detected.

[lavf] Audio stream found, -aid 0

[lavf] Video stream found, -vid 1

VIDEO:  [mpg2]  1920x1080  0bpp  29.970 fps  20000.0 kbps (2441.4 kbyte/s)

[V] filefmt:35  fourcc:0x3267706D  size:1920x1080  fps:29.97  ftime:=0.0334

===================================================================
=======

Opening audio decoder: [liba52] AC3 decoding with liba52

Using AltiVec optimized IMDCT transform

a52: CRC check failed! 

Checking for AltiVec resampler : 0x0000000a, 2

Using AltiVec optimized resampler

AUDIO: 48000 Hz, 2 ch, s16be, 384.0 kbit/25.00% (ratio: 48000->192000)

Selected audio codec: [a52] afm: liba52 (AC3-liba52)

===================================================================
=======

** MUXER_LAVF *****************************************************************

REMEMBER: MEncoder's libavformat muxing is presently broken and can generate

INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer

will play these INCORRECT files as if nothing were wrong!

*******************************************************************************

OK, exit

Opening video filter: [expand osd=1]

Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1

Opening video filter: [harddup]

Opening video filter: [scale w=640 h=480]

Opening video filter: [pp=lb]

===================================================================
=======

Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b

Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))

===================================================================
=======

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

a52: CRC check failed! 

Pos:   0.0s      1f ( 0%)  0.00fps Trem:   1min   0mb  A-V:0.000 [0:0]

1 duplicate frame(s)!

VIDEO CODEC ID: 13

AUDIO CODEC ID: 15002, TAG: 0

Writing header...

[mp4 @ 0x591558]dimensions not set

a52: CRC check failed!  )  0.00fps Trem:   1min   0mb  A-V:-0.003 [0:0]

a52: CRC check failed!   
1 duplicate frame(s)!

Pos:   0.1s      3f ( 0%)  0.00fps Trem:   1min   0mb  A-V:-0.007 [0:0]

1 duplicate frame(s)!

a52: CRC check failed!  )  0.00fps Trem:   1min   0mb  A-V:-0.010 [0:0]

a52: CRC check failed!   
1 duplicate frame(s)!

Pos:   0.1s      5f ( 0%)  0.00fps Trem:   1min   0mb  A-V:-0.013 [0:0]

1 duplicate frame(s)!

a52: CRC check failed!  )  0.00fps Trem:   1min   0mb  A-V:-0.017 [0:0]

a52: CRC check failed!   
1 duplicate frame(s)!

Pos:   0.2s      7f ( 0%)  0.00fps Trem:   1min   0mb  A-V:-0.020 [0:0]

1 duplicate frame(s)!

a52: CRC check failed!  )  0.00fps Trem:   1min   0mb  A-V:-0.023 [0:0]

a52: CRC check failed!   
1 duplicate frame(s)!

VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)

[PP] Using external postprocessing filter, max q = 6.

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.

SwScaler: reducing / aligning filtersize 13 -> 16

SwScaler: reducing / aligning filtersize 13 -> 16

SwScaler: reducing / aligning filtersize 10 -> 16

SwScaler: reducing / aligning filtersize 10 -> 16

[swscaler @ 0x57b030]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using 
AltiVec

[swscaler @ 0x57b030]SwScaler: using C scaler for horizontal scaling

[swscaler @ 0x57b030]SwScaler: using n-tap C scaler for vertical scaling (YV12 
like)

[swscaler @ 0x57b030]SwScaler: 1920x1080 -> 640x480

videocodec: libavcodec (640x480 fourcc=34504d46 [4PMF]) 

1 duplicate frame(s)!

a52: CRC check failed!  )  0.00fps Trem:   2min   0mb  A-V:-0.030 [0:0]

a52: CRC check failed!   
1 duplicate frame(s)!

a52: CRC check failed!  )  0.00fps Trem:   2min   0mb  A-V:-0.033 [0:0]

Bus error

Original comment by baurfam...@gmail.com on 10 Apr 2008 at 11:54