how do I do H264: 800kbits/s ?

below is my tc command, and what mplayer sees:
VIDEO:  [h264]  640x480  24bpp  24.000 fps  169.8 kbps (20.7 kbyte/s)

Carl K

[EMAIL PROTECTED]:~/temp/pycon_tc$ cat ffmpeg.cfg
[h264]
(nothing else)


[EMAIL PROTECTED]:~/temp/pycon_tc$ ./go.sh
+ CODEC=h264
+ RES=640x480
+ BRATE=800000
+ FPS=24
+ ONAME=test_h264_640x480_800000_24.avi
+ transcode --encode_fields p -i PyGamePySightHQ.mov -g 640x480 -f 29.970,4 -a 0
-e 48000,16,2 -n 0x1 -o /home/carl/a/test_h264_640x480_800000_24.avi -V rgb24 -y
ffmpeg,tcaud -F h264 -Z 640x480 -w 800000 --export_fps 24 -b 44,0,9,2 -c 
0-0:0:10
transcode v1.2.0-cvs (C) 2001-2003 Thomas Oestreich, 2003-2008 Transcode Team
[transcode] V: auto-probing     | PyGamePySightHQ.mov (OK)
[transcode] V: import format    | MJPEG in Quicktime's MOV format (module=mov)
[transcode] A: auto-probing     | PyGamePySightHQ.mov (OK)
[transcode] A: import format    | PCM in Quicktime's MOV format (module=mov)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 640x480  1.33:1  encoded @ UNKNOWN
[transcode] V: zoom             | 640x480  1.33:1 (Lanczos3)
[transcode] V: bits/pixel       | 86.892
[transcode] V: decoding fps,frc | 29.970,4
[transcode] V: video format     | RGB24
[transcode] A: import format    | 0x1     PCM          [48000,16,2]
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]   44 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 24.000,2
[transcode] A: bytes per frame  | 8000 (8000.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse 3dnowext 3dnow mmxext mmx cmove 
asm
[transcode] V: video buffer     | 10 @ 640x480 [0x1]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_mov.so] v0.1.3 (2005-12-04) (video) * | (audio) *
[export_tcaud.so] v0.9.0 (2007-07-03) (audio) MPEG/AC3/PCM
[export_ffmpeg.so] v0.3.17 (2007-11-02) (video) Lavc51.58.0 | (audio) 
MPEG/AC3/PCM
[import_mov.so] codec=sowt, rate=48000 Hz, bits=16, channels=2, samples=76740469
[import_mov.so] VIDEO: codec=jpeg, fps=29.970, width=640, height=480, 
frames=39496
[export_ffmpeg.so] Using FFMPEG codec 'h264' (FourCC 'h264', H264 (avc)).
[export_ffmpeg.so] No profile selected
[export_ffmpeg.so] Starting 1 thread(s)
[export_ffmpeg.so] Set display aspect ratio to input
[libx264 @ 0xa589f430]using SAR=1/1
[libx264 @ 0xa589f430]using cpu capabilities: MMX2 SSE2Slow
[libx264 @ 0xa589f430]bitrate tolerance too small, using .01
[transcode] Audio: using lame-3.98.2
encoding frame [298/299],  46.70 fps, 100.0%, ETA: 0:00:00, ( 0| 0|20)
[transcode] encoded 299 frames (0 dropped, 0 cloned), clip length  12.46 s
[EMAIL PROTECTED]:~/temp/pycon_tc$



[EMAIL PROTECTED]:~/a$ mplayer test_h264_640x480_800000_24.avi
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing test_h264_640x480_800000_24.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [h264]  640x480  24bpp  24.000 fps  169.8 kbps (20.7 kbyte/s)
Clip info:
 Software: transcode-1.2.0-cvs
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 1 ch, s16le, 40.0 kbit/5.21% (ratio: 5000->96000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
GNOME screensaver enabled.102 ct: -0.158  39/ 39 15%  1%  1.3% 1 0

Exiting... (Quit)

Reply via email to