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 > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd March 2006, 01:20   #341  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
Quote:
Quote:
muxprofile to output an mp3 I receive a Windows error and QuEnc terminates
well its not supported via cli yet so nothing would surprise me that way.
No... that one is using the GUI

Quote:
Quote:
if I choose output as MP4 on QuEnc GUI and then I try to encode (via CLI) the audio (still using my scripts above) to AC3... QuEnc terminates... it seems like not being updated with the new parameters from the CLI and still try to use the last ones inserted on the GUI...
did you also try setting it to mpeg2 with "-mpeg2" since thats where the ac3 encoder is ?
I'll run some tests tomorrow (your today ) and let you know about that

Quote:
just look at all the work Rockas keeps giving me.
Yeah! but admit it... you love every minute of it (work)!!!
and besides... that's why I pay you

Quote:
haha but i like where i live. its not perfect by any means but better than other places i have been.
Well... as long as you don't come to Portugal... you'll be fine
take a look: http://www.portugalforbeginners.pt.vu/
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 22nd March 2006, 01:23   #342  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
oh! by the way... I really hope you get better quick... this ain't any fun without you
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 22nd March 2006, 02:14   #343  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,797
Quote:
No... that one is using the GUI
ok just tested it. let me guess, you tried to encode audio with more than 2 channels ? that does cause QuEnc to fail of course since normal mp3 is 2 channel max. i tried it with 2 channel source and it worked fine. you can of course also use Avisynth to downmix to 2 channel(stereo).

Quote:
besides... that's why I pay you
i get paid ? damn the postman must have been ripping off the letters with the cheques in them.

hahaha opened up the celebrity page to find
"There aren't many."
i also liked the Brad Pitt entry at the bottom.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)
dragongodz is offline   Reply With Quote
Old 22nd March 2006, 10:25   #344  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
Quote:
ok just tested it. let me guess, you tried to encode audio with more than 2 channels ? that does cause QuEnc to fail of course since normal mp3 is 2 channel max. i tried it with 2 channel source and it worked fine. you can of course also use Avisynth to downmix to 2 channel(stereo).
Yes... I thought about something like that but the main issue is that QuEnc crashes... is shouldn't... message error? yes ... crash... not good
Quote:
i get paid ? damn the postman must have been ripping off the letters with the cheques in them.
uummm... maybe he's portuguese!?!?!
Quote:
hahaha opened up the celebrity page to find
"There aren't many."
i also liked the Brad Pitt entry at the bottom.
You must read it all... I read it... it's one of the funniest things I have ever seen
Don't forget to read "Essential Portuguese" section
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 22nd March 2006, 11:01   #345  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
Quote:
did you also try setting it to mpeg2 with "-mpeg2" since thats where the ac3 encoder is ?
Sorry... you were right about this one... the problem is that I assumed that when inserting "-mpeg2mux" it would be enough ... it was working for video
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 23rd March 2006, 02:52   #346  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,797
Quote:
message error? yes ... crash... not good
of course. however this is new of course so in no way is everything done for it. you have just found 1 more thing to fix before a release version.
or think of it this way. Nic adds the basic features he wanted and leaves me the job of cleaning it up for everybody else.

Quote:
the problem is that I assumed that when inserting "-mpeg2mux" it would be enough
you do know what assumption was the mother of right ?
i will probably change some of the behaviours of commands etc to a more logical way anyway.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)
dragongodz is offline   Reply With Quote
Old 23rd March 2006, 17:26   #347  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hi all,
I would like to add my two cents concerning encoding ac3 ?

QuEnc61 always seems to reduce the audio level approximately 10db in the encoded output.

Following list should explain:

> than 0 db input.. -10db output
0 db input.. -10db output
-3 db input.. -13db output
-6 db input.. -16db output


Number of channels makes no difference in the output.

10db is a heavy reduction in volume. Don’t remember anyone ever complaining about it. But it has been a long time.

Just wanted to add this to the list.

Thanks Dragon
Ebobtron is offline   Reply With Quote
Old 23rd March 2006, 17:55   #348  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
Yes I believe you are right... I was suspicious about it but I was not sure...
I thought it could be a difference between players and not an encoder result and since I'm busy with other issues I didn't gave it any importance

edit: I made a quick review on my SynthEditor (development) notes (yes... sometimes I take some notes ) and there it was.
Quote:
Remember to verify sound output volume... sound seems low... AviSynth problem?
Trying todo:
Don't forget to try "normalize" on AVS Script!!!
[Sorry for the bad english - direct translation from portuguese ]
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software

Last edited by Rockas; 23rd March 2006 at 18:01.
Rockas is offline   Reply With Quote
Old 24th March 2006, 13:42   #349  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,797
Quote:
always seems to reduce the audio level
yes a known problem. you can find out more in the audio section. other programs use things like normalisation from memory to fix it. will have to relook over those threads again.

of course you can increase volume in Avisynth aswell to reduce this problem aswell.

actually going from memory there was a patch submutted a long time ago to the ffmpeg mailing list that was meant to fix this. it was not accepted for whatever reason. i did look for it before but failed to find it. now if someone still had that floating around it could be helpful.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)
dragongodz is offline   Reply With Quote
Old 24th March 2006, 17:01   #350  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
Well.. I just added a "AmplifyDB(9)" to my "Audio to encode script"... I put 9 'cause it seemed to my hears that 10 was exagerated and maybe 9... I'll wait for some feed back about this but I feel like 8 would be a good value...
I'll keep on testing
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 24th March 2006, 18:13   #351  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
@dragongodz
yes, I thought the ac3 levels issue had been bounced around. It has been so long I remember it not.

@Rockas
I can only offer this caution. QuEnc has some kind of limiter or clamp working, but shows no signs of normalization for low or high level input. My ears tell me some clipping begins if I push the input level to high.

I believe, and my tests show that the max output of QuEnc's ac3 encoder is -10db. You may input +20db, I think you will find a -10db out which sounds clipped. If you input -10db your result will be -20db.

dragongodz’s suggestion to normalize would make more sense.

But I think for know -10 is all we are going to get.
Ebobtron is offline   Reply With Quote
Old 24th March 2006, 18:29   #352  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
I made a few tests with "AmplifyDB(9)" and it didn't look like cliping is occuring... I just released my new SynthEditor with AmplifyDB(9) enabled... can you try it for a little?

In the mean time I'll try with some more different sources.

Quote:
dragongodz’s suggestion to normalize would make more sense.
ummm... I don't know about that... if QuEnc encodes -10db then the sound will always get a lower level... maube it can help a little but...

thank you
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 24th March 2006, 20:36   #353  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Would it be possible to implement DV encoding in QuEnc? Unless I'm mistaken, its just a specific case of mpeg-2, right?
Zarxrax is offline   Reply With Quote
Old 24th March 2006, 20:38   #354  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,509
At this point SynthEditor is supposed to encode DV using AviSynth... QuEnc for audio and QuEnc/HC for video... target size will be accurate... I hope
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 25th March 2006, 03:31   #355  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Quote:
Originally Posted by Rockas
At this point SynthEditor is supposed to encode DV using AviSynth... QuEnc for audio and QuEnc/HC for video... target size will be accurate... I hope
Oh, interesting
Zarxrax is offline   Reply With Quote
Old 25th March 2006, 08:00   #356  |  Link
communist
Registered User
 
Join Date: Jul 2003
Posts: 1,152
Quote:
Originally Posted by Zarxrax
Would it be possible to implement DV encoding in QuEnc? Unless I'm mistaken, its just a specific case of mpeg-2, right?
No its more like an "advanced MJPG".
Since QuEnc uses libavcodec a LOT of formats could be added but I dont think thats what everyone wants - since implementeng / testing / bug-fixing etc. them will take quite some time.
communist is offline   Reply With Quote
Old 25th March 2006, 21:14   #357  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,484
@ dragongodz

Libavcodec (and QEnc) seem buggy for quant value only for MPEG2.

OSD for ffdshow show x2 real scaling for quantizer (only 2,4,6,8 ... etc etc)
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 26th March 2006, 01:46   #358  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,797
Sagittaire - can you explain in a bit more detail what you mean ?
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)
dragongodz is offline   Reply With Quote
Old 26th March 2006, 02:34   #359  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Sagittaire, I believe it is probably a bug in FFDshow. Try with a different encoder. Using TMPGenc at the highest bitrate settings FFDShow says its using Quant 2.

Also examining the files (mpeg1 only, there should be no difference though) in MPEG_Stat, reports that the frames are encoded at Quantizer 1.


dragongodz: can we maybe expect a new beta version soon, I hope?

Last edited by Zarxrax; 26th March 2006 at 02:39.
Zarxrax is offline   Reply With Quote
Old 26th March 2006, 13:08   #360  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,484
Quote:
Originally Posted by Zarxrax
Sagittaire, I believe it is probably a bug in FFDshow. Try with a different encoder. Using TMPGenc at the highest bitrate settings FFDShow says its using Quant 2.
1) I'ts wrong : TMPGEnc max quality (CQ100) done quantizer 1 for each macroblock without vbv limitation. FFDShow OSD macroblock quantizer show that only for Libavcodec MPEG2. MPressionist MPEG-2 Analyzer seem show same quantizer than FFDShow.

2) In fact Libavcodec show internaly that it use 1, 2, 3 ... etc but in fact Libavcodec apply x2 scaling for quantizer and use only 2, 4, 6 ... etc for each frame or macroblock if you use adaptative quantisation.

You can make little experience too:
Libavcodec constant quant encoding q2 done approximatively the same bitrate than all other MPEG2 encoder (HC, TMPGEnc, CCE ... etc) at q4 with same source, matrix, dc ... etc

In fact Libavcodec can't simply use impair quantizer for MPEG2 (for frame or macroblock) and use only pair quantizer. This "bug" can explain for example saturation for Libacodec at very high bitrate because use quantizer 1 is simply impossible ... ???
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 26th March 2006 at 13:25.
Sagittaire 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 08:42.


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