[MEncoder-users] live tv encoding with X264 and FAAC - audio problens

hradec hradec at hradec.com
Tue Oct 2 20:36:29 CEST 2007


I doing live tv encoding with mencoder, using X264 and FAAC.

I'm having a problem with audio, that actually happens just sometimes... 
sometimes I got a perfect MP4 file, sometimes I get a MP4 with audio on 
the beginning, then in the middle the sound disappears...

Even weirder, when the sound disappears, sometimes it comes back at the 
end... sometimes not...

this is my cmd line:

nice -n -5 /root/tools/bin/mencoderPVR -endpos 60 tv:// -tv 
driver=v4l2:device=/dev/video1:fps=25000/1001:audiorate=32000:width=352:height=240:adevice=/dev/dsp1:input=0:amode=2:audioid=2:normid=9:chanlist=us-cable:freq=144.45 
-sws 9  -vf crop=310:210,scale=304:208,harddup -aspect 1.3 -oac faac 
-faacopts br=1:quality=40:mpeg=4:object=2:raw   -ovc x264 -x264encopts 
bitrate=200:me=umh:subme=6:ref=4:merange=16:subq=5:threads=1:vbv_maxrate=800:vbv_bufsize=2000:nocabac:level_idc=13:global_header    
-o /root/PVR/test.live.mp4 -of lavf -lavfopts format=mp4

I want to get a real small aac stream, so I'm setting the bitrate to 1, 
and the quality to 40... maybe that's my problem?

-H



More information about the MEncoder-users mailing list