22f2 axeorcat: Video/Audio Info (Standards and Formats)
Go to content Go to navigation Go to search

Video/Audio Info (Standards and Formats)

Useful Software

mencoder
ibm mpeg4
gpac
faac

mp4

mp4 faq
subs in mp4
Mux from avi to mp4

mpeg4

profile table

h264

h.264 main profile decoding only. That means no 8×8dct and no custom matrices are supported.
levels
avc quality guide
x264 info
x264 in mencoder

iPod

Default x264 level is 40 (0×28) so you need to specify level 1.3 which is the max supported by the iPod.
iPod can play the following video formats:

* H.264 video File formats: .m4v, .mp4 and .mov Video: Up to 768 Kbps, 320×240 pixels, 30 frames per second, Baseline Profile up to Level 1.3 Audio: AAC-LC up to 160 Kbps, 48 KHz, stereo audio * MPEG-4 video File formats: .m4v, .mp4 and .mov Video: Up to 2.5 Mbps, 480×480 pixels, 30 frames per second, Simple Profile Audio: AAC-LC up to 160 Kbps, 48 KHz, stereo audio

Linux:
/usr/local/bin/mencoder xmen/vob/012/xmen-001.vob -vf scale -zoom -xy 320 -oac faac -ovc x264 -x264encopts me=3:bitrate=400:pass=1:bframes=0:nocabac:qp_min=22:vbv_bufsize=2000:vbv_maxrate=768:nopsnr -o test.avi

x264.exe -level 1.3 -bitrate 600 -no-cabac -analyse p8×8,b8×8 -qpmin 22 -vbv-bufsize 2000 -vbv-maxrate 768 -me umh -progress -no-psnr -output ipod.mp4 input.avs 320×240

BeSweet.exe -core( -input test.avi -output “temp_audio.mp4” -logfile “temp_audio.log” ) -bsn( -2ch -cbr 128 -codecquality_fast -aacprofile_lc ) -ota( -d 0 -g max )

MP4Box.exe -keepsys -add “video.mp4:lang=eng” -add “audio.mp4:lang=eng” final.mp4

Mobile Video
oreilly intro
mencoder settings

Streaming 3GPP TS 26.234
audio can be aac-lc
H.263 Profile 3 Level 10
MPEG-4 Visual Simple Profile Level 0
MPEG-4 AAC LC max 48 kHz.
H.264 (AVC) Baseline Profile

QuicktimePro gave identical 3gp and 3g2 files
Track Type Info
1 audio AMR, 51.900 secs, 13 kbps, 8000 Hz
2 video MPEG-4 Unknown Profile(0), 52.008 secs, 64 kbps, 176×144 @ 15.151515 fps

For Nokia 6230 Owners:
Video- sub-QCIF/ Bit rate 64kbps
Audio- AMR

For Nokia 7610/Nokia 6600 Owners:
Video- QCIF/ Bit rate 128kbps
Audio- WB AMR

For Nokia n-gage/Nokia n-gage QD/ 3650 Owners:
Video- QCIF/ Bit rate 128kbps
Audio- AMR

handsets

gotchas

(asp vs VfW storage)
Raw ASP has to be .m4v, raw AVC must be .264.

why are asx and ram files are just files containing URLs?

ASX or RAM files that are often used in browsers. These files are actually redirections to the underlying ASF or RM file. The reason for this is that the browser often fetches the entire file before starting up the external viewer. The redirection files are very small and can be transferred quickly. [The stream itself is often ‘infinite’ and thus the browser tries to download it and never finishes.]

Further reading

Previous post:
Windows video compression tools
Next post:
Playlist generation JSP

0