Table of Contents

@related : Codec Video mplayer OGG Codec Divx WMV mencoder ASF gstreamer

service

I am looking for a way to transcode on the fly web contents to some open standards

[[Software]]

sound only use :

mplayer -ao pcm:file=%12%/tmp/tmp.wav -vo null *.avi
sox tmp.wav -r 8000 -c 1 -b
for f in $l ; do  mplayer -vo null -ao pcm:file=%`expr length "/tmp/$f.wav"`%"/tmp/$f.wav" $f ; done
# cat /tmp/*.wav |  sox - -r 8000 -c 1 -b | oggenc -q 4 -o /tmp/tmp.ogg
sox *.avi.wav  -r 8000 -c 1 -b tmp-sox.wav
oggenc -q -1  --downmix --resample 8000  -o tmp-sox.wav tmp.ogg

mp4v : [[MPEG4]] Video from Kodak [[EasyShare]] [[Camera]]

transcode  -o mp4v.mpg -x mov -y mpeg -i [[EasyShare]].mov
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[[transcode]] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[[transcode]] auto-probing source  [[EasyShare]].mov
[[transcode]] V: import format    | Digital Video  (V=mov|A=null)
[[transcode]] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[[transcode]] V: bits/pixel       | 0.174
[[transcode]] V: decoding fps,frc | 29.970,4
[[transcode]] V: Y'CbCr           | YV12/I420
[[transcode]] A: import format    | 0x1     PCM          [[   0,16,0]]
[[transcode]] A: export format    | 0x50    MPEG layer-2 [[   0,16,0]]  128 kbps
[[transcode]] V: encoding fps,frc | 29.970,4
[[transcode]] A: bytes per frame  | 0 (0.000000)
[[transcode]] A: adjustment       | 0@1000
[[transcode]] V: IA32 accel mode  | sse (sse 3dnowext 3dnow mmxext mmx asm C) tc_memcpy: using mmxext for memcpy
[[transcode]] V: video buffer     | 10 @ 720x480
[[import_null.so]] v0.2.0 (2002-01-19) (video) null | (audio) null
[[import_mov.so]] v0.1.2 (2002-05-16) (video) * | (audio) *
[[export_mpeg.so]] v1.2.3 (2003-08-21) (video) MPEG 1/2 | (audio) MPEG 1 Layer II
[[import_mov.so]] VIDEO: codec=mp4v, fps=13.011, width=640, height=480, frames=432
error: quicktime codec 'mp4v' not supported for RGB======
video import module error: OPEN failed
[[transcode]] critical: failed to open input source

ogmmerge EasyShare.mov

Error: File has unknown type. Please have a look at the supported file types ('ogmmerge --list-types') and contact me at moritz@bunkus.org if your file type is supported but not recognized properly.

[[Apple]]'s quicktime : Qclp : [[Audio]] Codec

error: quicktime audio codec 'Qclp' not supported======

3GP / samr : How to decode Video Streams, output of [[Nokia]]6630 [[Camera]] :

mplayer file.3gp
...
ISO: File Type Major Brand: 3GPP Profile 4
QuickTime/MOV file format detected.
...
Cannot find codec matching selected -vo and video format 0x33363273.
...
... 0x726D6173

xine displays the Video parts but complains about 'samr' audio codec

xine --verbose file.3gp
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
Built with xine library 1.0.0 (1.0)
Found xine library version: 1.0.0 (1.0).
...
xine: found input plugin  : file input plugin
xine: found demuxer plugin: Apple Quicktime (MOV) and MPEG-4 demux plugin
audio_decoder: no plugin available to handle ''
...
transcode  -o out.mpg -x mov -y mpeg  -i /home/incoming/application_data/thunderbird/20050323.3gp
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[[transcode]] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[[transcode]] auto-probing source  /home/incoming/application_data/thunderbird/20050323.3gp (ok)
[[transcode]] V: import format    | Digital Video  (V=mov|A=null)
[[transcode]] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[[transcode]] V: bits/pixel       | 0.174
[[transcode]] V: decoding fps,frc | 29.970,4
[[transcode]] V: Y'CbCr           | YV12/I420
[[transcode]] A: import format    | 0x1     PCM          [[   0,16,0]]
[[transcode]] A: export format    | 0x50    MPEG layer-2 [[   0,16,0]]  128 kbps
[[transcode]] V: encoding fps,frc | 29.970,4
[[transcode]] A: bytes per frame  | 0 (0.000000)
[[transcode]] A: adjustment       | 0@1000
[[transcode]] V: IA32 accel mode  | sse (sse 3dnowext 3dnow mmxext mmx asm C)

tc_memcpy: using mmxext for memcpy

[[transcode]] V: video buffer     | 10 @ 720x480
[[import_null.so]] v0.2.0 (2002-01-19) (video) null | (audio) null
[[import_mov.so]] v0.1.2 (2002-05-16) (video) * | (audio) *
[[export_mpeg.so]] v1.2.3 (2003-08-21) (video) MPEG 1/2 | (audio) MPEG 1 Layer II
[[import_mov.so]] VIDEO: codec=s263, fps=15.002, width=176, height=144, frames=466

error: quicktime codec 's263' not supported for RGB

video import module error: OPEN failed

[[transcode]] critical: failed to open input source

Theroa]]

sudo apt-get install \
mozilla-plugin-vlc libtheora0 gstreamer0.8-theora vorbis-tools
ffmpeg encoder error: cannot find encoder Xiph.org's Theora Video

vlc

vlc --sout '#transcode{vcodec=theora,vb=300,acodec=vorb,ab=96}:std{access=file,mux=ogg,url=/tmp/vlc.ogg}' *.wmv

[[mencoder]] / [[mplayer]]

for f in *.wmv ; do  mencoder -oac mp3lame -ovc xvid -xvidencopts bitrate=1024 -o $f.xvid.avi $f ; done
# "duplicate frame(s)===" #[[ToDo]]===

MISC

avc1 : ([[Codec]] ffh264) http://chojin.neomagie.net/blog/videos-films/
transcode.txt · Last modified: 2022/04/16 12:24 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki