VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Has anyone of you encoded video with different video and luminance resolution?
    I have such task to do and first time heard about such thing.

    Could you please help me
    thank you
    Quote Quote  
  2. Member Spdngblt56's Avatar
    Join Date
    May 2010
    Location
    Here & There
    Search Comp PM
    Can you perhaps be more specific?

    What exactly is the task you need to perform?

    Encoding a video which will ultimately have a digital resolution different from that of the luminance resolution is normal. You simply need to calculate what digital resolution to set the encoder to, based off of the luminance resolution. (Or vice versa)

    This link may help a little:

    http://forums.afterdawn.com/thread_view.cfm/563063

    For example: A luminance resolution of 420, equates to 566x480 in today's digital terms.
    Quote Quote  
  3. To be more specific I have to create 2 videos one with luminance resolution 480x576, second luminance resolution 720x576.
    Both movies must have SDTV video resolution (720x576) in h.264/mp4.

    Could you please tell me what program I can use to generate such content
    Quote Quote  
  4. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    Originally Posted by kylix999 View Post
    To be more specific I have to create 2 videos one with luminance resolution 480x576, second luminance resolution 720x576.
    Both movies must have SDTV video resolution (720x576) in h.264/mp4.

    Could you please tell me what program I can use to generate such content
    What is your source video? Analog NYSC/PAL? Other?

    720x576 as used for DV and DVD uses non-square pixels. 4x3 and 16x9 aspect ratios are supported.

    480x576 is non-standard.

    Handbrake is one of many programs that allow customized luma resolutions + h.264 encode with mp4 container.
    https://trac.handbrake.fr/wiki/HandBrakeGuide
    Recommends: Kiva.org - Loans that change lives.
    http://www.kiva.org/about
    Quote Quote  
  5. I was thinking to use sintel mp4 as a source video (I used it earlier in other test enconding).
    I have checked handbrake but the only option I see is --denoise filter for luma. No information for setting resolution for luma.
    Quote Quote  
  6. @edDV: I would be interested to know too how you set the luma resolution in Handbrake

    With Avisynth, I would so something like this:
    Code:
    source = FFVideoSource("Path to input", threads=1) # loadsource
    luma = source.GreyScale() # chroma only
    low = luma.PointResize(480, 576).PointResize(720, 576) # resize to lower luma and resize again to get the same resolution in low&luma
    # StackHorizontal(luma, low) #to compare
    # return luma #to get luma only with full luma resolution
    # return low # to get luma with 480x576 luma resolution
    to see the impact of the luma change I would uncomment the StackHorizontal line (remove the '#' at the start)
    Quote Quote  
  7. Thank you Selur
    I have made video as you said and generated some video in greyscale. From what I see here http://avisynth.org/mediawiki/GreyScale
    I got luma in rec601 format.

    Now can I use such luma to generate new video in color (YUV format) ?
    How Can I apply modified luma to output video?
    Quote Quote  
  8. should be possible with http://avisynth.org/mediawiki/MaskTools (or http://avisynth.org/mediawiki/MaskTools2) iirc. never tried to do such a thing.
    FitPlane(..) might be a good start,..
    Quote Quote  
  9. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    Originally Posted by Selur View Post
    @edDV: I would be interested to know too how you set the luma resolution in Handbrake
    In the picture menu.
    https://trac.handbrake.fr/wiki/PictureSettings
    Recommends: Kiva.org - Loans that change lives.
    http://www.kiva.org/about
    Quote Quote  
  10. Originally Posted by edDV View Post
    480x576 is non-standard.
    480 (and others) are perfectly standard or they are a part of recommendation - DVB recommends 352, 480, 528, 544, 704 and 720 horizontal resolutions for SDTV in Europe.

    Assuming 13.5MHz sampling thus Nyquist criteria Y bandwidth is for:

    720= 13.5MHz/2
    704=(704/720)*(13.5/2)=6.6MHz
    544=(544/720)*(13.5/2)=5.1MHz
    528=(528/720)*(13.5/2)=4.95MHz
    480=(480/720)*(13.5/2)=4.5MHz
    352=(352/720)*(13.5/2)=3.3MHz

    Simplest way is down resize picture with high quality resizer from 720 to 480 (or required resolution) then up sample such video to 720.
    If purpose of this is signal measurements then SinC filter is required (or rather mathematically optimal).
    I don't know what is purpose of this question - this is comparison of the resizing algorithms and particular implementations or something else?
    Quote Quote  
  11. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    Originally Posted by pandy View Post
    Originally Posted by edDV View Post
    480x576 is non-standard.
    480 (and others) are perfectly standard or they are a part of recommendation - DVB recommends 352, 480, 528, 544, 704 and 720 horizontal resolutions for SDTV in Europe.
    ...
    I was assuming DVD standard which specifies 352, 704 or 720. There was nothing in the question that suggested DVB broadcast. 480 is rather low for SD broadcast. 544 or 704 are more typical.

    Originally Posted by pandy View Post
    I don't know what is purpose of this question - this is comparison of the resizing algorithms and particular implementations or something else?
    I assume this question was directed to kylix999.
    Recommends: Kiva.org - Loans that change lives.
    http://www.kiva.org/about
    Quote Quote  
  12. Originally Posted by edDV View Post
    Originally Posted by pandy View Post
    Originally Posted by edDV View Post
    480x576 is non-standard.
    480 (and others) are perfectly standard or they are a part of recommendation - DVB recommends 352, 480, 528, 544, 704 and 720 horizontal resolutions for SDTV in Europe.
    ...
    I was assuming DVD standard which specifies 352, 704 or 720. There was nothing in the question that suggested DVB broadcast. 480 is rather low for SD broadcast. 544 or 704 are more typical.
    This was my point - not standard in DVD world but standard in SDTV world (ie ATSC and DVB - i assume that 480 is also one of the recommended resolutions by ATSC)

    480 is comparable to typical BETACAM studio VCR and S-VHS luminance bandwidth

    Originally Posted by edDV View Post
    Originally Posted by pandy View Post
    I don't know what is purpose of this question - this is comparison of the resizing algorithms and particular implementations or something else?
    I assume this question was directed to kylix999.
    Yep, sorry if this was unclear
    Quote Quote  
  13. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    Originally Posted by pandy View Post
    Originally Posted by edDV View Post
    Originally Posted by pandy View Post
    Originally Posted by edDV View Post
    480x576 is non-standard.
    480 (and others) are perfectly standard or they are a part of recommendation - DVB recommends 352, 480, 528, 544, 704 and 720 horizontal resolutions for SDTV in Europe.
    ...
    I was assuming DVD standard which specifies 352, 704 or 720. There was nothing in the question that suggested DVB broadcast. 480 is rather low for SD broadcast. 544 or 704 are more typical.
    This was my point - not standard in DVD world but standard in SDTV world (ie ATSC and DVB - i assume that 480 is also one of the recommended resolutions by ATSC)
    ATSC supports only the following:

    SD: 704x480 and 640x480 (square pixel)
    HD: 1280x720 and 1920x1080

    256QAM (used by cable) has wider resolution support. For SD 528x480 is typical.
    Recommends: Kiva.org - Loans that change lives.
    http://www.kiva.org/about
    Quote Quote  
  14. Originally Posted by edDV View Post
    ATSC supports only the following:

    SD: 704x480 and 640x480 (square pixel)
    HD: 1280x720 and 1920x1080

    256QAM (used by cable) has wider resolution support. For SD 528x480 is typical.
    Agree but for 480 lines, for 576 lines A/63 "STANDARD FOR CODING 25/50 HZ VIDEO" page 5, Table 3 Compression Format Constraints .
    Quote Quote  
  15. Originally Posted by edDV View Post
    Originally Posted by Selur View Post
    @edDV: I would be interested to know too how you set the luma resolution in Handbrake
    In the picture menu.
    https://trac.handbrake.fr/wiki/PictureSettings
    are you sure? because I don't see options to set luma
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!