Umamio
15th October 2008, 17:46
On encoding using ffmpeg to ntsc-dv from an .avs source
"ffmpeg.exe -target ntsc-dv -aspect 4:3"
The encoding starts off fine until I receive this error
[pcm_s16le@00B20800 Can't process DV Frame #2672
Insufficient video data or severe sync problem
I have tried with several different videos through .avs and no matter the length or the framerate of the source, this message appears and is repeated from Frame 2672 onwards when converting to ntsc-dv.
Converting to pal-dv does not throw up this error, nor has it when using any other ffmpeg compression codec.
The error has only occured so far when being fed avisynth as an input. If I create an intermediary lossless/lossy file and convert it to ntsc-dv using identical ffmpeg arguments there is no such problem.
I have tried with 2 versions of ffmpeg. Sherpya's latest build (14277) and a preceding one (I do not remember the revision, built June 8 2008)
I'm not sure if this counts as an avisynth issue or an ffmpeg issue or an issue with my script or with dgdecode somehow but in case anyone has suffered a similar problem, you are not alone!
v = DGDecode_mpeg2source("3003_HankRon.d2v",info=3).ColorMatrix(hints=true, interlaced=true)
a = DirectShowSource("3003_HankRon T01 2_0ch 256Kbps DELAY 0ms.ac3")
Main = AudioDub(v,a)
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Main = Main.Yadif
Left = 3
Top = 123
Right = 7
Bottom = 128
pixelShape = float(640)/720
Main = Main.checkedCrop(left = Left, top = Top, right = Right, bottom = Bottom)
TrueAR = Main.arCalc(pixelShape=pixelShape)
Main
toJoost(TrueAR, buf=5, w=720, h=480)
No plugins or filters are used in "arCalc", "checkedCrop" or "toJoost", they are essentially just a multiplication, a crop and resize. Directshowsource for ac3 uses ac3filter.
Any help is much appreciated. Apologies if this questions is not suited to this part of the forum. I don't really know where to put it. "Maybe you should submit it as an ffmpeg bug, fool!" Well, I would, but I'm not completely sure it's an ffmpeg bug, it could be me! "What about the DV forum! you are having problems with DV?" Well, I dont know that DV is the problem either just ffmpeg with avisynth and ntsc-dv in particular.
"ffmpeg.exe -target ntsc-dv -aspect 4:3"
The encoding starts off fine until I receive this error
[pcm_s16le@00B20800 Can't process DV Frame #2672
Insufficient video data or severe sync problem
I have tried with several different videos through .avs and no matter the length or the framerate of the source, this message appears and is repeated from Frame 2672 onwards when converting to ntsc-dv.
Converting to pal-dv does not throw up this error, nor has it when using any other ffmpeg compression codec.
The error has only occured so far when being fed avisynth as an input. If I create an intermediary lossless/lossy file and convert it to ntsc-dv using identical ffmpeg arguments there is no such problem.
I have tried with 2 versions of ffmpeg. Sherpya's latest build (14277) and a preceding one (I do not remember the revision, built June 8 2008)
I'm not sure if this counts as an avisynth issue or an ffmpeg issue or an issue with my script or with dgdecode somehow but in case anyone has suffered a similar problem, you are not alone!
v = DGDecode_mpeg2source("3003_HankRon.d2v",info=3).ColorMatrix(hints=true, interlaced=true)
a = DirectShowSource("3003_HankRon T01 2_0ch 256Kbps DELAY 0ms.ac3")
Main = AudioDub(v,a)
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Main = Main.Yadif
Left = 3
Top = 123
Right = 7
Bottom = 128
pixelShape = float(640)/720
Main = Main.checkedCrop(left = Left, top = Top, right = Right, bottom = Bottom)
TrueAR = Main.arCalc(pixelShape=pixelShape)
Main
toJoost(TrueAR, buf=5, w=720, h=480)
No plugins or filters are used in "arCalc", "checkedCrop" or "toJoost", they are essentially just a multiplication, a crop and resize. Directshowsource for ac3 uses ac3filter.
Any help is much appreciated. Apologies if this questions is not suited to this part of the forum. I don't really know where to put it. "Maybe you should submit it as an ffmpeg bug, fool!" Well, I would, but I'm not completely sure it's an ffmpeg bug, it could be me! "What about the DV forum! you are having problems with DV?" Well, I dont know that DV is the problem either just ffmpeg with avisynth and ntsc-dv in particular.