VisualHub - truncating avi conversions

Discussion in 'Apple TV and Home Theater' started by dsiewmy, Oct 22, 2008.

  1. dsiewmy macrumors newbie

    Oct 21, 2008
    Hi guys,
    Just bought my aTV and happy as hell with it.
    Haven't hacked it yet, but I'm converting my avi library to mp4 in order to view them on my aTV.

    After reading a few threads here, i used VisualHub to batch convert my avis with quite some success.
    But i realised that there are some files which is truncated (44 min videos become only 5 minutes mp4).
    After a second try converting 1 file by 1 file, the same thing happen.

    Anybody know what's wrong? Or what other converters are there?

  2. soul12 macrumors member

    Feb 19, 2007
    getting this as well. 20-minute sitcom becomes 10 mins. 40-minute show becomes 5 mins. it plays fine as AVI but during conversion using visualhub or handbrake, it truncates the files.

    the files were originally split into several RAR files.

    although, i was able to convert a full movie without issues. i'm betting both files are corrupt (even though it plays nice as AVIs)
  3. dsiewmy thread starter macrumors newbie

    Oct 21, 2008
    so, it's not only me.

    but my files were not from *.rar and i've done hash checking over and over.

    anybody any ideas?

    or at least what other software can I use to convert to *.mp4?
  4. Nimiety macrumors regular

    Sep 6, 2006
    My brother and I both had this exact problem.

    It turns out that the files we were having problems with were all avi torrents with LOL in the title. Whoever that is was using a different conversion format for divx.

    Use the shareware program ffmpegX - it's free to try (donation/payment optional and recommended, of course). At the defaults, it converts the avi to a more standard format for divx which then passes through visualhub properly.

    So, for avi's from torrents not including LOL, the workflow goes ffmpegX -> visualhub -> appleTV enjoyment.

    Good luck!
  5. Weaselboy Moderator


    Staff Member

    Jan 23, 2005
    I was having the same problem and it was a TV show in .AVI that included LOL in the file name. Never could figure out the problem in Visual Hub.

    I ended up transcoding to Apple TV preset in Quicktime Pro and that worked fine.
  6. soul12 macrumors member

    Feb 19, 2007
    all my files that had this problem had LOL in it... but i'm not sure if i'm ready to do a third conversion with the ffmpegx solution.

    right now, i just watch it on my macbook instead.
  7. Nimiety macrumors regular

    Sep 6, 2006
    The good thing is that there's no apparent loss of quality with the extra conversion step. Apparently, frame-by-frame comparisons look virtually identical.
  8. kolax macrumors G3

    Mar 20, 2007
    I've found VisualHub does this too sometimes. Try using a different decoder (found in the advanced tab).

    It's a pity VisualHub is no longer being produced, I'd like to see an updated version to include more compatibility. I'd use HandBrake but I get better results with VisualHub - plus I can choose custom resolutions (such as 800x450 for the likes of South Park to make it widescreen) which I'm not able to do in HandBrake.
  9. Volante macrumors regular

    Feb 8, 2008
    You can always open them up and in Quicktime and change aspect ratio there.
  10. colinmack macrumors regular

    Feb 25, 2006
    Brother here ;-) an FYI, running it through ffmpegx also appears to fix the occasional problems where audio drift gets progressively worse throughout the converted video (coincidentally, only happens with LOL files).

    Doing some digging it appears it may be related to a non-standard frame rate in the LOL AVIs, but I haven't done enough fiddling to isolate a VH-specific workaround (the extra ffpmegx step is quick enough that I haven't bothered to solve the mystery yet).

  11. matthew84 macrumors newbie

    Dec 14, 2008
    what settings did you use to run it through ffmpegx to fix the audio drift issues?
  12. refulgentis macrumors regular

    May 14, 2006
    making it wide screen is just stretching the original picture, quicktime will do this for you

    also: why there's no way you're getting better results from VisualHub -
  13. kolax macrumors G3

    Mar 20, 2007
    VisualHub does do a better job.

    Audio sync issues with HandBrake (varies - some encodes are ok, others, particularly .mkv's aren't).

    And reason I want to encode the stretch is so when I watch it on my Apple TV, it is 16:9 not 4:3.
  14. refulgentis macrumors regular

    May 14, 2006

    If you seriously have audio sync issues, please post a bug report to the HB forums. I've converted 100s of MKVs and there's been no issue, and there's no reason for there to be, so its odd that there are for you.

    it doesn't matter...why would you intentionally stretch content? you're just avoiding black bars on the side, which is kind of silly
  15. kolax macrumors G3

    Mar 20, 2007
    Fill the screen.

    I do it with cartoons - South Park, American Dad etc. Looks fine stretched.

Share This Page