• 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 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: 517
    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?
    __________________
    Broadcast Encoder

    Last edited by FranceBB; 12th June 2018 at 18:57.
    FranceBB is offline   Reply With Quote
    Old 18th April 2019, 22:46   #2  |  Link
    Registered User
     
    Join Date: Nov 2004
    Location: UK
    Posts: 2,354
    It's rather ffmpeg. It's not a "precise" tool and sometimes it doesn't follow some specs etc. AVID from other hand requires things to be precise, sometimes even too much
    This info about missing frame doesn't look "good" in ffmpeg.

    Last edited by kolak; 18th April 2019 at 22:48.
    kolak 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 23:07.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 加拿大快乐8预测 内蒙古时时彩五星图 快乐十分走势图 36选7走势图 彩票开奖结果 悠悠球的玩法 北京赛车pk10直播官方 新时时彩大小单双 刮刮乐的制作过程 竞彩篮球大小分加时赛算不算 北单3玉米种子 优彩网app下载安装 炸金花最简便作弊手法 pk10冠军 公式算号 十一运夺金任一的技巧 3d开机号试机号列表