Quantcast Mencoder: Weird Playback When Authoring with Ifoedit - digitalFAQ.com Forums [Archives]
  #1  
05-30-2004, 06:01 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
Well, back to the forums... with a new unit in my family: It's a boy!

And back to mencodings, also (whenever there's time free ).

My problem: I'm trying to fit in a DVD+-R Matrix reloaded and revolutions (revolutions better than reloaded, still worse than Matrix), with spanish ac3 384 kbps + english ac3 192 kbps + subtitles, each film.
I managed to encode the m2v file (vbitrate 1813, not that bad), mencoder reported several buffer underflowmin. But when authored with IFOedit, it complained of buffer underruns detected, and when playing with standalone, it freezes while playing, as in slow motion, ainly in fast action scenes.

"A too high bitrate issue" I thought, and reencoded with vrc_maxrate=7500 (instead of 8500), but still the same. Tried just muxing video with spanish audio track, and the same.

I authored then with TMPG DVD author (just 1 audio track, as I don't know how to author 2 audio tracks for 1 m2v file), and didn't complain about anything... and play's well.

Is it a mencoder video stream error?, I think not... or not the only problem. I think IFOedit is also working wrong.
Can I add 2 audio tracks and subtitles with TMPG DVD author?
Am I doing anything wrong in IFOedit?
Has anyone come across this kind of trouble ever?

... now I'm begining to use dvdauthor, and see if it fixes it...
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  
05-30-2004, 06:21 PM
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 digitall.doc
Well, back to the forums... with a new unit in my family: It's a boy!
Congratulations (y felicidades!)


-kwag
Reply With Quote
  #3  
05-30-2004, 07:07 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
I would like to say congrats also digitall.doc

Reply With Quote
  #4  
05-30-2004, 07:27 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digitall.doc
Well, back to the forums... with a new unit in my family: It's a boy!
Congrats also digitall.doc on the birth of your new baby boy.
__________________
Regards.

Michael.
Reply With Quote
  #5  
05-30-2004, 07:52 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
FIRST!!! : CONGRATULACIONESSS para el nuevo "mini DigiDoc" !!!!!! !!!!!!!!!!!!!!

Sencond.... :

As you deal with "buffer underflow"'s that means you got Bitrate drops below the level IFOedit or your Standalone tolerates. Therefore a reduction of vrc_Maxrate wont solve that issue.
A solution in most cases is ADDING NOISE, as Kwag proofed that a little amount of noise after a hq3dn does avoid dropping the bitrate on dark scenes into too low regions
Reply With Quote
  #6  
05-31-2004, 03:41 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
Thanx a lot to you all, guys (Kwag, Bigggt, Zyphon, inc, and all) . We're really happy... even I just slept about 6 hours and not continued) in last five days ... but really happy.

Thanx Inc for the hint. I'm sorry I didn't give all the info. I already used added noise with noise=3th (as tested by kwag for 704x576 encodings), even it didn't look like a too low minrate problem that made the player freeze (it happens in fast action scenes).
And I also don't think the problem is in the stream, since with TMPG DVD author, and the same m2v stream that gave buffer unferflow errors, it plays great in my SAP...

So maybe the problem is in a setting I didn't use well in IFOedit.

Maybe this is not really a question to be posted here, since it seems to me more a authoring related question.
I downloaded dvdauthorgui 0.9 and will try with it, since with TMPG DVD author I just can use 1 audio track,and no subtitles...

... and thank you again (yeepeee )
Reply With Quote
  #7  
05-31-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
Already tried with dvdauthorgui.
It authors the DVD with 2 audio tracks without reporting any buffer underrun.
OK then.
But it needs subtitles in text format and I had in .sup. Tried with VobSub and feeding the .sub to spumux and gave an error.
So it doesn't seem to be an error in the stream, at least in the two applications tested. Still don't know what is wrong with IFOedit (usually does well).
I'll try to create a working .sub or .srt file, and see if after muxing everuthing with dvdauthor, it plays well.
Reply With Quote
  #8  
05-31-2004, 05:43 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
As I know "Subrip" can produce text subtitels ?!
Reply With Quote
  #9  
06-01-2004, 04:56 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
Well, I keep in the battle...

Thanx Inc, I ripped subtitles in .srt and .sst format (last one with bitmaps).
Authored with dvdauthorgui, and accepted the srt subtitles. No bufferunderruns detected (it uses mplex). Plays OK in PowerDVD. But, in my SAP it plays bad again, in a step-by-step way.
BitrateViewer reports (well, you've really to look for it) minimum bitrates above 130 kbps.
A friend of mine has Sonic ReelDVD, so I tried it. It complains, when trying to mux, of too high bitrate (?!), and didn't accept it (it recommends to employ lower maxrate or less tracks...).

I'm thinking about:
1- Reencode ( ) with maxrate=7500
2- And/Or employ noise=4th, but I'm afraid it'll be too much and will begin to be noticeable.
Reply With Quote
  #10  
06-01-2004, 05:29 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
I always do not go above max=8000 and I never had bitrate peak overflow problems, .. seems that your movie is a special "friend" for mencoders high bitrates

BTW: Could you post your bat file??
Reply With Quote
  #11  
06-06-2004, 04: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
Hi all!.
Sorry Inc, I left your question unanswered for too long, but I've been upgrading my system (I've got a new 160 GB HDD ) and as I'm not very good on this, it took me a lot of time to "transport" everything to the new drive. Well, working OK now... and back to mencodings (is Phil leaving us? )
Here is my bat:
Code:
Mencoder.exe -include temp.conf -lavcopts vbitrate=1813:vpass=1 "D:\revol\vobs\
VTS_01_1.vob" -o "D:\revol\revolv2.m2v"
Mencoder.exe -include temp.conf -lavcopts vbitrate=1813:vpass=2 "D:\revol\vobs\
VTS_01_1.vob" -o "D:\revol\revolv2.m2v"
... and the conf file
Code:
of=rawvideo=1
ovc=lavc=1
nosound=1
noskip=1 
vf=yuvcsp,crop=672:424:24:76,hqdn3d=3:3:6,unsharp=c3x3:-1.5,noise=3th,
expand=704:576:16:76
lavcopts=vcodec=mpeg2video:vrc_eq=tex:vmax_b_frames=2:vrc_maxrate=7500:trell=1:cbp=1:
autoaspect=1:keyint=15:vrc_buf_size=1835:preme=2:precmp=2:scplx_mask=0.3:vqblur=0:
vqmin=2:mbqmin=2:lmin=1:intra_matrix=8,...,79:inter_matrix=16,...,44
ofps=25
Why do I go to vqmin=2?. Easy: in BitrateViewer minimum Q value is above 2; and even with maxrate=7500 I still get bitrate peaks above 9000... And the film is Matrix Revolutions, not that difficult to encode.
I still don't really know where the problem is. The player doesn't freeze as it freezed with mpeg1 files and bitrates<200. The player plays in a step by step way, in fast action scenes. It looks to me a too high bitrate (but 9400 is not that high, if we don't consider 2 audio and subtitle multiplexed), or a buffer problem. But buffer is OK for DVD. That's why I'm trying to lower high bitrate peaks. I'll reencode with lmin=1.7 and vrc_maxrate=7000, and see.

I guess it's difficult to encode this film in 704x576 anamorph and average bitrate=1813. But I want to see how to solve this. We can learn a lot with this kind of challenges.

I'm thinking about making a table with video aspect and bitrate, since lmin value is different when trying to encode a 704x576 and avg 1800 film, than when encoding a 352x576 film and avg 3000.
We could post our experience in a thread, and make a table... and then we could use it in PackShot, and depending on the aspect and the bitrate, choose a suitable lmin value.
Reply With Quote
  #12  
06-06-2004, 05:02 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digi.doc
Well, back to the forums... with a new unit in my family: It's a boy!
Many congratulations Digi.doc
I'm sorry I'm posting it only a full week late because I didn't notice your post.
I wish the best for the boy, you & your family.
Cheers
__________________
Rui
Reply With Quote
  #13  
06-06-2004, 05:08 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
Obrigado Rui .
Oh, please, nevermind, don't sorry for this.
Thanx a lot for your kind wishes. We're really happy... and are begining to sleep even 4 hours continued in the night
Reply With Quote
  #14  
06-08-2004, 11:09 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
Well friends, I have reencoded Matrix Revolutions about 5-6 times...
My last settings: vqmin=2, mbqmin=2, lmin=1.4, vrc_maxrate=7000
The stream has a bitrate peak about 8200 (bitrateviewer), avg Q 3.3. During encoding I got "just" 8-10 buffer underflowmin.
Muxed with IFOedit without an error.
When playing... again the "step-by step" play, in the same scenes it used to (some scenes it used to do it, now it doesn't).

Don't know what else to do . I could try doing it non-anamorph, or lower resolution to 528x576, and see if it helps. But I would like to know if with my actual settings (704x576 anamorph) I can still use mencoder,... and play the stream with my SAP. In fact, when played in my PC, it looks great!, even with avg 1813.
I'm thinking about using a lower vratetol value (default 8000) to "moderate" speed in bitrate raises and fallings (as my player "slows" the playing when comes a fast action scene), but I'm afraid it will result in blocks at the begining of action scenes...

Any hint?,... pleeeease
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Authoring: IfoEdit causes jerky audio and video? zaanvander Authoring VCD, DVD, Blu-ray 1 09-25-2004 03:16 AM
Mencoder: AC3 files produced by ac3enc.dll freeze when Authoring Zyphon Video Encoding and Conversion 30 05-27-2004 11:18 AM
IfoEdit dá erro "O IfoEdit.exe encontrou um problema... aljr Conversão e Codificação de Vídeo (Português) 1 05-17-2004 04:18 PM
Forum behaving very weird! Jellygoose Off-topic Lounge 11 11-14-2003 10:55 PM
Use Ifoedit V0.95 for Simple DVD Authoring black prince Authoring VCD, DVD, Blu-ray 4 09-20-2003 10:35 AM

Thread Tools



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