Page 1 of 1

FFmpeg for mpeg4

Posted: 07 Jun 2010 09:46
by Incarnate
I'm having trouble with my mpeg4 encoding.

I use a standard pipeline for encoding with limited parameters :

vlc -vvv v4l2:///dev/video0:input=0:width=176:height=144:adev=hw.1,0:samplerate=32000 --sout=#'transcode{vcodec=mp4v,acodec=mp4a,venc=ffmpeg{keyint=40,vt=20},vb=800,ab=16}:rtp{mp4a-latm,dst=182.172.255.25,port-audio=45192,port-video=45194,sdp="file://n19.sdp"}'

The output however is really poor.

I'm running it on a :

VLC media player 1.0.6 Goldeneye
VLC version 1.0.6 Goldeneye
Compiled by mockbuild@builder.wilsonet.com
Compiler: gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public Licence;
see the file named COPYING for details.


Is there any way that I can improve video quality?
I'm also looking to generate a particular output, which is defined in the sdp file as :

m=video 0 RTP/AVP 96
b=AS:175
b=RR:0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3; config=000001b001000001b58913000001000000012000c4f8987d88007d0a041c9463000001b24c61766335322e32392e30;
a=framesize:96 320-228
a=control:trackID=2

So if anyone has any clue, or any advice on alternative encoders and how to use them, I'd be really grateful.

Re: FFmpeg for mpeg4

Posted: 16 Jun 2010 23:49
by kwizart
I guess this is a problem within FFmeg library. This would help to have a bug report here:
https:://bugzilla.rpmfusion.org

On the other side, are you able to reproduce this problem using vlc 1.1.0 using:
rpm -ivh http://rpms.kwizart.net/kwizart-release-13.rpm
yum update vlc\* --enablerepo=kwizart