Quantcast Mencoder Extra Settings Makes Quality Worse? - Page 3 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #41  
05-03-2004, 10:25 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
cat D:\PathToVobs\*.VOB | mencoder <options> -
Yes, Inc, this is what I referred to when talking about piping mencoder.
But cat didn't work for me.
I used type instead:
Code:
type %source%*.vob|%menc%\mencoder -include %menc%\mplayer\dvd.ini -vf <filters> -lavcopts <functions> -o %output%film.m2v  -
Where:
%source% is the path for source file (where vobs are stored)
%menc% the path to mencoder.exe
dvd.ini some settings I use (substitute it with the conf generated by mencodeme)
%output% the path for the output file
and it's very important the last "-"

Try it and see if it works with you.
(oops, I see this thread has really gone off topic. And the topic about extra settings in mencodeme was really interesting)
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
  #42  
05-03-2004, 10:27 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
If that works, we could really give up getting d2v working

Why is that "-" that importand as last letter in the line
Reply With Quote
  #43  
05-03-2004, 10:31 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Inc, I don't really know.
I guess that, as we don't give mencoder any input file, this last - says mencoder that vobs are the input file.
But don't know at all. You'll get better explanations from others.

I cannot help, but we'd better find a way for mencoder to load and work fast with avs files...
Reply With Quote
  #44  
05-03-2004, 10:42 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
Yep Digitall.Doc!

But I want to get streams now be treaten only by mencoder --- the more direct elegand way --- as to me it seems mencoder gots a very big potential in its filter count/functions. Look at the mencoder cropping/resize etc. thread in here, where I did count just "some" of the filters and for shure a link to a comparing site of mencoder filters
I dont want to leave Avisynth generally, nooo
But if I got that motor-mencoder which already drives faster using "less octane" ... porque hecharle la gazolina de 98oct.????

My intention: No more DVD2AVI, no more AC3 demuxing and all these complex steps.
Just VOB in and m2v and AC3(s) out ... and thats possible in a very good quality - I just saw this weekend.
Reply With Quote
  #45  
05-03-2004, 10:49 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Look at the mencoder cropping/resize etc. thread in here, where I did count just "some" of the filters and for shure a link to a comparing site of mencoder filters
Thanx Inc, I already know this thread, since there you explained some filters as an answer to a post of mine ( )
Quote:
I dont want to leave Avisynth generally, nooo
Neither do I. Yes, mencoder has got a lot internal filters. But I think it's light year distance to avisynth. And I think that it may be easier to develop new avisynth filters than filters for mencoder.
Quote:
... porque hechar le la gazolina de 98????

Quote:
Just VOB in and m2v and AC3(s) out ... and thats possible in a very good quality - I just saw this weekend.
how, how?, tell me, tell me.
Reply With Quote
  #46  
05-03-2004, 10:59 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 digitall.doc
Quote:
I dont want to leave Avisynth generally, nooo
Neither do I. Yes, mencoder has got a lot internal filters. But I think it's light year distance to avisynth. And I think that it may be easier to develop new avisynth filters than filters for mencoder.
Well lets wait! As you see already Kerneldeint() is "ported" to mencoder .... and from here on im assuming: As avs .dlls are written in C++ it would be a nice port if implementating these in mencoder.
Once mencoder gets in most peoples brain .... programmers also do think about it
Quote:
Quote:
Just VOB in and m2v and AC3(s) out ... and thats possible in a very good quality - I just saw this weekend.
how, how?, tell me, tell me.
Just stay tuned! As work is in progress ...
Reply With Quote
  #47  
05-03-2004, 11:05 AM
Peder Peder is offline
Free Member
 
Join Date: Feb 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
digitall.doc : I guess that, as we don't give mencoder any input file, this last - says mencoder that vobs are the input file.
Sort of, - is unix for "read from standard input"; which is connected to the standard output you piped the files through.
Reply With Quote
  #48  
05-03-2004, 03:44 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Peder,
thanx for your better explanation.
I guess it works similar in windows cmd.
Reply With Quote
  #49  
05-04-2004, 04:37 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I went and found a cygwin compiled cat.exe for dos.

It works fine (hd thrashes a bit, less than copy... but way way more than our std avs-avi-mencoder route). BUT.. wait for it.. wait for it..

Encode speed was 2 fps !!!!! (my normal is 8 to 14 fps, 20 on low bitrate scenes). Wierd or what - I thought it'd be faster!!??
__________________
|
Meeow!
Reply With Quote
  #50  
05-04-2004, 12:35 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 digitall.doc
Quote:
Originally Posted by incredible
cat D:\PathToVobs\*.VOB | mencoder <options> -
Yes, Inc, this is what I referred to when talking about piping mencoder.
But cat didn't work for me.
I used type instead:
Code:
type %source%*.vob|%menc%\mencoder -include %menc%\mplayer\dvd.ini -vf <filters> -lavcopts <functions> -o %output%film.m2v  -
Where:
%source% is the path for source file (where vobs are stored)
%menc% the path to mencoder.exe
dvd.ini some settings I use (substitute it with the conf generated by mencodeme)
%output% the path for the output file
and it's very important the last "-"

Try it and see if it works with you.
(oops, I see this thread has really gone off topic. And the topic about extra settings in mencodeme was really interesting)
What about?: (Taked from Incredible batch file)

Quote:
REM ---------------------------- Setting Variables ------------------------

Set videoa="G:\VOBS\VOB1"
Set videob="G:\VOBS\VOB2"
Set videoc="G:\VOBS\VOB3"
Set audioa="G:\VOBS\VOB1 AC3 T02 3_2ch 384Kbps DELAY 0ms"
Set audiob="G:\VOBS\VOB2 AC3 T02 3_2ch 384Kbps DELAY 0ms"
Set audioc="G:\VOBS\VOB3 AC3 T02 3_2ch 384Kbps DELAY 0ms"

REM --------------------------- Videoencoding Part -----------------------

mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoa%.avi -o %videoa%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoa%.avi -o %videoa%.m2v

mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videob%.avi -o %videob%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videob%.avi -o %videob%.m2v

mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoc%.avi -o %videoc%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoc%.avi -o %videoc%.m2v

REM --------------------------- Audioencoding Part -----------------------

"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioa%.ac3 -output %audioa%new.ac3 -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )

"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audiob%.ac3 -output %audiob%new.ac3 -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )

"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioc%.ac3 -output %audioc%new.ac3 -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )


REM --------------------------- Joining video results Part -----------------------

cat %videoa%.m2v %videob%.m2v %videoc%.m2v | mencoder -ovc copy -o VS.m2v

REM --------------------------- Joining audio results Part -----------------------

copy /b %audioa%.ac3+%audiob%.ac3+%audioc%.ac3 AS.ac3

REM --------------------------- Multiplexing Part -----------------------

mplex command line for multiplexing
-ovc copy, just copy from source to target with no encode.

But from http://www.mplayerhq.hu/DOCS/HTML-si...html#id2884943
Quote:
Q: How can I join two video files?
A:This has been discussed to no end on mplayer-users. Go search the archives for a complete answer. This is a complicated topic and your mileage may vary a lot depending on the kind of files you want to merge. MPEGs can be concatenated into a single file with luck. For AVIs there are two tools, avidemux and avimerge (part of the transcode tool set), available that might do the job. You can also try MEncoder if you have two files sharing the same dimensions and codec. Try

cat file1 file2 > file3
mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi
-forceidx needed for files bigger than 2GB.
Reply With Quote
  #51  
05-04-2004, 05:41 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Prodater,
is cat working for you?. Since somebody told me (bilu I think) that cat was for unix platforms and type for windows cmd.
Never tried to join files this way, but I right down the suggestion in case I have to do it (post your results if you tried). Because I usually put 2 films per DVD and author with DVDlab or TMPGEnc DVD author. That means individual videos, not joined at all.
Reply With Quote
  #52  
05-04-2004, 06:29 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 digitall.doc
Hi Prodater,
is cat working for you?. Since somebody told me (bilu I think) that cat was for unix platforms and type for windows cmd.
Never tried to join files this way, but I right down the suggestion in case I have to do it (post your results if you tried). Because I usually put 2 films per DVD and author with DVDlab or TMPGEnc DVD author. That means individual videos, not joined at all.
I am making just in a theoretical way. I don't need usually joint such big files. I think if FAT32 don't permit joint previous file, maybe it could be make later with encodes files.
I don't know any cat command in Windows OS. Surely you are right.
Then, change cat command for type one.
Maybe Inc. could text it when he would have time.
Reply With Quote
  #53  
05-05-2004, 06:48 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
The Idea was ....

Giving mencoder a command to automatically continiue using the next part of the splitted vobs, so 1 videostream of each movie would be come out encoded.

If you just want to merge partially encoded m2vs you also can use the

copy /b .... command to merge the m2vs to a total m2v and after this
del .... command to delete the partial m2vs

As we use this to merge splitted VOBs ..?

Reply With Quote
  #54  
05-05-2004, 07:33 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 incredible
If you just want to merge partially encoded m2vs you also can use the

copy /b .... command to merge the m2vs to a total m2v and after this
del .... command to delete the partial m2vs

As we use this to merge splitted VOBs ..?


You are right. I'm not expert, i'm sorry. I would want only find a way to avoid files bigger than 2GB. Could you resume it, if you think is a good idea?
Reply With Quote
  #55  
05-05-2004, 10:14 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Just a thought -

Since the file are split into 1G chunks on the dvd anyway (or is that just how fat32 "see's" them??), what's wrong with..

Loading each vob into dvd2avi, extracting the ac3 for that vob, converting to mp2, repeat for each other needed vob.

"D:\ForCd_DvdTools_Mar04\Audio Tools\BeSweet 15b26\BeSweet.exe" -core( -input "E:\Movie\Ep1 AC3 T01 2_0ch 192Kbps DELAY 0ms.ac3" -output "E:\Movie\Ep1.mp2" ) -azid( -s dplii -c normal -L -3db ) -ota( -hybridgain ) -toolame( -m s -b 128 -e )
"D:\ForCd_DvdTools_Mar04\Audio Tools\BeSweet 15b26\BeSweet.exe" -core( -input "E:\Movie\Ep2 AC3 T01 2_0ch 192Kbps DELAY 0ms.ac3" -output "E:\Movie\Ep2.mp2" ) -azid( -s dplii -c normal -L -3db ) -ota( -hybridgain ) -toolame( -m s -b 128 -e )


then run each vob into mencoder with a batch file

Mencoder -include "Vcd movie.ini" "E:\movie\VIDEO_TS\VTS_02_1.VOB" -o "E:\movie\Ep1.mpg"
Mencoder -include "Vcd movie.ini" "E:\movie\VIDEO_TS\VTS_03_1.VOB" -o "E:\movie\Ep2.mpg"

Then mux each mpg with it's own mp3, then write those final mpgs to a cdr without any time gaps between movies (so they'd run on into each other).

(another way would be to extract the ac3 for the whole movie, convert it, then do each vob seperate, than copy /b pt1.mpg + pt2.mpg + ... final.mpg. Then remux the mp2 into it.)

Would either of those work?

<edit> Actually, I'm trying it now, overnight, so we'll see huh! (ps funnily enough, it is faster now, 28fps (dunno what the previous lows of 2fps were... maybe xp needed rebooting (yes, it does, just as often an 98 and 95 did!!).
__________________
|
Meeow!
Reply With Quote
  #56  
05-06-2004, 09:26 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Wow!!

It's beoootuful!!..

I've also since found that besweet read from vobs!! so the audio batch file is

"D:\ForCd_DvdTools_Mar04\Audio Tools\BeSweet 15b26\BeSweet.exe" -core( -input "E:\Movie\VIDEO_TS\VTS_02_1.VOB" -output "E:\Movie\Ep_02_1.mp2" ) -azid( -s dplii -c normal -L -3db ) -ota( -hybridgain ) -toolame( -m s -b 128 -e )

"D:\ForCd_DvdTools_Mar04\Audio Tools\BeSweet 15b26\BeSweet.exe" -core( -input "E:\Movie\VIDEO_TS\VTS_03_1.VOB" -output "E:\Movie\Ep_03_1.mp2" ) -azid( -s dplii -c normal -L -3db ) -ota( -hybridgain ) -toolame( -m s -b 128 -e )

For each vob needed.

The video goes into mencoder as prev. post, and comes out (s)vcd mpg.

It's then muxed with either the individual mp2's (for episodic dvd's), or joined with copy /b xx +xx, then muxed with the full sized mp2 (for normal movies).

28 fps on a p3-850 celery!!!! (that's up from 8 fps using avs-avi-mencoder route).

I think I'll be dropping avisynth/fake avi and going this way (mencoder can also handle interlaced and 16:9 and widescreen stuff too - it has it's own border controls). Can anyone think of a good reason not to (I'm not doing vhs captures, or divx to (s)vcd/dvd)?
__________________
|
Meeow!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder: My settings, with BV screenshots (OBSOLETE) bilu Video Encoding and Conversion 12 04-11-2004 05:58 AM
KVCD: no success? quality worse than original? D Rated Video Encoding and Conversion 0 07-08-2003 08:58 AM
KVCD: Is chopping of the credits worth it for extra quality? audi2honda Video Encoding and Conversion 1 06-16-2003 11:22 AM
kvcd: Why is there a smaller resolution with a bigger filesize and worse quality? a_star62 Video Encoding and Conversion 0 11-22-2002 01:22 AM
How to get an extra hour on to a dvd and still get quality? digitalvideo Video Encoding and Conversion 3 07-30-2002 04:25 PM




 
All times are GMT -5. The time now is 02:42 PM  —  vBulletin © Jelsoft Enterprises Ltd