• “创新从来都是九死一生”(人民论坛) 2019-02-14
  • 端午假期广州铁路运客640.5万人次 创历史新高 2019-02-14
  • 19次生态输水让塔河下游生机勃勃 2018-11-22
  • 男篮再胜伊朗迎热身赛两连胜 任骏飞19+11陶汉林18分 2018-11-22
  • 小卒子,你南街村的代言人啊?扮豬不咋像呢!你滴,大大滴,明白? 2018-11-22
  • 女性之声——全国妇联 2018-11-21
  • 新华网评:凝聚打赢脱贫攻坚战的强大合力 2018-11-21
  • 栗战书:执法检查要直面问题不搞评功摆好 让法律制度成为不可触碰的高压线 2018-11-21
  • 这些水果越新鲜越不能吃 放一放更好吃 2018-11-21
  • 生产资料公有制不会也不可能涉及生产资料的分配,这完全是你杜撰的,是强词夺理的。从这点看,你的所谓逻辑是幼稚可笑的。哈哈哈哈! 2018-11-20
  • 践行“两山论”是一场发展的革命 2018-11-20
  • 女教师舍身保护学生被撞身亡感动各界 2018-11-20
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 12th June 2018, 18:54   #1  |  Link
    Broadcast Encoder
     
    FranceBB's Avatar
     
    Join Date: Nov 2013
    Location: Germany
    Posts: 486
    MpegMapperSegmented::CalcDiskToDisplayOffset (XDCAM AVID)

    Hi,
    with the latest development version of ffmpeg (ffmpeg-20180611-8c20ea8), it seems that some files are not correctly muxed in .MXF.
    I’ve used the following command line:

    Code:
     C:\Encoding\ffmpeg.exe -i "%%~nxF" -pix_fmt yuv422p -vcodec mpeg2video -s 1920:1080 -aspect 16:9 -vf setfield=tff -flags +ildct+ilme -r 25 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 36408333 -acodec pcm_s24le -ar 48000 -g 12 -bf 2 -profile:v 0 -level:v 2 -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 -f mxf "C:\Encoding\%%~nF encoded.mxf"
    The original video is an H.264 profile High, level 5.1, ref1, 3840x2160, progressive 8bit muxed in an .mp4. Nothing weird.
    The encoding starts but at the end I get:



    The encoded video plays fine on VLC, MPC-HP and PotPlayer, however if I import it into AVID Media Composer or if I link it it displays an error. If I try to transcode the original file in AVID, it works flawlessly, which is weird.
    I've also tried to pipe Avisynth to ffmpeg and encode, but it didin't solve the problem:

    Code:
    video=FFVideoSource("test.mp4")
    audiook=FFAudioSource("test.mp4")
    audio=MergeChannels(audiook, audiook, audiook, audiook)
    AudioDub(video, audio)
    
    ResampleAudio(48000)
    Normalize(0.20)
    ConvertAudioTo24bit()
    Limiter(min_luma=16, max_luma=235, min_chroma=16, max_chroma=240)
    
    ConvertFPS(50)
    Spline64ResizeMT(1920, 1080)
    assumeTFF()
    separatefields()
    selectevery(4,0,3)
    weave()
    Converttoyv16(interlaced=true)
    Even after using Avisynth and encoding with ffmpeg, AVID prompted me to this error:



    This is not the first time I have to deal with this. It's odd.
    I managed to encode it already, but I decided to report this here 'cause it's odd.

    Original File + Encoded File: https://we.tl/A9Cgvr79zn

    Is it ffmpeg? Is it AVID? Who's guilty?

    Last edited by FranceBB; 12th June 2018 at 18:57.
    FranceBB is offline   Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 06:49.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • “创新从来都是九死一生”(人民论坛) 2019-02-14
  • 端午假期广州铁路运客640.5万人次 创历史新高 2019-02-14
  • 19次生态输水让塔河下游生机勃勃 2018-11-22
  • 男篮再胜伊朗迎热身赛两连胜 任骏飞19+11陶汉林18分 2018-11-22
  • 小卒子,你南街村的代言人啊?扮豬不咋像呢!你滴,大大滴,明白? 2018-11-22
  • 女性之声——全国妇联 2018-11-21
  • 新华网评:凝聚打赢脱贫攻坚战的强大合力 2018-11-21
  • 栗战书:执法检查要直面问题不搞评功摆好 让法律制度成为不可触碰的高压线 2018-11-21
  • 这些水果越新鲜越不能吃 放一放更好吃 2018-11-21
  • 生产资料公有制不会也不可能涉及生产资料的分配,这完全是你杜撰的,是强词夺理的。从这点看,你的所谓逻辑是幼稚可笑的。哈哈哈哈! 2018-11-20
  • 践行“两山论”是一场发展的革命 2018-11-20
  • 女教师舍身保护学生被撞身亡感动各界 2018-11-20