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-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th January 2009, 19:06   #1  |  Link
dcrht
Registered User
 
Join Date: Jan 2009
Posts: 4
Mencoder b-frame question

Hi, I am a newbie who just started to learn how to encode about 2 weeks ago. Everything seems OK but when I try to use B-frame, there is stuttering produced (but nothing wrong in mplayer).

I cancel all options except b-frame in this video.

mencoder Robotica_1080.wmv -o test.mp4 -nosound -ovc x264 -x264encopts bitrate=1350:bframes=1:level=41:global_header:keyint=150 -vf scale=640:-2,expand=aspect=16/9 -fps 24000/1001 -of lavf

Please help me

--
Video source: http://download.microsoft.com/downlo...otica_1080.exe
dcrht is offline   Reply With Quote
Old 12th January 2009, 19:17   #2  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,643
MEncoder does not support MP4 output with libavformat perfectly. Just output the video as an H.264 elementary stream (-of rawvideo -o video.264) and mux it later with MP4Box.
nm is offline   Reply With Quote
Old 12th January 2009, 19:20   #3  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,071
MEncoder displays this warning for a reason, I think

Code:
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
Solution: Use the "standalone" x264 CLI encoder. MEncoder can write "raw" output to STDOUT and x264.exe can grab the frames from STDIN.

x264 does write proper MP4 and MKV files.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 12th January 2009 at 19:27.
LoRd_MuldeR is offline   Reply With Quote
Old 14th January 2009, 01:38   #4  |  Link
recover
Registered User
 
recover's Avatar
 
Join Date: Dec 2006
Posts: 32
It's pretty funny that both libavformat and MPlayer are broken and in effect they work together :P
recover is offline   Reply With Quote
Old 14th January 2009, 01:57   #5  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,689
Quote:
Originally Posted by recover View Post
It's pretty funny that both libavformat and MPlayer are broken and in effect they work together :P
Libavformat isn't broken--the way mencoder interfaces with it is.
Dark Shikari is offline   Reply With Quote
Reply

Tags
mencoder, x264

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 23:52.


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