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 > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st October 2019, 14:35   #921  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 702
About input drivers: see this link https://sourceforge.net/p/vdfiltermod/wiki/direct_copy/
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 31st October 2019, 17:31   #922  |  Link
TlatoSMD
Registered User
 
Join Date: Apr 2006
Posts: 70
Quote:
Originally Posted by shekh View Post
Thanks! Setting it back to standard AVI input in that open file dialogue did the trick.

Okay, so now that VirtualDub2 is fully functional for me, maybe, *MAYBE* its integrated script editor will help me get into AVIsynth for once, after I haven't been able for more than 15 years by now to learn AVIsynth at a sufficicent level to even just open a file.

A clickable GUI and a programming language aka "script" are just so vastly different in approach, plus both Mencoder and AVIsynth always seem to lack *DECADES* behind on their respective documentations, so none of the scripts found in documentation *EVER* work. Plus, AVIsynth and Mencoder aces often seem to have a terrible holier-than-thou attitude, so even if you're trying to contact them for help, in 9 cases out of 10 they will first ridicule the fact that you're actually trying to use commands from the documentation, and then immediately stop talking to you once they realize you're not using Linux, which basically means you're some lower life form not worth their time.
TlatoSMD is offline   Reply With Quote
Old 4th November 2019, 08:57   #923  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,941
Apropos ... the input driver concept seems to be the reason why you can't use VirtualDub2 to e.g. remultiplex MKV to MP4 in Stream Copy mode, correct?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 7th November 2019, 14:53   #924  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 702
Quote:
Originally Posted by LigH View Post
Apropos ... the input driver concept seems to be the reason why you can't use VirtualDub2 to e.g. remultiplex MKV to MP4 in Stream Copy mode, correct?
The original idea of input driver in VD was like this:
1) input driver has to split source into packets and that`s all
2) video decoder has to take packets and no other metadata and translate that into frames

I may be missing some details but taking into account ordinary h264 video it is just impossible to implement accurate decoder in that way.
However, if focus is stream copy (decoder is not needed) then such input driver can work (splitting into packets is good enough).
At the same time the decoding phase is only good as preview - it is NEVER frame accurate.
This is how original AVI driver works, and also FCCHandler' matroska driver and quicktime driver.

Another approach was ffmpeg input driver - initially developed by FCCHandler according to some history of changes.
The idea with ffmpeg was to ignore packets altogether and deliver correct decoded frames right away (I think so, or maybe the idea was lost between changes).

What is blocking simultaneous support for copy and decode with ffmpeg? The core feature is being able to translate from packets to frames and back (timestamps also would be great): ffmpeg lacks this.
Current "caching input driver" has stretched this in some ways: it does switch to direct mode when packet-frame translation is trivial, this is the case with keyframe-only formats. Doing more than that needs more time and passion.

Why avidemux can work? It uses ffmpeg with some patches applied and afaik some custom made demuxers as well. Might be as good idea to either borrow his work or fix ffmpeg myself, both ways are not simple and stay in my internal 'todo' few years.
__________________
VirtualDub2
shekh is offline   Reply With Quote
Reply

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 14:41.


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