EyeTV converted videos freezing - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 6 Old 08-26-2012, 06:34 AM - Thread Starter
Senior Member
 
FredT's Avatar
 
Join Date: Aug 2003
Location: Sonoma, CA
Posts: 271
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 10
I passed on my 2009 Mac Mini to my daughter recently. She is using it as a DVR, recording TV shows, converting them to iTunes, and then watching on a TV set using Apple TV. There is a Turbo.264 HD stick on the Mini to make conversions go reasonably fast. The problem is that a fairly large number of conversions have a problem whereby at a certain point the video freezes. The sound continues, but the video stops completely and never starts again. I've had her try different export settings, iPad, Apple TV, etc. but that hasn't helped. I can have her try HandBrake, but that's not a very good solution because it's so slow (doesn't use the Turbo.264 stick) and not automatic. I'm puzzled, because I used that machine for two years without that problem. I was using Snow Leopard and it now has Mountain Lion, maybe that has something to do with it. Any suggestions?
FredT is offline  
Sponsored Links
Advertisement
 
post #2 of 6 Old 08-26-2012, 10:14 AM
AVS Club Gold
 
chefklc's Avatar
 
Join Date: Dec 2004
Location: Arlington, VA
Posts: 2,979
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 4 Post(s)
Liked: 16
If the original recordings play back fine, and the Handbrake transcodes of those recordings play back fine, then you have your answer. Confirm that first, then you can move on to potentially troubleshooting the turbo stick in ML.
chefklc is offline  
post #3 of 6 Old 08-26-2012, 11:15 AM - Thread Starter
Senior Member
 
FredT's Avatar
 
Join Date: Aug 2003
Location: Sonoma, CA
Posts: 271
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 10
Quote:
Originally Posted by chefklc View Post

If the original recordings play back fine, and the Handbrake transcodes of those recordings play back fine, then you have your answer. Confirm that first, then you can move on to potentially troubleshooting the turbo stick in ML.
Thanks. The original files do play OK. I've asked her to do the HandBrake test, which hopefully be able to do OK. She's never ventured into the world of video before.
FredT is offline  
post #4 of 6 Old 08-27-2012, 04:45 AM
Newbie
 
pbcymru's Avatar
 
Join Date: Aug 2012
Posts: 7
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
This happens on my system running Snow Leopard. It's a long standing problem which was documented in the old EyeTv forums. I never got to the bottom of it but I suspect it's a problem with the actual tv signal which in certain areas has irregularities possibly caused by interference which the EyeTv software can't handle on export. If you try exporting the same files using the Turbo264HD software then it'll work every time without a problem. I used to export everything automatically to an AppeTv format by using a triggered script (RecordingDone) which handed the recording on to the Turbo software to be exported in the background.

I don't do this anymore as I use a different script to just export all recordings as mpeg exports which is much faster as its just a remux and then use XBMC on an AppleTV and AirVideo on an iPad to view. Obviously this requires a jailbreak on the AppleTv.
pbcymru is offline  
post #5 of 6 Old 08-27-2012, 06:29 AM - Thread Starter
Senior Member
 
FredT's Avatar
 
Join Date: Aug 2003
Location: Sonoma, CA
Posts: 271
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 10
Quote:
Originally Posted by pbcymru View Post

I don't do this anymore as I use a different script to just export all recordings as mpeg exports which is much faster as its just a remux and then use XBMC on an AppleTV and AirVideo on an iPad to view. Obviously this requires a jailbreak on the AppleTv.
That's interesting that it works running the Turbo.264 program. That would be a good solution if it could be automated. Could you possibly share your script?
FredT is offline  
post #6 of 6 Old 08-28-2012, 01:08 AM
Newbie
 
pbcymru's Avatar
 
Join Date: Aug 2012
Posts: 7
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Here's the script I used to use - it's a slightly modified version of one by Ralf Niedling. Paste the code into Applescript Editor, compile and save as RecordingDone. You'll need to change the destination path first and create a custom profile in the Turbo.264 software (mine is a custom profile called iPad2):

(*Export Script for the export of EyeTV recordings with Turbo.264 HD by selecting a custom profile. Please copy this script to
"/Library/Application Support/EyeTV/Scripts" and also to "/Library/Application Support/EyeTV/Scripts/TriggeredScripts" . Then it
will start Turbo.264 HD after recording has finished and convert the recording with custom profile (iPad2 in this case)
and save the output file in folder DEST_PATH
Most work done by Ralf Niedling (http://www.niedling.info).
property SOURCE_TYPE : ".mpg"
property DEST_PATH : "/Volumes/MediaFW/iTunes/Automatically Add to iTunes"

on RecordingDone(recordingID)
tell application "EyeTV.app"
set new_recording_id to (recordingID as integer)
set new_recording to «class cRec» id new_recording_id
my export_recording(new_recording)
end tell
end RecordingDone

on run
tell application "EyeTV.app"
set selected_recordings to selection of «class Prgw»
repeat with selected_recording in selected_recordings
my export_recording(selected_recording)
end repeat
end tell
end run

on export_recording(the_recording)
tell application "EyeTV.app"
set recording_location to URL of the_recording as text
set AppleScript's text item delimiters to "."
set recording_path to text items 1 through -2 of recording_location as string
set AppleScript's text item delimiters to ""
set recording_path to POSIX path of recording_path
set input_file to recording_path & SOURCE_TYPE as string
tell application "Turbo.264 HD.app"
launch
«event TuBoAddf» input_file given «class Etgt»:DEST_PATH, «class Etyp»:«constant EtypCust», «class CusN»:"iPad 2"
«event TuBoTenc»
end tell
end tell
end export_recording

on get_recording_name(recording_location)
set oldDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to "/"
set path_components to every text item of POSIX path of (recording_location as string)
set recording_folder to item -2 of path_components as string
set AppleScript's text item delimiters to ".eyetv"
set recording_name to first item of every text item of recording_folder
set AppleScript's text item delimiters to oldDelimiters
return recording_name
end get_recording_name

on escape_path(the_path)
set oldDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to "/"
set path_components to every text item of the_path
set AppleScript's text item delimiters to oldDelimiters
repeat with counter from 1 to count path_components
set path_component to item counter of path_components
set item counter of path_components to my escape_string(path_component)
end repeat
set AppleScript's text item delimiters to "/"
set the_path to path_components as string
set AppleScript's text item delimiters to oldDelimiters
return the_path
end escape_path

on escape_string(the_string)
set chars to every character of the_string
repeat with i from 1 to length of chars
if "!$&\"'*()/{[|;<>?` \\" contains (item i of chars as text) then
set item i of chars to "\\" & (item i of chars as text)
end if
end repeat
return every item of chars as string
end escape_string
pbcymru is offline  
Reply HTPC - Mac Chat

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off