3.5.1 - DirecTV 80% Passing

Download and discuss official beta builds here
Post Reply
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

3.5.1 - DirecTV 80% Passing

Post by DeFlanko » Thu Mar 20, 2014 2:31 pm

Looks like DirecTV is 80% good to go now. Somehting new to report -- movies play all the way though now without the directv box going to sleep. :lol:

It has one issue with playing large files -- this is a problem for me because all my movies are Blu-ray Rips But everything else was ok.MP3's are good and so are images.

Below are the Movie test files i use
ums_dbg_TRACE_DIRECTV_FAILED_MP4_Avatar.zip
(41.22 KiB) Downloaded 210 times
ums_dbg_TRACE_DIRECTV_Passed_AVI_Dispicable_me_2.zip
(59.97 KiB) Downloaded 191 times
ums_dbg_TRACE_DIRECTV_Passed_MKV_The_Heat.zip
(68.57 KiB) Downloaded 182 times

User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: 3.5.1 - DirecTV 80% Passing

Post by DeFlanko » Fri Mar 21, 2014 1:37 pm

ums_dbg_Failed_Avatar_passed_everything_else.zip
(50.53 KiB) Downloaded 202 times
Same result -- on fresh install i still had to move FFMPEG to the top... should i be doing that? Shouldn't that be happening by default fresh install?

Line 1235 i believe is the start point.

User avatar
SubJunk
Lead Developer
Posts: 2943
Joined: Sun May 27, 2012 4:12 pm

Re: 3.5.1 - DirecTV 80% Passing

Post by SubJunk » Thu May 08, 2014 10:36 am

It seems that the reason for the failed Avatar one is the scaling. The error given on line 2055 is:

Code: Select all

DEBUG 2014-03-20 18:33:47.431 [ffmpeg.exe-12-2] [Parsed_pad_0 @ 0267eb40] Input area 0:0:1916:1078 not within the padded area 0:0:1916:1076 or zero-sized
DEBUG 2014-03-20 18:33:47.431 [ffmpeg.exe-12-2] [graph 0 input from stream 0:0 @ 03ddfce0] Failed to configure input pad on Parsed_pad_0
from the command on line 1900:

Code: Select all

DEBUG 2014-03-20 18:33:47.263 [ffmpeg.exe-12] Starting "E:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -loglevel info -i E:\Media\Movies\!!!TEST\Avatar.2009.mp4 -vf pad=iw:iw/(16/9):0:(oh-ih)/2 -map 0:v -map 0:a:0 -bufsize 1835000 -maxrate 7000000 -g 5 -q:v 1 -qmin 2 -qmax 3 -c:v mpeg2video -f vob -ac 2 -c:a mp2 -ab 192k pipe:
So I'm guessing if you remove the "-vf pad=iw:iw/(16/9):0:(oh-ih)/2" part it will work? It might be a bug we can report to FFmpeg unless they've already fixed it, although it's really the fault of the person who encoded the file for not choosing a mod4 value for resolution

User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: 3.5.1 - DirecTV 80% Passing

Post by DeFlanko » Wed May 14, 2014 3:49 pm

heh, I ripped the Blu-ray myself using DVDFAB9:

Code: Select all

General
Complete name                            : E:\Media\Movies\!!!TEST\Avatar.2009.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 9.55 GiB
Duration                                 : 2h 41mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 8 457 Kbps
Movie name                               : RED_BIRD_2D_WW.Title852.BlurayRip
Album                                    : RED_BIRD_2D_WW
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:29:52
Writing application                      : DVDFab
Cover                                    : Yes

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2h 41mn
Bit rate                                 : 7 379 Kbps
Width                                    : 1 916 pixels
Height                                   : 1 078 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 23.974 fps
Maximum frame rate                       : 23.981 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.149
Stream size                              : 8.33 GiB (87%)
Writing library                          : x264 core
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:29:36
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 41mn
Bit rate mode                            : Variable
Bit rate                                 : 447 Kbps
Maximum bit rate                         : 594 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 517 MiB (5%)
Language                                 : English
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:28:39

Audio #2
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 41mn
Bit rate mode                            : Variable
Bit rate                                 : 165 Kbps
Maximum bit rate                         : 228 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 191 MiB (2%)
Language                                 : English
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:28:39

Audio #3
ID                                       : 4
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 41mn
Bit rate mode                            : Variable
Bit rate                                 : 448 Kbps
Maximum bit rate                         : 625 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 518 MiB (5%)
Language                                 : English
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:28:39

Text
ID                                       : 5
Format                                   : mp4s
Codec ID                                 : E0
Duration                                 : 2h 41mn
Bit rate mode                            : Variable
Bit rate                                 : 8 725 bps
Maximum bit rate                         : 4 249 Mbps
Stream size                              : 10.1 MiB (0%)
Language                                 : English
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:28:39

Menu
ID                                       : 6
Codec ID                                 : text
Duration                                 : 2h 41mn
Encoded date                             : UTC 2013-06-17 00:14:52
Tagged date                              : UTC 2013-06-17 04:29:09
Bit rate mode                            : VBR



User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: 3.5.1 - DirecTV 80% Passing

Post by DeFlanko » Wed May 14, 2014 3:51 pm

SubJunk wrote: from the command on line 1900:

Code: Select all

DEBUG 2014-03-20 18:33:47.263 [ffmpeg.exe-12] Starting "E:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -loglevel info -i E:\Media\Movies\!!!TEST\Avatar.2009.mp4 -vf pad=iw:iw/(16/9):0:(oh-ih)/2 -map 0:v -map 0:a:0 -bufsize 1835000 -maxrate 7000000 -g 5 -q:v 1 -qmin 2 -qmax 3 -c:v mpeg2video -f vob -ac 2 -c:a mp2 -ab 192k pipe:
So I'm guessing if you remove the "-vf pad=iw:iw/(16/9):0:(oh-ih)/2" part it will work? It might be a bug we can report to FFmpeg unless they've already fixed it, although it's really the fault of the person who encoded the file for not choosing a mod4 value for resolution
"-vf pad=iw:iw/(16/9):0:(oh-ih)/2" Is no where in my CONF file, it must be automaticly be adding in from somewhere.

User avatar
valib
Developer
Posts: 657
Joined: Fri Feb 08, 2013 3:11 am

Re: 3.5.1 - DirecTV 80% Passing

Post by valib » Sun May 18, 2014 1:03 am

I tried to reproduce the error but it works for me correctly. I tested the same UMS version as yours, made the video with the same wrong resolution (not mod4) and used settings for DirecTV HR

I don't understand why UMS set for you the -vf parameter

Code: Select all

pad=iw:iw/(16/9):0:(oh-ih)/2
when the correct is

Code: Select all

scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2
because you have for DirecTV HR these parameters

Code: Select all

MaxVideoWidth = 1280
MaxVideoHeight = 720
so rescaling is needed.

Please try to use the latest UMS version and check again for that error. Also the latest ffmpeg version seems to overcomes that problem by simply skiping the videofilter for wrong resolution and say

Code: Select all

[swscaler @ 0383ca40] deprecated pixel format used, make sure you did set range correctly

Post Reply