VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Hello everybody,
    i just startet at the university and now i'm working on a project using ffmpeg to convert different picture formats.
    now i have two questions:
    1.
    The workflow is converting an image series of 580 pictures to YUV
    after that using the TApp Encoder
    and later on reconverting the YUV to the native picture format......


    while using DPX i had no problems and everything worked fine....
    Now i tried to use TIFF and i had a lot of trouble:
    using 16bit TIFF - i get a lot of block artefacts after converting
    usn 8 bit TIFF ffmpeg converts the pictures into YUV, but doesn't convert them back to TIFF - I get an error message

    the workflow was the same like using DPX files......


    2.
    what does p10le mean?! using 420p10le as picture_format

    ( sorry for the bad language )
    Quote Quote  
  2. 1) Post your command lines and error messages
    2) 420p10le means 10bit depth, 420 chroma subsampling, little endian. The "p" means planar
    Quote Quote  
  3. hello
    thanks for answering #2
    that helped alot but brought another question.....
    if 10 stands for the bit depth... do i have to use 8 if i have 8 bit pictures or is the 10 bit only for the codec?


    1)
    call ffmpeg -s 1920x1080 -pix_fmt yuv420p10le -i C:\Users\HDR\Desktop\YUV-Dateien\vorFH\innengut_5mbps_rec.yuv -pix_fmt rgb24 -y E:\NeuDPXFiles\innengut5mbps\innengut_5mbps_rec_%0 3d.tif
    Quote Quote  
  4. I think TIF only supports 8 and 16 bit depths - at least those are the most commonly used

    If your source is 8bit YUV (and originally 8bit RGB), you should probably use 8bit because your destination is 8bit RGB - unless you are testing 10bit compression formats specifically

    You're going to incur some losses converting between YUV and RGB



    I don't know about the block artifacts, can you post some samples, or provide more details ? Or perhaps they are intrinsic to the settings you used for TApp encoder ? Do they occur on every frame ? What sorts of bitrates were you using ?
    Quote Quote  
  5. Click image for larger version

Name:	Gammakorrigiert_rec_041.jpg
Views:	263
Size:	88.7 KB
ID:	24164
    Click image for larger version

Name:	Gammakorrigiert_rec_089.jpg
Views:	211
Size:	84.6 KB
ID:	24165

    here is the file from TAppEncoder:
    HM software: Encoder Version [10.0rc1][Windows][VS 1700][64 bit]

    Input File : C:\Users\HDR\Desktop\YUV-Dateien\vorFH\Aussengut8bit.yuv
    Bitstream File : Aussengut8bit.bin
    Reconstruction File : Aussengut8bit_rec.yuv
    Real Format : 1920x1080 25Hz
    Internal Format : 1920x1080 25Hz
    Frame index : 0 - 578 (579 frames)
    CU size / depth : 64 / 4
    RQT trans. size (min / max) : 4 / 32
    Max RQT depth inter : 3
    Max RQT depth intra : 3
    Min PCM size : 8
    Motion search range : 64
    Intra period : 32
    Decoding refresh type : 1
    QP : 28.00
    Max dQP signaling depth : 0
    Cb QP Offset : 0
    Cr QP Offset : 0
    QP adaptation : 0 (range=0)
    GOP size : 8
    Internal bit depth : (Y:8, C:8)
    PCM sample bit depth : (Y:8, C:8)
    RateControl : 1
    TargetBitrate : 10000000
    KeepHierarchicalBit : 1
    LCULevelRC : 1
    UseLCUSeparateModel : 1
    InitialQP : 0
    ForceIntraQP : 0
    Max Num Merge Candidates : 5

    TOOL CFG: IBD:0 HAD:1 SRD:1 RDQ:1 RDQTS:1 RDpenalty:0 SQP:0 ASR:0 LComb:1 FEN:1 ECU:0 FDM:1 CFM:0 ESD:0 RQT:1 TransformSkip:1 TransformSkipFast:1 Slice: M=0 SliceSegment: M=0 CIP:0 SAO:1 PCM:0 SAOLcuBasedOptimization:1 LosslessCuEnabled:0 WPP:0 WPB:0 PME:2 WaveFrontSynchro:0 WaveFrontSubstreams:1 ScalingList:0 TMVPMode:1 AQpS:0 SignBitHidingFlag:1 RecalQP:0

    POC 0 TId: 0 ( I-SLICE, nQP 19 QP 19 ) 9070624 bits [Y 44.8270 dB U 43.8200 dB V 43.5985 dB] [ET 46 ] [L0 ] [L1 ] [MD5:28feb09838b588719f2bb6fdc8eeefbe,9cced34862fa5 5bc2742cb3bd13cadd9,f5d9dbadaf6967be76b6bff7f6c267 7b]
    POC 8 TId: 0 ( B-SLICE, nQP 22 QP 24 ) 297584 bits [Y 41.7606 dB U 41.0655 dB V 41.0509 dB] [ET 100 ] [L0 0 ] [L1 0 ] [MD5:637360314974137e2037ca619a2e837f,a4d979d8d8914 0312fbd173154749c5a,92942970b9fe01737f3e967995f7d2 73]
    POC 4 TId: 0 ( B-SLICE, nQP 29 QP 31 ) 139136 bits [Y 42.0240 dB U 41.0926 dB V 41.1212 dB] [ET 88 ] [L0 0 8 ] [L1 8 0 ] [MD5:d24de88da213e636aa4d720e7dc95912,c89c11c8e210e 96b0fa068951206319a,4bf0a4028ed9f18be2da2ce9e4267a c3]
    POC 2 TId: 0 ( B-SLICE, nQP 31 QP 33 ) 100432 bits [Y 42.4471 dB U 41.4258 dB V 41.4270 dB] [ET 89 ] [L0 0 4 ] [L1 4 8 ] [MD5:ed081eed44eddb98da3dec68006ed280,2430d38c0e56a 7fee595d02f3a8df734,d29c6963ed344c745b9c2b583889c8 27]
    POC
    [....]
    SUMMARY --------------------------------------------------------
    Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR
    579 a 10191.3174 22.8071 23.7921 23.5959


    I Slices--------------------------------------------------------
    Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR
    19 i 86945.2526 27.5733 29.7846 29.8873


    P Slices--------------------------------------------------------
    Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR
    0 p -1.#IND -1.#IND -1.#IND -1.#IND


    B Slices--------------------------------------------------------
    Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR
    560 b 7587.1661 22.6454 23.5888 23.3824

    RVM: 0.000
    Bytes written to file: 29539194 (10203.521 kbps)

    Total Time: 70527.978 sec.
    Quote Quote  
  6. these are my codes:

    call ffmpeg -start_number 00090000 -i E:\TIFFDateien\Einzelbilder\Aussengut8bit\vorFH.%8 d.tif -pix_fmt yuv420p10le -y E:\TIFFDateien\Einzelbilder\Aussengut8bit.yuv




    echo %date% %time% >>C:\Users\HDR\Desktop\YUV-Dateien\vorFH\Aussengut8bit.txt
    call C:\Users\HDR\Desktop\YUV-Dateien\vorFH\TAppEncoder.exe -c C:\Users\HDR\Desktop\YUV-Dateien\vorFH\Alpha8bit.cfg -i C:\Users\HDR\Desktop\YUV-Dateien\vorFH\Aussengut8bit.yuv >> C:\Users\HDR\Desktop\YUV-Dateien\vorFH\Aussengut8bit.txt
    echo %date% %time% >>C:\Users\HDR\Desktop\YUV-Dateien\vorFH\Aussengut8bit.txt


    call ffmpeg -s 1920x1080 -pix_fmt yuv420p10le -i E:\TIFFDateien\Einzelbilder\Gammakorrigiert_rec.yu v -pix_fmt rgb24 -y E:\TIFFDateien\Einzelbilder\Gammakorrigiert_HEVC\G ammakorrigiert_rec_%03d.tif
    Quote Quote  
  7. I did the workflow again but instead auf using -pix_fmt yuv420p10le i wrote -pix_fmt yuv420p and everything went fine......

    as you already explained that 420p10le means 10bit depth, 420 chroma subsampling, little endian, which bit depth is it using without the 10le ?!
    Quote Quote  
  8. Code:
    which bit depth is it using without the 10le ?!
    8bit
    Quote Quote  
  9. ok thank you !

    is there a way or combination with which i can encode/decode 12 bit DPX or TIFF ?!
    Quote Quote  
  10. Originally Posted by StudentMZ View Post
    ok thank you !

    is there a way or combination with which i can encode/decode 12 bit DPX or TIFF ?!
    Not as 12bit


    HM software: Encoder Version [10.0rc1][Windows][VS 1700][64 bit]
    You should update your HM software, that build is outdated. I think it's up to version 13 now . Perhaps the issues are with your encoded and/or decoding
    Quote Quote  



Similar Threads

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