[vlc-devel] Re: [patch] Fixed source aspect ratio calculation

Derk-Jan Hartman hartman at videolan.org
Mon Oct 17 18:15:37 CEST 2005


On 17 okt 2005, at 17:08, Marian Durkovic wrote:
>> isn't it better to resort to the x and y settings defined in the
>> sequence_display_extension
>> (I don't remember the names atm), rather than hardcoding those  
>> values?
>>
>
> That's exactly what my patch is doing at first place, but some MPEG2
> encoders are broken and fill those fields with 1088 - here is the
> sample from HD-1:
>
> mpeg2dec-0.4.0 - by Michel Lespinasse <walken at zoy.org> and Aaron  
> Holtzman
>       9c SEQUENCE MPEG2 MP at HL 1920x1088 chroma 960x544 fps 25  
> maxBps 2061250 vbv
>  999424 picture 1920x1088 display 1920x1088 pixel 136x135

I'm looking at HD1 right now (live), and it's perfectly fine here.

[00000305] ts demuxer debug: PSINewTableCallBack: table 0x42(66)  
ext=0x440(1088)
[00000305] ts demuxer debug: SDTCallBack called
[00000305] ts demuxer debug: new SDT ts_id=1088 version=5  
current_next=1 network_id=1
[00000305] ts demuxer debug:   * service id=21101 eit schedule=0  
present=0 running=4 free_ca=0
[00000305] ts demuxer debug:     - type=17 provider=SES ASTRA  
name=ASTRA HD
[00000298] main input debug: EsOutProgramMeta: number=21101
[00000298] main input debug:   - Name = ASTRA HD
[00000298] main input debug:   - Provider = SES ASTRA
[00000298] main input debug:   - Status = Running
[00000305] ts demuxer debug:   * service id=21100 eit schedule=0  
present=0 running=4 free_ca=0
[00000305] ts demuxer debug:     - type=1 provider=EURO1080  
name=Euro1080 HD-1
[00000298] main input debug: EsOutProgramMeta: number=21100
[00000298] main input debug:   - Name = Euro1080 HD-1
[00000298] main input debug:   - Provider = EURO1080
[00000298] main input debug:   - Type = Digital television service
[00000298] main input debug:   - Status = Running
[00000302] libmpeg2 decoder debug: 1440x1088, aspect 768000, 25.000 fps
[00000327] opengl video output debug: Texture size: 1440x1080

[00000027] main module debug: using opengl provider module "macosx"
[00000171] main module debug: using video output module "opengl"
[00000327] main video output debug: waiting for thread completion
[00000327] main video output debug: got 1 direct buffer(s)
[00000327] main video output debug: picture in 1440x1088  
(0,0,1440x1080), chroma I420, ar 16:9, sar 4:3
[00000327] main video output debug: picture user 1440x1088  
(0,0,1440x1080), chroma I420, ar 16:9, sar 4:3
[00000327] main video output debug: picture out 1440x1080, chroma  
YUY2, ar 16:9, sar 4:3


DJ

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list