Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
|
![]() |
#1 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Germany
Posts: 1,292
|
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 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) ![]() 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 Avisynth memes Videotek - Audacity XP LUT Collection - FFAStrans SafeColorLimiter - AAA Last edited by FranceBB; 12th June 2018 at 18:57. |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,475
|
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. |
![]() |
![]() |
![]() |
#3 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Germany
Posts: 1,292
|
Quote:
It's sad 'cause the only other open source encoder capable to encode in MPEG-2 that I know is x262, but it does have its own issues... Last but not least, there's ffmbc, but it's not the panacea to each and every issue either...
__________________
Broadcast Encoder Avisynth memes Videotek - Audacity XP LUT Collection - FFAStrans SafeColorLimiter - AAA |
|
![]() |
![]() |
![]() |
#5 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Germany
Posts: 1,292
|
It's not, that's why I was using ffmpeg.
Anyway, since I only need an encoder as I pipe the A/V stream from Avisynth, I was trying ffmbc as well 'cause even if it's outdated and it doesn't have new decoders, I only need to encode an uncompressed audio/video stream. Besides, I don't think MPEG-2 encoders are updated frequently (or at all) nowadays...
__________________
Broadcast Encoder Avisynth memes Videotek - Audacity XP LUT Collection - FFAStrans SafeColorLimiter - AAA |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|