[MEncoder-users] demuxing question

Rick C. rickcorteza at gmail.com
Tue Nov 23 03:59:44 CET 2010


On Nov 22, 2010, at 10:20 PM, James Hastings-Trew wrote:

> On 10-11-22 7:53 AM, Rick C. wrote:
>> Hello,
>> 
>> I've encountered a problem and I hope someone can help me find out what's wrong.  Here's my command:
>> 
>> test.flv -ovc lavc -lavcopts vcodec=mpeg4 -ffourcc XVID -oac faac -o test.avi
>> 
>> The video I'm converting is 10 minutes and with a recent MEncoder build I only get about 4 minutes output.  But with a MEncoder build I have from last year I get the full 10 minutes.  Here is some output that might show the problem:
>> 
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> [lavf] Audio stream found, -aid 1
>> VIDEO:  [H264]  480x360  0bpp  29.917 fps    0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44  fourcc:0x34363248  size:480x360  fps:29.917  ftime:=0.0334
>> 
>> That is from the good one and this the bad:
>> 
>> libavformat file format detected.
>> [flv @ 0x101857400]Estimating duration from bitrate, this may be inaccurate
>> [lavf] stream 0: video (h264), -vid 0
>> [lavf] stream 1: audio (aac), -aid 0
>> VIDEO:  [H264]  480x360  0bpp  59.750 fps  573.7 kbps (70.0 kbyte/s)
>> [V] filefmt:44  fourcc:0x34363248  size:480x360  fps:59.750  ftime:=0.0167
>> 
>> And the end:
>> 
>> Pos: 233.9s  12706f (66%) 218.85fps Trem:   0min  36mb  A-V:-0.030 [736:128]
>> Too many audio packets in the buffer: (4096 in 1584970 bytes).
>> Maybe you are playing a non-interleaved stream/file or the codec failed?
>> For AVI files, try to force non-interleaved mode with the -ni option.
>> 
>> I only posted a small portion because I noticed in the good one it accurately reads 29.917fps but the bad a very different number.  The rest of the output was about the same but I can post more if needed.  Any idea why this might be happening or an idea of what else I can check?  I honestly can't remember if I did something different compiling the MEncoder from last year.  Thanks for your help!
> 
> Does sticking -fps 30000/1001 in the command line help any?
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users


Thanks for the advice but unfortunately it doesn't help.  Seems the problem still lies where the current MEncoder reads a 59.75fps where the correct one is 29.917.  When I play the video it's as if the 10 minutes were sped up into only 4 minutes or something.  That's when the conversion fails...

This could be a random bad video just interesting that the old MEncoder build I have works.  Maybe it's not just the build but also the way it was compiled?  Is there anything else I can check?  Thanks again and yes if I can't figure this out maybe I will have to give FFmpeg a try...






More information about the MEncoder-users mailing list