[encoder] Improved motion estimation.
[schroedinger/research-port.git] / misc / oggtest
blobb35d23a13d173583efa2e69d59b08e4159554c5b
1 #!/bin/sh
3 #frames=120
4 frames=1200
5 offset=5000000000
7 #for codec in theora schro
8 for codec in schro
9 do
10 #G_DEBUG=fatal_warnings gdb -args \
11 gst-launch-0.10 \
12 oggmux name=mux ! filesink location=vts-${codec}.ogg \
13 videotestsrc num-buffers=$frames timestamp-offset=${offset} \
14 ! timeoverlay ! video/x-raw-yuv,framerate=12/1 \
15 ! ${codec}enc ! queue ! mux. \
16 audiotestsrc samplesperbuffer=3675 num-buffers=$frames \
17 timestamp-offset=${offset} ! \
18 audioconvert ! vorbisenc ! queue ! mux.
19 oggzdump vts-${codec}.ogg |grep -A 1 ^0 | grep -v '^--' >dump.${codec}
20 done
23 #gst-launch-0.10 \
24 # oggmux name=mux ! filesink location=vts.ogg \
25 # videotestsrc num-buffers=240 ! video/x-raw-yuv,framerate=24/1 \
26 # ! schroenc ! queue ! mux. \
27 # audiotestsrc samplesperbuffer=44100 num-buffers=10 ! \
28 # audioconvert ! vorbisenc ! queue ! mux.