Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mencoder problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed May 26, 2004 4:10 pm    Post subject: mencoder problems Reply with quote

I'm trying to reencode a lot of files, most are ok, but some have some damage. I get theese errors in mencoder:

Code:

[mpeg1video @ 0x83fe7d0]skiped MB in I frame at 21 10A-V:0.000 [708:137]
[mpeg1video @ 0x83fe7d0]concealing errors
[mpeg1video @ 0x83fe7d0]Warning MVs not available


when I watch the result the video skip is not noticable, but the audio doesen't skip at all, so the video goes out of sync.

anyone have any suggestions?

Using theese settings:
Code:

mencoder -ovc frameno -mc 0 -noskip -oac mp3lame -lameopts br=128:q=4:aq=4 "$filename" -o frameno.avi || exit 1
mencoder -ovc lavc -mc 0 -noskip -lavcopts vcodec=mpeg4:vbitrate=600:vhq:vpass=1 -oac copy "$filename" -vf crop=352:192:0:22,hqdn3d -o "test.avi"
mencoder -ovc lavc -mc 0 -noskip -lavcopts vcodec=mpeg4:vbitrate=600:vhq:vpass=2 -oac copy "$filename" -vf crop=352:192:0:22,hqdn3d -o "test.avi"



Also if anyone has any suggestions on better codec choice that'd be great, I can encode the files like that, they'll drop to 50% of original size without any change in quality whatsoever. I just wanna reduce the size without desync'ing em :/

Also if there are any compression algorithms like gzip specialized for media (so it actually gave ok compression rates), that'd be great. A way to compress them fairly well and know I wont screw up the result file.
Back to top
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Wed May 26, 2004 5:37 pm    Post subject: Reply with quote

Hi,

the 3-pass encoding (frameno-thingy) is known to cause sync problems, so I suggest you to drop that part out. You can read about that in mplayer mailinglists.

HTH,
/tetra
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed May 26, 2004 5:47 pm    Post subject: Reply with quote

but 2pass will work right?

I'll try 2pass right away :), thanks for the hint.
Back to top
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Wed May 26, 2004 7:08 pm    Post subject: Reply with quote

neuron wrote:
but 2pass will work right?

I'll try 2pass right away :), thanks for the hint.

I use 2-pass encoding when making KSVCD's, it works perfectly.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed May 26, 2004 8:16 pm    Post subject: Reply with quote

bah, still get the desync :/, any options to try to skip a piece of the audio if it skips a frame?
Back to top
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Thu May 27, 2004 7:39 am    Post subject: Reply with quote

neuron wrote:
bah, still get the desync :/, any options to try to skip a piece of the audio if it skips a frame?

Perhaps mencoder thinks your sourcefiles are badly encoded? Have you tried searching from mplayer mailinglists? I bet you get better help relating mencoder from there.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu May 27, 2004 9:34 am    Post subject: Reply with quote

tetrahydroc wrote:
neuron wrote:
bah, still get the desync :/, any options to try to skip a piece of the audio if it skips a frame?

Perhaps mencoder thinks your sourcefiles are badly encoded? Have you tried searching from mplayer mailinglists? I bet you get better help relating mencoder from there.


yeah, sent a mail to their mailinglist now, we'll see if I can get some solutions out of them :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum