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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd December 2009, 08:48   #361  |  Link
hxhxd
Registered User
 
Join Date: Aug 2009
Posts: 19
I have same issus on ffms2 while reading xvid source. It really drop or add some frames. the workaround is avisource.
hxhxd is offline   Reply With Quote
Old 23rd December 2009, 11:15   #362  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
Quote:
Originally Posted by neuron2 View Post
I'm just going to keep doing my thing with the NV tools and ignore these wild GPL accusations and other attacks. It's all rather amusing actually.
do you have to pay for a licence and support for nvidia tools to use them in your apps?
Cyber-Mav is offline   Reply With Quote
Old 23rd December 2009, 11:23   #363  |  Link
roozhou
Registered User
 
Join Date: Apr 2008
Posts: 1,181
Quote:
Originally Posted by hxhxd View Post
I have same issus on ffms2 while reading xvid source. It really drop or add some frames. the workaround is avisource.
Adding/dropping frame is caused by the limitation of avisynth but not a bug in libavcodec.
roozhou is offline   Reply With Quote
Old 24th December 2009, 05:46   #364  |  Link
hxhxd
Registered User
 
Join Date: Aug 2009
Posts: 19
Quote:
Originally Posted by roozhou View Post
Adding/dropping frames is not a bug in libavcodec but caused by limitation of avisynth.
I don't think so. Using directshowsource with xvid decoder, I have no problem. But directshowsource + ffdshow, the problem happened again.

So I'm afraid libavcodec does cause the problem.
hxhxd is offline   Reply With Quote
Old 24th December 2009, 06:04   #365  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Cyber-Mav View Post
do you have to pay for a licence and support for nvidia tools to use them in your apps?
Each machine needs a license so the end user can worry about that. I would allow distribution of my binaries if certain conditions are met. Follow up to PM please as it is getting OT for this thread.
Guest is offline   Reply With Quote
Old 24th December 2009, 06:05   #366  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by roozhou View Post
Adding/dropping frames is not a bug in libavcodec but caused by limitation of avisynth.
I beg to differ. What is this limitation you are talking about, please?
Guest is offline   Reply With Quote
Old 24th December 2009, 07:08   #367  |  Link
roozhou
Registered User
 
Join Date: Apr 2008
Posts: 1,181
Quote:
Originally Posted by hxhxd View Post
I don't think so. Using directshowsource with xvid decoder, I have no problem. But directshowsource + ffdshow, the problem happened again.

So I'm afraid libavcodec does cause the problem.
This is a bug in DirectShowSource, which is a part of avisynth. ffdshow will never add/drop frames. Some demuxer or decoder may not report correct fps or video length before playing the video. This has no impact on TRUE dshow based application (e.g. a media player). You can change anything during playback including fps, duration, aspect ration and even resolution. However avisynth requires fixed fps, resolution, color space and clip duration reported before playing the video. DSS has to add/drop frames to match the fps and truncate or append dummy frames to match the duration.
roozhou is offline   Reply With Quote
Old 24th December 2009, 14:21   #368  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
ffdshow actually does have an option to drop frames. See options -> decoder options.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 24th December 2009, 16:24   #369  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by roozhou View Post
This is a bug in DirectShowSource, which is a part of avisynth
I don't use DirectShowSource() in my dropped frames scenario. libavcodec is broken. I've confirmed it by tracing the code.
Guest is offline   Reply With Quote
Old 24th December 2009, 20:07   #370  |  Link
hxhxd
Registered User
 
Join Date: Aug 2009
Posts: 19
Quote:
Originally Posted by roozhou View Post
This is a bug in DirectShowSource, which is a part of avisynth. ffdshow will never add/drop frames. Some demuxer or decoder may not report correct fps or video length before playing the video. This has no impact on TRUE dshow based application (e.g. a media player). You can change anything during playback including fps, duration, aspect ration and even resolution. However avisynth requires fixed fps, resolution, color space and clip duration reported before playing the video. DSS has to add/drop frames to match the fps and truncate or append dummy frames to match the duration.
I've compared info using info() function between dss+xvid and dss+ffdshow, which both of them have the same variable values (fps, duration, etc). So I'm sure something worng with ffdshow.
hxhxd is offline   Reply With Quote
Old 26th December 2009, 03:40   #371  |  Link
Fadeout
Registered User
 
Join Date: Dec 2009
Posts: 150
Finally I can post and report this problem.

Everything seems to work fine on MPC Homecinema, but with DiAVC I get a delay on subtitles of about 375ms. It's especially noticeable on some anime where there are signs on screen whose translation/sub appear before the actual sign shows up but I think the delay applies to all movies.

No problem if the video goes through DXVA or another codec like CoreAVC.

Another request: I'd appreciate if like CoreAVC we got options to set custom brightness, contrast and such.
Fadeout is offline   Reply With Quote
Old 26th December 2009, 13:48   #372  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
Quote:
Originally Posted by Fadeout View Post
Another request: I'd appreciate if like CoreAVC we got options to set custom brightness, contrast and such.
odd request, i would have thought that everyone on this forum would be at the very least be using a properly calibrated screen so that you never need to faff around with colour and brightness settings etc.
Cyber-Mav is offline   Reply With Quote
Old 26th December 2009, 14:07   #373  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
An option to switch between "PC Levels" and "TV Levels" would be desired, because that's nothing you can achieve by calibrating your screen.

Also more color/brightness adjustment options may be helpful to "correct" certain movies.

Well, we can always insert ffdshow as a post-processing filter, but if the function was built-in, it would be much more convenient
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 30th December 2009, 14:27   #374  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
About the "SuperResolution feature":

scharfis_brain programmed something similar in AviSynth to "nicely blow up VCDs for DVD".

German doom9/Gleitz forum thread

An AVC decoder of course has the advantage of already knowing motion vectors.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 30th December 2009, 19:23   #375  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
DiAVC beta version 1 is released.

changes:
Improved decoding performance.
Add SSSE3 code.
add support for delta qp>26 in cavlc mode (It is supported all along for cabac mode).

I will fix the bugs related to the seeking and compatibility with other applications next.
There are still some rooms for decoding performance, and I will continue to improve it.
schweinsz is offline   Reply With Quote
Old 30th December 2009, 22:08   #376  |  Link
Virtual_ManPL
Virtual_ManPL
 
Virtual_ManPL's Avatar
 
Join Date: Sep 2009
Posts: 170
Quote:
Originally Posted by schweinsz View Post
...
I will fix the bugs related to the seeking and compatibility with other applications next.
...
good to hear that ;p



also I find 2 bugs

1. Artifacts & sometimes green frames in some files, like this e.g.
http://www.mediafire.com/?emykqthjtj4



2. Some files didnt want to start decoding in MPC-HC (1.3.1453.0) with Haali splitter (1.9.355.21) + your decoder (beta v1) (with Gabest internal splitters work good, also with Haali splitters+other h.264 decoder works too)
http://www.megaupload.com/?d=BM2DPIJM


Quote:
Originally Posted by schweinsz View Post
...
Add SSSE3 code.
...
So which CPU optimizations are new having now including these MMX, 3DNow!, SSE, SSE2, SSE3, SSSE3, SSE4, SSE5, AVX, CVT16, FMA3, FMA4, XOP ?
nice will be what are he having now and which are you want to implant in the future, or course if it will boost up decoding...
Virtual_ManPL is offline   Reply With Quote
Old 30th December 2009, 22:13   #377  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Virtual_ManPL View Post
good to hear that ;p

also I find 2 bugs

1. Artifacts & sometimes green frames in some files, like this e.g.
http://www.mediafire.com/?emykqthjtj4


So which CPU optimizations are new having now including these MMX, 3DNow!, SSE, SSE2, SSE3, SSSE3, SSE4, SSE5, AVX, CVT16, FMA3, FMA4, XOP ?
nice will be what are he having now and which are you want to implant in the future, or course if it will boost up decoding...
Sorry that I can't connect to the mediafire, could you upload it to megaupload too?
Only SSE2 and SSSE3 exist now in DiAVC. There will be AVX, MMX in future.
If certain instruction set benefit the decoder, I will inplant it.

Last edited by schweinsz; 30th December 2009 at 22:22.
schweinsz is offline   Reply With Quote
Old 30th December 2009, 22:23   #378  |  Link
Virtual_ManPL
Virtual_ManPL
 
Virtual_ManPL's Avatar
 
Join Date: Sep 2009
Posts: 170
Quote:
Originally Posted by schweinsz View Post
Sorry that I can't connect to the mediafire, could you upload it to megaupload too?
what a pain in the ass you got there
email MediaFire to unban your IP, or try talking to ISP if they ban some sites to unblock it
banning probably the best uploading website... maddens !!!


http://www.megaupload.com/?d=NF44K73H
Virtual_ManPL is offline   Reply With Quote
Old 30th December 2009, 22:23   #379  |  Link
Disabled
Registered User
 
Join Date: Aug 2004
Posts: 211
*edit* seconds to late... someone delete this post...
Disabled is offline   Reply With Quote
Old 31st December 2009, 01:53   #380  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Here are my test results using an Intel E2160@2.7GHz with 1080p material:
Code:
ffdshow
User: 0s, kernel: 0s, total: 0s, real: 4s, fps: 479.6, dfps: 41.2
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 479.6, dfps: 54.2
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 647.4, dfps: 52.4

ffdshow-mt
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 719.4, dfps: 66.8
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 563.0, dfps: 67.4
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 588.6, dfps: 64.4

CoreAVC 1.9.5
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 719.4, dfps: 71.2
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 588.6, dfps: 73.2
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 616.6, dfps: 72.7

CoreAVC 2.0.0
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 498.0, dfps: 81.4
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 404.6, dfps: 81.9
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 462.5, dfps: 80.9

CoreAVC 2.0.0 (CUDA)
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 417.7, dfps: 62.6
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 498.0, dfps: 63.2
User: 0s, kernel: 0s, total: 0s, real: 3s, fps: 417.7, dfps: 63.5

DiAVC alfa
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 588.6, dfps: 81.9
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 681.5, dfps: 80.9
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 479.6, dfps: 82.5

DiAVC beta
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 539.5, dfps: 89.3
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 647.4, dfps: 90.5
User: 0s, kernel: 0s, total: 0s, real: 2s, fps: 761.7, dfps: 88.7
So the new optimizations give ~10% better performance.
yesgrey is offline   Reply With Quote
Reply

Tags
avc, diavc, fastest decoder, h.264, software

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 21:30.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.