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 > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th January 2017, 06:53   #41  |  Link
AzraelNewtype
Registered User
 
AzraelNewtype's Avatar
 
Join Date: Oct 2007
Posts: 135
I may not have tested that very thoroughly since I had to start demuxing audio via tsmuxer instead of dgi for a couple reasons (not least of which being that d2vsource is slower than l-smash source). There definitely isn't anything in the script to override that value though.
AzraelNewtype is offline   Reply With Quote
Old 30th March 2017, 19:54   #42  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
both:
Code:
"G:\Hybrid\vsfilters\SourceFilter\d2vSource\d2vwitch.exe" --output "H:\Temp\552bf3799f50de80782be5bd932be83e_491.d2v" "F:\TESTCL~1\DVDs\ELEPHA~1\VIDEO_TS"
and
Code:
"G:\Hybrid\vsfilters\SourceFilter\d2vSource\d2vwitch.exe" --output "H:\Temp\552bf3799f50de80782be5bd932be83e_491.d2v" "F:\TestClips&Co\DVDs\ElephantsDream\VIDEO_TS"
give me
Quote:
Failed to open input file 'F:\TestClips&Co\DVDs\ElephantsDream\VIDEO_TS': fopen() failed: Permission denied
Using Vapoursynth 64bit R37 and d2vwitch v2. (same happens with v1)
Also starting the d2vwitch gui and pressing the 'Browse' or 'Add files' button causes a freeze here. Am I missing something? (d2vwitch.exe is alone in a folder, no other files there)
This didn't happen last time I used d2vwitch, but I got no clue what could have changed. (aside from me updating Vapoursynth)
disabling firewall and malwarebytes didn't help either,...
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 30th March 2017 at 20:07.
Selur is offline   Reply With Quote
Old 30th March 2017, 20:44   #43  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Selur View Post
both:
Code:
"G:\Hybrid\vsfilters\SourceFilter\d2vSource\d2vwitch.exe" --output "H:\Temp\552bf3799f50de80782be5bd932be83e_491.d2v" "F:\TESTCL~1\DVDs\ELEPHA~1\VIDEO_TS"
and
Code:
"G:\Hybrid\vsfilters\SourceFilter\d2vSource\d2vwitch.exe" --output "H:\Temp\552bf3799f50de80782be5bd932be83e_491.d2v" "F:\TestClips&Co\DVDs\ElephantsDream\VIDEO_TS"
give me

Using Vapoursynth 64bit R37 and d2vwitch v2. (same happens with v1)
Also starting the d2vwitch gui and pressing the 'Browse' or 'Add files' button causes a freeze here. Am I missing something? (d2vwitch.exe is alone in a folder, no other files there)
This didn't happen last time I used d2vwitch, but I got no clue what could have changed. (aside from me updating Vapoursynth)
disabling firewall and malwarebytes didn't help either,...
"VIDEO_TS" sounds like a folder. You're supposed to pass the relevant VOB files. D2V Witch currently doesn't guess what files you want to open. It only opens those you pass explicitly, in the order you pass them. (This has always been the case.)

I don't know what the freeze is about. It freezes when you browse to that folder, not when you select the files and click "Open" or whatever, right?
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 31st March 2017, 03:42   #44  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
It freezes directly when I press the 'Browse' or 'Add files' button. I don't get any file dialog.
Quote:
"VIDEO_TS" sounds like a folder. You're supposed to pass the relevant VOB files.
Ahhh,... that was the problem. Thanks.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 31st March 2017, 14:10   #45  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Selur View Post
It freezes directly when I press the 'Browse' or 'Add files' button. I don't get any file dialog.

Ahhh,... that was the problem. Thanks.
http://savedonthe.net/download/1821/...tor-win64.html

Does this one work?
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 31st March 2017, 16:48   #46  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Yes, both 'Add files' and 'Browse' now open without crashing.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th April 2017, 21:58   #47  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
H264

A test version that might become v3:
http://savedonthe.net/download/1834/...264-win32.html
http://savedonthe.net/download/1835/...264-win64.html

The main attraction is H264 support in transport streams and elementary streams.

Test it, maybe, and let me know how it goes.

If you want to compile it:
https://github.com/dubhater/D2VWitch/tree/h264
https://github.com/dubhater/d2vsource
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 15th April 2017, 22:13   #48  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Is there any gain in using this instead over LSMASHSource or FFMS2, or is it 'just' an alternative?
(alternatives are always good , btw. would be nice if mpls files would also be supported )
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2017, 12:50   #49  |  Link
Frechdachs
Registered User
 
Frechdachs's Avatar
 
Join Date: May 2014
Posts: 20
Quote:
Is there any gain in using this instead over LSMASHSource or FFMS2, or is it 'just' an alternative?
(alternatives are always good , btw. would be nice if mpls files would also be supported )
Neither lsmash nor ffms2 are frame accurate for interlaced h264.

Quote:
Test it, maybe, and let me know how it goes.
This is the output of the test script from your signature:

Code:
Clip has 55828 frames.
Hashing: 99%
Clip hashed.

Requested frame 1, got new frame with hash 92bec1c50ed47b951b3c61c1a07845aa.
    Previous requests: 31256 18668 19099 7457 18422 40536 25822 22063 12993 15999 1
Requested frame 3, got new frame with hash 68dbd285aabc4411091783b4e1528ae4.
    Previous requests: 48429 20110 51397 36508 49910 32760 21437 24375 7417 1782 3
Requested frame 2, got new frame with hash d81b72522a628d3c28daccbe3f525967.
    Previous requests: 36580 18291 10236 40548 16399 19554 42655 40192 10424 50369 2
Test complete.
Worked very well on my test file except for the 2nd, 3rd and 4th frame. Maybe a broken file, I don't know. Those frames look alright in the preview, though.
It's an interlaced h264 transport stream. Both lsmash and ffms2 are completely broken on that one.
Frechdachs is offline   Reply With Quote
Old 16th April 2017, 14:00   #50  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Got a sample d2vwitch.h264 which the filter can't handle.
Works fine when using LWLibavSource, ffms2 fails on this source too.
Found another one I also uploaded (Trailer 3D_MVC).
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 16th April 2017 at 15:16. Reason: found another file.
Selur is offline   Reply With Quote
Old 16th April 2017, 16:41   #51  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Selur View Post
Is there any gain in using this instead over LSMASHSource or FFMS2, or is it 'just' an alternative?
(alternatives are always good , btw. would be nice if mpls files would also be supported )
No mpls for you.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 16th April 2017, 16:48   #52  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Had to ask.
May be an option to load multiple files? That would also help with DVD handling; I normally know the vobs/m2ts files, which belong to a specific playlist, and their order and it would help if they could be all indexed and opened in one go.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2017, 17:03   #53  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Selur View Post
Had to ask.
May be an option to load multiple files? That would also help with DVD handling; I normally know the vobs/m2ts files, which belong to a specific playlist, and their order and it would help if they could be all indexed and opened in one go.
You can do that with DVDs since v1. Technically you can do it with blurays too, but I just tried and random access doesn't work right. You get the wrong frames.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 16th April 2017, 17:08   #54  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Lol, you are right about the DVD thing, I even used that a few times and totally forgot about it. Problem with m2ts files is that in a playlist the numbering doesn't have to follow a specific order so autoloading based on the file name would be a bad thing.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2017, 17:42   #55  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Selur View Post
Lol, you are right about the DVD thing, I even used that a few times and totally forgot about it. Problem with m2ts files is that in a playlist the numbering doesn't have to follow a specific order so autoloading based on the file name would be a bad thing.
Good thing there is no autoloading, then!

New d2vsource decodes 9 and 10 bit h264 too (that d2vwitch.h264 mentioned above). New D2V Witch has two very small fixes. Git history was edited, sorry.
http://savedonthe.net/download/1836/...264-win64.html
http://savedonthe.net/download/1837/...264-win32.html
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 16th April 2017, 17:49   #56  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Thanks! I can confirm that d2vwitch.h264 can now be decoded without a problem.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2017, 18:20   #57  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Code:
$ ffplay /tmp/Trailer\ 3D_MVC.mts
<stuff>
[h264 @ 0x7fa370089a40] sps_id 1 out of range
Failed to open file '/tmp/Trailer 3D_MVC.mts' or configure filtergraph
Maybe I need a newer ffmpeg (I have 3.2.2), but I don't feel like updating right now.

ffmpeg 3.3 doesn't decode it either.
__________________
Buy me a "coffee" and/or hire me to write code!

Last edited by jackoneill; 16th April 2017 at 18:52.
jackoneill is offline   Reply With Quote
Old 16th April 2017, 18:52   #58  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Plays fine with Windows Media Player (filters installed), MPC-HC, MPlayer, but it seems like ffmpeg (ffms2 and LSmashSource) can't handle the file. (DGDecNV and DGDecIM can)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2017, 20:29   #59  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Selur View Post
Plays fine with Windows Media Player (filters installed), MPC-HC, MPlayer, but it seems like ffmpeg (ffms2 and LSmashSource) can't handle the file. (DGDecNV and DGDecIM can)
ffmpeg from git snapshot works.

http://savedonthe.net/download/1838/...264-win32.html
http://savedonthe.net/download/1839/...264-win64.html
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 16th April 2017, 20:35   #60  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Sweat! Works fine! Thanks!
__________________
Hybrid here in the forum, homepage
Selur 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 02:36.


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