digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencoder: Weird playback when authoring with ifoedit (http://www.digitalfaq.com/archives/encode/9980-mencoder-weird-playback.html)

digitall.doc 05-30-2004 06:01 PM

Mencoder: Weird playback when authoring with ifoedit
 
Well, back to the forums... with a new unit in my family: It's a boy! :D

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

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...

kwag 05-30-2004 06:21 PM

Re: Weird playback when authoring with ifoedit.. mencoder er
 
Quote:

Originally Posted by digitall.doc
Well, back to the forums... with a new unit in my family: It's a boy! :D

Congratulations (y felicidades!) :D
:ole:

-kwag

bigggt 05-30-2004 07:07 PM

I would like to say congrats also digitall.doc

:D

Zyphon 05-30-2004 07:27 PM

Re: Weird playback when authoring with ifoedit.. mencoder er
 
Quote:

Originally Posted by digitall.doc
Well, back to the forums... with a new unit in my family: It's a boy! :D

Congrats also digitall.doc on the birth of your new baby boy. :)

incredible 05-30-2004 07:52 PM

FIRST!!! : CONGRATULACIONESSS para el nuevo "mini DigiDoc" !!!!!! !!!!!!!!!!!!!! :D :D :D :D

Sencond.... :wink: :

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 ;-)

digitall.doc 05-31-2004 03:41 AM

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 :roll: ... 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 :D)

digitall.doc 05-31-2004 05:41 PM

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.

incredible 05-31-2004 05:43 PM

As I know "Subrip" can produce text subtitels ?!

digitall.doc 06-01-2004 04:56 PM

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 ( :roll: ) with maxrate=7500
2- And/Or employ noise=4th, but I'm afraid it'll be too much and will begin to be noticeable.

incredible 06-01-2004 05:29 PM

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 8O

BTW: Could you post your bat file??

digitall.doc 06-06-2004 04:44 PM

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 :wink: ) 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.

rds_correia 06-06-2004 05:02 PM

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 :ole:
I'm sorry I'm posting it only a full week late :oops: because I didn't notice your post.
I wish the best for the boy, you & your family.
Cheers

digitall.doc 06-06-2004 05:08 PM

Obrigado Rui :wink: .
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 8O
:lol:

digitall.doc 06-08-2004 11:09 AM

Well friends, I have reencoded Matrix Revolutions about 5-6 times... :roll:
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


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.