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 > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th July 2005, 16:29   #21  |  Link
iNFO-DVD
Author of avi.NET rip.NET
 
iNFO-DVD's Avatar
 
Join Date: Apr 2005
Location: England [UK]
Posts: 408
I downloaded the zip package of this just to take a look and I must admit I was not very impressed with the way you 'shell' associated everything from within your program!

You should leave that to an installer!

Just took me half an hour hacking my registry to remove all the crap!
iNFO-DVD is offline   Reply With Quote
Old 4th July 2005, 16:45   #22  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by iNFO-DVD
I downloaded the zip package of this just to take a look and I must admit I was not very impressed with the way you 'shell' associated everything from within your program!

You should leave that to an installer!

Just took me half an hour hacking my registry to remove all the crap!
I don't understand :
- you downloaded the Installer file : all registry keys are deleted with uninstall
- you downloaded the ZIP file : how could I know you want to delete MediaInfo??? and this is a "one click" thing to suppress registry keys without uninstaller : uncheck Options, advanced, Shell explorer.

If you have an idea to do it with a better behaviour, I am interested... At this time, there *IS* an installer/uninstaller, and for people who want ZIP files, there is a ZIP file with the possibility to uncheck the shell explorer...
I don't plan to suppress the ZIP files, because some people want it.

And I don't think there is a better solution, a lot of software have the same problem if associations when shipped in a ZIP file...
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 4th July 2005, 18:51   #23  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
would be possible to know the number of frames also for mpeg1 or mpeg2 video file (multiplexed vob or simple mpeg files) ?

BHH
buzzqw is offline   Reply With Quote
Old 4th July 2005, 23:36   #24  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by buzzqw
would be possible to know the number of frames also for mpeg1 or mpeg2 video file (multiplexed vob or simple mpeg files) ?
Yes.
with the DLL if you are programmer, or with the GUI (because no everybody is interested, you must active in the menu "Debug --> Advanced mode") : "FrameCount"
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 5th July 2005, 07:13   #25  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
@Zenitram

thanks, but i prefer the command line version

would be possible to integrate in command line ?

Thanks anyway

BHH
buzzqw is offline   Reply With Quote
Old 5th July 2005, 09:31   #26  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by buzzqw
thanks, but i prefer the command line version
would be possible to integrate in command line ?
Everything is possible
With command line : "-f" for "full information", you will have all information available, FrameCount included.
Command line is light at this time, but I plan to improve it...
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 5th July 2005, 12:13   #27  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
(maybe i don't fully understod)
i try -f switch but i got framecount only for avi not mpeg...

anyway i wait a "lightless" command line !

BHH
buzzqw is offline   Reply With Quote
Old 7th July 2005, 03:51   #28  |  Link
Malow
In bytes we trust
 
Malow's Avatar
 
Join Date: Oct 2002
Location: Torres Beach, Brazil
Posts: 279
pulldown detection will be incorpored?
Malow is offline   Reply With Quote
Old 7th July 2005, 17:21   #29  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Malow
pulldown detection will be incorpored?
Do yo uspeak of this?
1/ MediaInfo works on video track information, not frame per frame : I don't plan do say where is "A" frames. the only thing I plan to do in video frames is to know if video is compatible with DivX player (B-frames...), because his is a video track information, not only for some frames. So I don"t see what you would know about pulldown in MediaInfo.
2/ I am european, so I don't need pulldown (joke )
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 8th July 2005, 07:19   #30  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Can you library tell me if an audio file is variable or constant bitrate?
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 8th July 2005, 17:40   #31  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Doom9
Can you library tell me if an audio file is variable or constant bitrate?
Yes, when I can say it. (with GUI : select advanced mode, and there will sometimes be a "BitRate Mode" tag)
This is the case of MP3.
But for other audio formats, the format tells you if this is VBR or CBR (OGg is VBR, AC3 is CBR...)
The problem I didn't succeed to resolved is MP3 in AVI : I can't say VBR or CBR
Which format to you wish?
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 9th July 2005, 02:27   #32  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
I'd like to give your lib (the dll) an mp3 and have it tell me if it's vbr or cbr. Right now the user has to enter the audio type manually. That is all outside of an AVI. But in order to mux an MP3 into an AVI, knowing if it's CBR or VBR is crucial because the overhead changes significantly.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 9th July 2005, 16:45   #33  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Doom9> So : Yes, you (will) be able to do this.
Why "will"? Because, I took a look in the source code, I saw I detect VBR or CBR to calculate bitrate (I need to know if this is a VBR file too), but I forgot to set the VBR tag on for external programs
In next version for this.
But : even if I dream you use MediaInfo.dll (because thanks to your homepage, I have at this time twice more people on my homepage, maybe the same with the DLL ), I don't understand you : there is simpler way to detect VBR in a MP3 file, because everybody use "xing" VBR header (but xing website is now offline , so : no specifications) (and I use only this method to detect VBR), and this is some line of code only, so no need of a 600 KB DLL to use only 20 lines of code.
You can take a look here , line 540 to write your own parser.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 9th July 2005, 17:04   #34  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
well.. if I start using the lib then for the follwowing purposes:

detec if an mp3 is vbr or cbr
get the length of ac3/mp3/mp2/wav input
get the length, number of frames and framerate of an AviSynth file.

I'm not sure, can you handle the last one? I currently use AVIFile for the last one and have no solution for the other two.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 9th July 2005, 17:56   #35  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Doom9
detec if an mp3 is vbr or cbr
get the length of ac3/mp3/mp2/wav input
Will be able in the next version (while speaking with you, I took a look to your requests, seems I forgot some things, so there is not always information, even if it is easy to have it, MediaInfo.dll is young
Quote:
Originally Posted by Doom9
get the length, number of frames and framerate of an AviSynth file..
Not sure to understand : in my mind, AviSynth is only a script file (AVS), with not real video or audio in it. and I work only on real video or audio files. And I try do not have Win32 dependancies (so : no AVIFile for me ). Maybe later I will inspect AVS file, to detect original file (but if this is a D2V file, I need to parse it too to have source files ), but don't hope it soon.
So : I will work on having length for AC3/mp3/wav (and VBR) in the next version, it is easy.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 9th July 2005, 18:06   #36  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
Not sure to understand : in my mind, AviSynth is only a script file (AVS), with not real video or audio in it. and I work only on real video or audio files.
hmm.. then I guess we have a problem. It is possible to read those things without any platform dependencies though.. x264 and mencoder can handle AviSynth input.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 9th July 2005, 18:32   #37  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Doom9
hmm.. then I guess we have a problem. It is possible to read those things without any platform dependencies though.. x264 and mencoder can handle AviSynth input.
Ah? OK, you speak about avifile library, not AVIFile Win32 API, sorry.
Will take a look in it to see what I can do.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 9th July 2005, 18:46   #38  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
no I meant I AM using the W32 AVIFile API but I'd like to get away from it. I guess I'll always rely on it for video preview, but at least for getting the properties of the source something else could come in handy. The problem some of the MeGUI users have is that they don't have the codecs to play YV12 installed but tested their script in other apps that do not require a YV12 decoder (or use a DShow one), and so they have a basically working AviSynth script that might even be encodable, but due to AVIFile requiring the YV12 decoder they cannot start without installing that codec first.

Either way I'd understand if you won't support AviSynth because it's not really a media file.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 10th July 2005, 00:41   #39  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Doom9> Seems to not be too difficult, if you wish only to support AVS with .AVI in it, or D2V in it (if D2V has VOB in it for example), because I can write basic AVS and D2V parsers to extract original filenames. Is it why you wish? if yes, OK, I will do it because this is not opposite of MediaInfo philosophy.
And : do you know AVS with other than D2V or VOB? If yes, I am interested to have examples. (maybe in private)
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 10th July 2005, 00:49   #40  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Well, I suppose the most common use case is an AviSynth script with a d2vsource in it.

Other options are AviSource, WavSource, DirectShowSource and AC3Source. I'm not sure how mencoder and co read AVS sources.. definitely not through AVIFile but most Windows Applications use AVIFile as AviSynth appears to be just another VfW decodeable format. I think parsing the script and looking what's in there could provide to be dangerous.. actually rendering sounds more promising.. for the specifics I'd check x264 or mencoder source code (probably the latter since it's smaller).
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 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 10:50.


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