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. |
|
|
#202 | Link | |
|
_
![]() Join Date: Jan 2002
Posts: 16,647
|
Quote:
|
|
|
|
|
|
|
#204 | Link | |
|
Moderator, Ex(viD)-Mascot
![]() Join Date: Oct 2001
Posts: 2,564
|
Quote:
Sorry for stopping the transfer belated, I had to leave the PC unattended for some time and only looked at the error messages of FireFTP when coming back.
__________________
It's a man's life in Doom9's 52nd MPEG division. "The cat sat on the mat." ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl! |
|
|
|
|
|
|
#205 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,647
|
@Teegedeck
Where did that VOB come from? Did you rip it from a DVD? It appears to have been made with Sonic ROM Formatter. But what is all that junk before the first pack header? I'm a little worried about having to parse into 1 MByte of streams looking for a pack header due to the possibility of start code emulation. |
|
|
|
|
|
#206 | Link |
|
Registered Jedi
Join Date: Jan 2003
Location: Georgia, U.S.A.
Posts: 734
|
You can virtually eliminate mistakes by verifying the marker bits and fields. Pack headers are especially robust because they have several marker bits which must be set and at least one field (mux rate) which cannot be zero.
Also, it's my understanding that a valid MPEG-2 program stream MUST have a pack header at least every 0.7 seconds. The number of bytes you'd have to search depends on the bitrate, but there should definitely be a finite point where you can declare the stream invalid.
__________________
May the FOURCC be with you... |
|
|
|
|
|
#207 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,647
|
Version 1.4.0 Release Candidate 4
Thanks, fccHandler. I just independently wrote code to check all the marker bits, but I didn't think to check the mux_rate.
So here is RC4. It fixes Teeg's issue and adds the promised -SD CLI option. http://neuron2.net/dgmpgdec/dgmpgdec140rc4.zip |
|
|
|
|
|
#208 | Link |
|
Registered Jedi
Join Date: Jan 2003
Location: Georgia, U.S.A.
Posts: 734
|
Something else I just remembered... In program streams a pack header must be followed by either a system header or a PES packet. You can verify those too if you want to be really robust.
__________________
May the FOURCC be with you... |
|
|
|
|
|
#210 | Link |
|
Registered Jedi
Join Date: Jan 2003
Location: Georgia, U.S.A.
Posts: 734
|
Not quite that far. And I think I set my search limit at 200 KB, and only because I once encountered a video file (on a commercial CD) that had like, 150+ KB of junk at the beginning. Nothing I had could open it at the time, but I was convinced it had an MPEG inside and I eventually proved it with VirtualDub-MPEG2.
As I recall, you were supposed to install some stupid player software on the CD, which I wasn't keen to do. It was an M2M CD, BTW...
__________________
May the FOURCC be with you... |
|
|
|
|
|
#211 | Link |
|
Author of avi.NET rip.NET
Join Date: Apr 2005
Location: England [UK]
Posts: 408
|
I added DGIndex to avi.NET, changed some stuff in my program because of the update and done some testing.....
I am very very happy Rather than use the -SD=! as a "!" can be used in a filename/path I tried -SD=* and have got to say it worked a treat, really pleased, now I can use any path/filename via the CLI. Thanks Don, I know it probably seemed a trivial request at first but I know it was for the best ![]() Thanks again |
|
|
|
|
|
#212 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,647
|
That really surprises me, because I thought the DOS shell would try to perform globbing on * characters. I'll try that tonight just for grins.
EDIT: I just googled around and found that it is the DOS commands themselves that process the wildcard characters, and not the shell itself! So your approach should be fine, as long as you don't use a 3rd party shell that does globbing. Last edited by neuron2; 22nd June 2005 at 17:27. |
|
|
|
|
|
#215 | Link |
|
Author of avi.NET rip.NET
Join Date: Apr 2005
Location: England [UK]
Posts: 408
|
Well without looking into it and having a quick guess I wonder if it has anything to do with the fact I'm not calling a dos/console app but just passing parameters to a windows GUI program?
|
|
|
|
|
|
#216 | Link |
|
Author of avi.NET rip.NET
Join Date: Apr 2005
Location: England [UK]
Posts: 408
|
Infact Don, you could probably drop the -SD completely as quotes works fine. Just tried, SD="
example: -SD=" -AIF="C:\Documents and Settings\Wayne\My Documents\GO_01_PGC_01_1.VOB" -OF="C:\Documents and Settings\Wayne\My Documents\GO_01_PGC_01_1.VOB.TEMP\GO_01_PGC_01_1" -Exit No problems at all |
|
|
|
|
|
#217 | Link |
|
Moderator, Ex(viD)-Mascot
![]() Join Date: Oct 2001
Posts: 2,564
|
@Donald: If only I knew. I've found it on my constant quest for high-quality trailers in MPEG-2 format some 4 months back...
__________________
It's a man's life in Doom9's 52nd MPEG division. "The cat sat on the mat." ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl! Last edited by Teegedeck; 22nd June 2005 at 22:03. |
|
|
|
|
|
#218 | Link | |
|
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,403
|
Quote:
np: Stewart Walker - Sprites (Grounded In Existence) |
|
|
|
|
|
|
#219 | Link | |
|
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,403
|
Quote:
np: Stewart Walker - Chimera (Grounded In Existence) |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|