Streambaby: YouTube Downloaded .mp4s Stretched

Discussion in 'TiVo Home Media Features & TiVoToGo' started by ebf, Jan 28, 2012.

  1. ebf

    ebf New Member

    542
    0
    Mar 21, 2005
    I use Streambaby on my TiVo HD nearly as much as I watch regular recorded programs. In particular, since the YouTube feature is too slow on TiVo, I use a Grease Monkey script to download my favorite UK soaps from YouTube.

    The 640 x 360 pixel mp4 downloads play at the correct aspect ratio on the computer, but are stretched vertically and squared off with black side bars when played on the TiVo via Streambaby. The same files play fine when transferred to the TiVo with pyTiVo.

    Is there anything I can do to fix this when using Streambaby?
     
  2. ebf

    ebf New Member

    542
    0
    Mar 21, 2005
    No ideas, folks?
     
  3. rfryar

    rfryar My Media, My Way

    241
    5
    Feb 15, 2008
    Cottage...
    Do you save these YouTube videos as MP4, or leave them as FLV? If they are saved as MP4 can you run them through MediaInfo to look at the aspect ratio that is saved in the meta data? I think that meta data may be incorrectly saved.

    If that is right, then the only real fix is to reencode these with FFMPEG and add padding to get the video more 4:3 or 16:9 depending on your TV.

    Rick
     
  4. ebf

    ebf New Member

    542
    0
    Mar 21, 2005
    Thanks for the reply, Rick. Is GSpot Codec Info close enough? Here's the results:

    Code:
    --- File Information ---                                                        
    File Name:                                      Eastenders.20120206.PDTV.h264.UKS.mp4                     
    File Name (with full path):                     ..\Eastenders.20120206.PDTV.h264.UKS.mp4           
    File Size (in bytes):                           213,830,332                     
                                                                                    
    --- Container Information ---                                                   
    Base Type (e.g "AVI"):                          Undetermined MP4 (.MP4) file                 
    Subtype (e.g "OpenDML"):                                          
    Interleave (in ms):                                       
    Preload (in ms):                                       
    Audio alignment("split across interleaves"):             
    Total System Bitrate (kbps):                    0            
    Bytes Missing (if any):                                     
    Number of Audio Streams:                        1       
                                                                                    
    --- Video Information ---                                                       
    Video Codec Type(e.g. "DIV3"):                  avc1              
    Video Codec Name(e.g. "DivX 3, Low-Motion"):    H.264/MPEG-4 AVC              
    Video Codec Status(e.g. "Codec Is Installed"):  n.a. (disabled in GSpot settings)            
    Duration (hh:mm:ss):                            29:29.800                
    Frame Count:                                    44245             
    Frame Width (pixels):                           624                  
    Frame Height (pixels):                          352                  
    Storage Aspect Ratio("SAR")"                    1.773                     
    Pixel Aspect Ratio ("PAR"):                                          
    Display Aspect Ratio ("DAR"):                   1.773                     
    Fields Per Second:                                        
    Frames Per Second:                              25.000          
    Pics Per Second:                                25.000            
    Video Bitrate (kbps):                           838                 
    MPEG-4 ("MPEG-4" or ""):                                           
    B-VOP ("B-VOP" or ""):                                        
    QPel ("QPel" or ""):                                          
    GMC ("GMC" or ""):                                             
    NVOP ("NVOP" or ""):                                          
    H264 ("H264" or ""):	                                            
    Quality Factor (bits/pixel)/frame:              0.153"                     
                                                                                    
    MPEG-2 ("MPEG-2" or ""):                                           
    Interlaced ("I/L" or ""):                                      
    Progressive ("Prog" or ""):                                   
    Top Frame First ("TFF" or ""):                                 
    Bottom Frame First ("BFF" or ""):                              
    3:2 Pulldown ("3:2" or ""):                                    
    Picture-per-field ("PPF" or ""):                               
                                                                                    
    --- Aspect Ratio Related ---                                                    
                                                                                    
    Broadcast standard: "PAL" (else blank)                   
    Broadcast standard: "NTSC" (else blank)                 
    src:"VCD", "SVCD", "CVD", or "DVD (else blank):      
    Instructions to convert to VCD,  first part:         
    Instructions to convert to VCD,  second part:        
    Instructions to convert to SVCD, first part:        
    Instructions to convert to SVCD, second part:       
    Instructions to convert to CVD,  first part:         
    Instructions to convert to CVD,  second part:        
    Instructions to convert to DVD,  first part:         
    Instructions to convert to DVD,  second part:        
    Instructions to convert to AVI,  first part:         
    Instructions to convert to AVI,  second part:        
                                                                                    
    --- Audio Information ---                                                       
    MPEG Stream ID (e.g. "0xbd"):                             
    MPEG VOB file Substream(e.g. "0x80"):                  
    Audio Codec (e.g. "AC3"):                        mp4a: MPEG-4 AAC LC                   
    Audio Codec Status (e.g. "Codec Is Installed"): n.a. (disabled in GSpot settings)            
    Audio Sample Rate (Hz):                         48000             
    Audio Bitrate(kbps):                            128                 
    Audio Bitrate Type ("CBR" or "VBR"):                        
    Audio Channel Count (e.g. "2" for stereo):      2           
    
     
  5. ebf

    ebf New Member

    542
    0
    Mar 21, 2005
    Info from MediaInfo says aspect ratio is 16:9:
    Code:
    General
    Complete name                            : ..\Eastenders.20120206.PDTV.h264.UKS.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media / Version 2
    Codec ID                                 : mp42
    File size                                : 204 MiB
    Duration                                 : 29mn 29s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 966 Kbps
    Encoded date                             : UTC 2012-02-06 20:51:13
    Tagged date                              : UTC 2012-02-06 20:58:23
    Writing application                      : HandBrake 0.9.5 2011010300
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L3.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 29mn 29s
    Bit rate mode                            : Variable
    Bit rate                                 : 834 Kbps
    Width                                    : 624 pixels
    Height                                   : 352 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.152
    Stream size                              : 176 MiB (86%)
    Writing library                          : x264 core 112
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=9 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Encoded date                             : UTC 2012-02-06 20:51:13
    Tagged date                              : UTC 2012-02-06 20:58:23
    Color primaries                          : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
    Transfer characteristics                 : BT.709-5, BT.1361
    Matrix coefficients                      : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
    
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 29mn 29s
    Bit rate mode                            : Variable
    Bit rate                                 : 128 Kbps
    Maximum bit rate                         : 153 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Compression mode                         : Lossy
    Stream size                              : 27.0 MiB (13%)
    Encoded date                             : UTC 2012-02-06 20:51:13
    Tagged date                              : UTC 2012-02-06 20:58:22
    
    
     
  6. ebf

    ebf New Member

    542
    0
    Mar 21, 2005
    Oh shoot, I'm in trouble if I can't find a fix for this...
     
  7. ebf

    ebf New Member

    542
    0
    Mar 21, 2005
    Thanks to moyekj for putting me on the path to finding the solution. It seems to be working.

     

Share This Page