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 |
19th November 2019, 02:29 | #1 | Link |
Registered User
Join Date: Oct 2019
Posts: 10
|
Error: Number of encoded frames does not match the source
Hello,
As I might post in the wrong thread, I decided to post it in here. I really need any possible help for this one, as I could not understand why I had this error... The thing is, I have encoded some m2ts file to mp4 with subtitle added. As the file is interlaced, I need to do some deinterlacing using QTGMC and it resulted in a 3 days time encoding, which is totally fine to me, but I could not seem to get it right. At first, everything seemed to work just fine. Until I have this error: Number of encoded frames does not match the source. I have tried to find this issue online, but it seems that nobody have ever experienced this issue before though. Does anyone know what is the reason for this error, and how do I fix it? I will put the log under the post. Thank you in advance. |
19th November 2019, 02:33 | #2 | Link | |
Registered User
Join Date: Oct 2019
Posts: 10
|
Below is the log for my encoding.
Quote:
|
|
19th November 2019, 10:34 | #3 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Your source:
Code:
----[Information] FrameCount: 246960 ----[Information] FrameRate: 29.970 ----[Information] Duration: 02:17:20.232 ----[Information] ScanType: MBAFF Code:
--[Information] [18/11/2019 11:33:49 PM] frame rate: 60000/1001 --[Information] [18/11/2019 11:33:49 PM] frames: 493920 --[Information] [18/11/2019 11:33:49 PM] length: 02:17:20.232 Code:
---[Information] [19/11/2019 3:29:12 AM] encoded 29287 frames, 2.08 fps, 10252.15 kb/s
__________________
BeHappy, AviSynth audio transcoder. |
19th November 2019, 11:16 | #4 | Link | |
Registered User
Join Date: Oct 2019
Posts: 10
|
Quote:
If that is the case, then what should I do to fix this issue? Should I change the decoder, or change the code? |
|
19th November 2019, 12:08 | #6 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Does it always stop at the same point?
You could also try installing the latest Avisynth+ to see if it works better. https://github.com/AviSynth/AviSynthPlus/releases
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
19th November 2019, 23:02 | #7 | Link | |
Registered User
Join Date: Oct 2019
Posts: 10
|
Quote:
But what is the main reason for this issue to occur? I've been trying to find it for a considerate amount of time... |
|
20th November 2019, 08:22 | #8 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
First things first, I would not recommend using QTGMC with such a long input in one shot. 493920 frames at 2.08 fps is 2.75 days, and anything could go wrong.
If I'm doing this, I'd split the video into multiple chunks (multiple AVS with Trim()s), run QTGMC without textsub, and encode to lossless avi (lagarith) or visually lossless 264 (--qp 6 for example), then join them together and put your subtitle on for the final encode. This not only gives you a much better error tolerance (only need to redo from save point), it also allows you to encode multiple chunks in parallel, if you have CPU resource to spare. Also you definitely want to try AviSynth+. |
20th November 2019, 11:33 | #9 | Link | |
Registered User
Join Date: Oct 2019
Posts: 10
|
Quote:
But I still wonder what is the main reason to cause this issue? Like tebasuna51 said above, it might be because of a decoder crash, so is there any way to prevent it? |
|
20th November 2019, 12:24 | #10 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
The old Avisynth is nearly not as stable as Avisynth+ so a complex function like QTGMC may easily cause crashes. I don't know if MeGUI utilizes any multithreading, Avisynth+ also has that part covered.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
20th November 2019, 15:29 | #11 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Did you check system logs, Computer Management/Event Viewer/windows Logs/Application.
May be something in there that did not propagate up to MeGUI log. [check against stop time of MeGUI log] EDIT: Also peek at other logs eg System too.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 20th November 2019 at 15:44. |
21st November 2019, 02:40 | #12 | Link | ||
Registered User
Join Date: Oct 2019
Posts: 10
|
Quote:
Quote:
So should I replace these two? Or there is no other way to resolve this... |
||
21st November 2019, 04:42 | #13 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Error 0xc0000005 is Access Violation, error in code somewhere, can happen where eg trying to read data from a memory pointer of 0.
Not 100% certain that problem resides in ffmpeg or VSFilter, but are most suspect culprits (VSFilter is favourite suspect). Try with alternative VSFilter if possible (I have experienced bad versions of VsFilter with crashes, some versions are described as depricated or bugged), or use some other subtitler. EDIT: Here Pinterf version VSFilter from 2018, I have not tried it before(was not aware of it):- https://github.com/pinterf/xy-VSFilt.../tag/3.2.0.802
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 21st November 2019 at 05:03. |
21st November 2019, 05:54 | #14 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
22nd November 2019, 05:55 | #15 | Link | |
Registered User
Join Date: Oct 2019
Posts: 10
|
Quote:
Thank you very much for your help, as well as all the helps I got. Thank you very much!!!! |
|
|
|