Quantcast Packshot: Why Not AVI Audio? and Other Questions... - digitalFAQ.com Forums [Archives]
  #1  
07-28-2004, 08:47 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
1 - Why not avi audio support.
2 - If selected direct avi input, but not avi > MakeAvis, does PackShot apply filters?
3 - Can PackShot take 1 movie 4 vobs (systems that does not support 4Gb files) and give us 1 m2v and 1 ac3 or mp2 for KDVD, and 1 mpg for KVCD mpeg2?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
07-28-2004, 08:52 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Surely because Packshot is designed to be used for DVD and Inc just added the avi support because too much people (including myself ) asked for it. But Inc never said he will provide a full-featured tool.
Reply With Quote
  #3  
07-28-2004, 08:58 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Surely because Packshot is designed to be used for DVD and Inc just added the avi support because too much people (including myself ) asked for it. But Inc never said he will provide a full-featured tool.
But it wouldn't be to hard add audio avi support, and if avi video is supported already, it would be a great thing.
(Please read my edited first post)
Reply With Quote
  #4  
07-28-2004, 09:07 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
2/ yes
3/ no
Reply With Quote
  #5  
07-28-2004, 09:57 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Well as I know besweet does also handle direct AVI inputs and therfore a detection/conversion of the muxed audiostream of the avi.
So I have to do add to the source file parser an option to affect the besweet line.
BUT for the Interface architecture that means a lot of work as its totally IFO/VOB parsing based. So in case of AVI one AudioChannel Settings should be present/selectable which would affect Besweets AVI handling. ... hmmmmm.

I always thought of applying direct AVI audio as Im a capture Addict which would very useful (If just seen egoistic :P )

If I do understand you right related to ypur point 3 you want packshot to be able to build a multiple VOB streams pipe.
I testet some DOS commands etc. lice cat etc. but it didnt worked, so as since some time some updates of the CVS releases have been rleased that could now be possible via a mencoder command? Or is it possible to do that via DOS?
Packshot JUST writes a commandline so IF its possible, that could be done.

As told in another Thread im poco a poco in packshot upgrading progress, but now I got a lot to do, the new Mencalc is 99% ready (including Movie Pixel area determination and first crop and then resize/add borders).
So its all about time
Reply With Quote
  #6  
07-28-2004, 10:09 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
1 - Why not avi audio support.
Why not use DIKO for AVI inputs

-kwag
Reply With Quote
  #7  
07-28-2004, 10:15 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Why not use DIKO for AVI inputs

-kwag
Because I like mencoder and not quenc.
Reply With Quote
  #8  
07-28-2004, 10:23 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by kwag
Quote:
Originally Posted by Prodater64
1 - Why not avi audio support.
Why not use DIKO for AVI inputs

-kwag
Now as you say it Karl I do remember!
When Packshot was released I already did release a Appl./Gui with the same purpose like MencodeME and the AVI to DVD part (I think) is the one which is kept by VM and his DIKO
He doesnt got a monopol but DIKO was/is perfect for AVI handling and so why inventing the book two times again.

Maybe VM got his reason not to offer mencoder encoding in DIKO, you will shurely find the answer in some DIKO threads.
Reply With Quote
  #9  
07-28-2004, 11:20 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Well as I know besweet does also handle direct AVI inputs and therfore a detection/conversion of the muxed audiostream of the avi.
Does not work very well (signal peak generated at the openin of the file that make the remainder of the track near silent if you use a "normalize" option
Reply With Quote
  #10  
07-28-2004, 12:34 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Well as I know besweet does also handle direct AVI inputs and therfore a detection/conversion of the muxed audiostream of the avi.
So I have to do add to the source file parser an option to affect the besweet line.
BUT for the Interface architecture that means a lot of work as its totally IFO/VOB parsing based. So in case of AVI one AudioChannel Settings should be present/selectable which would affect Besweets AVI handling. ... hmmmmm.

I always thought of applying direct AVI audio as Im a capture Addict which would very useful (If just seen egoistic :P )

If I do understand you right related to ypur point 3 you want packshot to be able to build a multiple VOB streams pipe.
I testet some DOS commands etc. lice cat etc. but it didnt worked, so as since some time some updates of the CVS releases have been rleased that could now be possible via a mencoder command? Or is it possible to do that via DOS?
Packshot JUST writes a commandline so IF its possible, that could be done.

As told in another Thread im poco a poco in packshot upgrading progress, but now I got a lot to do, the new Mencalc is 99% ready (including Movie Pixel area determination and first crop and then resize/add borders).
So its all about time
Some hints that maybe wasn't see yet:

1 - You can put a DVD in DVD drive and obtain m2v and ac3 or mp2 files for KDVD target, or an mpg KVCD mpeg2, direct from DVD drive to KDVD or KVCD mpeg2. You can set this as an option in your GUI.

A - Audio First Pass
Code:
mencoder.exe -alang es,en -af volume=30 -noskip ovc frameno -oac lavc -lavcopts acodec=ac3:abitrate=384 -ofps 25 dvd:// -o "samples\Temp.avi"
After it:
Code:
AVI2WAVCMD samples\Temp samples\Temp1.ac3
ac3fix samples\Temp1.ac3 samples\Temp.ac3
Maybe in place of avi2wav line (it extract ac3 from temp.avi that is an special frameno.avi with fourcc FRMN) we can use BeSweet, I don't check it yet.
ac3fix line is only for security.

You can play here with:
-alang: setting it as an option in interface, you can select what language track demux.
- af:
-volume
-channels (2,4,6) Not in code over this but you can select it 2 for stereo, 4 for surround and 6 for 5.1. I don't know if it really give us a 5.1 ac3 (how must I check it?). When i did use -channels 6, actors voices was in left channel of my headset, but if channel wasn't be used, audio was ok. Maybe you can use -pan option also. If you don't use channels option, you will obtain 2 channels ac3 file.
lavc -lavcopts:
acodec=ac3 We know that mp2 is not good, but ac3 I think is good enough.
abitrate=384 as you can see, this setting can be parsed.
and other options in:
http://www.mplayerhq.hu/DOCS/man/en/...DEMUXER/STREAM OPTIONS

http://www.mplayerhq.hu/DOCS/man/en/...DING/FILTERING OPTIONS

B - After audio lines, mencoder 2 pass lines an so.

2 - You can take an avi file with mencoder and, even has 2 tracks (or more), to extract what you want (not with avi video+ogg audio files):

A - Audio First Pass
Code:
mencoder.exe -aid 1 -af volume=30 -noskip ovc frameno -oac lavc -lavcopts acodec=ac3:abitrate=128 -ofps 25 "samples\Movie.avi" -o "samples\Temp.avi"
After it:
Code:
AVI2WAVCMD samples\Temp samples\Temp1.ac3
ac3fix samples\Temp1.ac3 samples\Temp.ac3
-aid says to mencoder what track it must to extract.
Select audio channel [MPEG: 0-31 AVI/OGM: 1-99 ASF/ RM: 0-127 VOB(AC3): 128-159 VOB(LPCM): 160-191 MPEG-TS 17-8190]

B - After audio lines, mencoder 2 pass lines an so.

In this case (or better in all cases) you can add a preview of video and audio, mainly to check that audio is in correct language:

Code:
mencoder.exe -ss 10:00 -endpos 03:00 -aid 1 -af volume=30 -noskip ovc frameno -oac lavc -lavcopts acodec=ac3:abitrate=128 -ofps 25 "samples\Movie.avi" -o "samples\Temp.avi"
or
Code:
mencoder.exe -ss 10:00 -endpos 03:00 -alang es,en -af volume=30 -noskip ovc frameno -oac lavc -lavcopts acodec=ac3:abitrate=384 -ofps 25 dvd:// -o "samples\Temp.avi"
-ss 10:00 -endpos 03:00 means from ss min:sec to ss min:sec+endpos min:sec.
Both cases followed with video passes, mp2 encode, multiplex and preview with MPlayer.

3 - For multiple vobs it is so easy as:
Put in you GUI a check box for select a flag of a last vob from several.
Name vobs with a final order number:
Matrix01.vob
Matrix02.vob
Matrix03.vob
Matrix04.vob
Assigning Matrix to a variable.
Code:
Set Moviename=Movie name # (here Movie name is loaded movie name) 
Set checkvob=%Moviename:~0,-6% # (this take your movie name without 0#.vob extension)
Add a flag to last vob that means it is last vob from several.
Encode it, all vobs, as usual with a batch encode.
At end of each encode put in your code a check line that check multiple vobs flag, and if this flag is on:
cmd code
Code:
For %%G in (%checkvob%*.m2v) Do copy /b %%G %checkvob%.m2v
For %%G in (%checkvob%*.mp2) Do copy /b %%G %checkvob%.mp2 # or ac3
If target is KVCD mpeg2, multiplex it as usual.
If you were interested, I can say you a way to obtain a bin-cue file with chapters, ready to be burned.

I really think if you do all this functions, you will have the better KDVD/KVCD encoding tool until now, in spite of the mencoder lacks.
I think mencoder is, with all its functions, the better encoder at the moment.
Reply With Quote
  #11  
07-28-2004, 01:34 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Maybe VM got his reason not to offer mencoder encoding in DIKO, you will shurely find the answer in some DIKO threads.
Actually I do, and it's simple: mencoder doesn't offer an automated way to handle avisynth. Without avisynth, it's hard to add some features already present in DIKO, like multipart encode, crop, etc.
But...
I have implemented a libavcodec encoder inside DIKO, taking AVS input. This means that DIKO will have its own "QuEnc" but with a very important difference: with all internal parameters of libavcodecs unlocked. What this means? I'll be able to get the same quality we get in mencoder and we won't be limited by the bad quality parameters Nic locked in his implementation.
This will replace QuEnc in the next DIKO release. I am currently testing it.
Reply With Quote
  #12  
07-28-2004, 02:18 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Prodater

Thank you very much for your hints! Ill keep them in mind for future updates (as said my problem actually is time, thats also why im not that active with help in the newbie threads)

@ VM

Did I understood right, you did an executable based on libavcodec which will allow avs input same way as milans one does?
Reply With Quote
  #13  
07-28-2004, 02:37 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Did I understood right, you did an executable based on libavcodec which will allow avs input same way as milans one does?
Yes, but not a mencoder executable. Let's say that I created my own QuEnc. My initial idea was to make it integrated in DIKO, but I am now considering make it a independent app, accepting ECL input in the same way ECLCCE does, so it would be possible to use it with many tools.

Of course, it won't be possible to use mencoder internal filters, but it makes no sense to use avs and internal filters at the same time. My idea is leave all parameters tweakable so the output will be exactly the same as mencoder provides with avs input. Right now only the main core is done (and working, except for 2 pass which I still have to fix) but it's command-line and everything is hardcoded (so it's basically a working proof-of-concept).
Reply With Quote
  #14  
07-28-2004, 03:52 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Alpha Screenshot!


All the internal options like lmin, scplx_mask, etc will be configurable via INI.
The name is also alpha, I might change. And I'll be adding ECL support, so it will be possible to use with many CCE based apps.
Reply With Quote
  #15  
07-28-2004, 05:09 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
PS:

Quote:
Originally Posted by Prodater64
1 - You can put a DVD in DVD drive and obtain m2v and ac3 or mp2 files for KDVD target, or an mpg KVCD mpeg2, direct from DVD drive to KDVD or KVCD mpeg2. You can set this as an option in your GUI.
well, .... as many DVDs are copyprotection crypted ... they have to be descrambled before! Like via DVDdecrypter. So that would not be a good idea


@VM

Looks great!
Reply With Quote
  #16  
07-28-2004, 05:50 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Because I like mencoder and not quenc.
If I'm not wrong you are dealing with KVCD here. And if I'm still not wrong you like also mainconcept encoder. Right ?

Don't take that rude Pro because it's a real question : do you have eyes ?
Reply With Quote
  #17  
07-28-2004, 06:06 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
I am not sure if I got the spirit of your question, but there's a major difference between mencoder and QuEnc:
Some people (bliu, digitall.doc, me, rds_correa, and others) spend a lot of time testing and finding optimal parameters for libavcodec. But it's impossible to use this parameters with QuEnc simply because Nic locked the internal configuration to what he belives produce best quality. A while ago I asked him if he could add this parameters but there's more than 2 months and still nothing... On the other hand, he (along with dragonz) seems to believe that they must test and decide what produces best quality. I don't agree with this approach. Testing libavcodec parameters is hard (there are tons of combinations), why they must do this alone? Plus the latest test release of QuEnc does not feature KVCD matrix anymore (the options is there but it's another matrix)

So that's why I am coding this app: to fill the gap, because you got mencoder with hard to use AVS input but completelly tweakable, and QuEnc with easy AVS input but very little tweakable.
Reply With Quote
  #18  
07-28-2004, 06:11 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
PS:

Quote:
Originally Posted by Prodater64
1 - You can put a DVD in DVD drive and obtain m2v and ac3 or mp2 files for KDVD target, or an mpg KVCD mpeg2, direct from DVD drive to KDVD or KVCD mpeg2. You can set this as an option in your GUI.
well, .... as many DVDs are copyprotection crypted ... they have to be descrambled before! Like via DVDdecrypter. So that would not be a good idea
Why then I can take a short sample (from The Matrix DVD), reencode to a m2v and play it in my PC without any problem. Doesn't mencoder take ride of DVD protections?
Reply With Quote
  #19  
07-28-2004, 06:12 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by vmesquita
@Dialhot
I am not sure if I got the spirit of your question, but there's a major difference between mencoder and QuEnc:
As you can see my question was for mencoder and mainconcept, nbot Quenc (even if I didn't knwo all this about Qenc) .

And I hope Pro wil understand also the spirit of the question and not think it's a rude attack. Noone with his skills and habit of KVCD can stay in front of a KVCD produced by this two encoders and beeing happy with the result.
Reply With Quote
  #20  
07-28-2004, 06:16 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Prodater64
Because I like mencoder and not quenc.
If I'm not wrong you are dealing with KVCD here. And if I'm still not wrong you like also mainconcept encoder. Right ?

Don't take that rude Pro because it's a real question : do you have eyes ?
Lamentably I am blind from birth and I see the films by Braille system.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
PackShot: Audio sync problems oxycotton420 Video Encoding and Conversion 12 07-31-2004 12:57 PM
PackShot: Autoaspect maurus Video Encoding and Conversion 14 06-25-2004 11:43 PM
Using packshot and audio ? bigggt Video Encoding and Conversion 5 06-04-2004 09:54 PM
MencodeMe and Packshot bigggt Video Encoding and Conversion 5 05-19-2004 06:29 PM
PackShot to Mencoder GUI including AC3 Audio Multichannel incredible Video Encoding and Conversion 4 05-14-2004 08:43 PM

Thread Tools



 
All times are GMT -5. The time now is 04:59 AM  —  vBulletin © Jelsoft Enterprises Ltd