cam-dump, stream-dump and transmit!

As you can see in the previous post, we’ve managed to make a first very improvised test and this fragment turned out particularly awesome! And while on one hand the quality is exactly what is possible to get through the tiny uplink that we have at the moment here, and that is, somewhat, exactly what we are lloking for. It would be however appropriate to have a DV quality version of whatever is being sent to the stream for some later use or documentation. Ah, and dump the local stream before it is sent to server, while we are at it. So here’s little bash script (which just mutated from a command line):

while (true); 
        dvgrab --format dv1 - | \
        tee /path/to/transmittance1_`date +%y%m%d_%H%M%S`.dv | \
        ffmpeg2theora.linux -f dv -x 382 -y 288 -v 3 --speedlevel 2 \
        --no-skeleton -o /dev/stdout - | \
        tee /path/to//transmittance1_`date +%y%m%d_%H%M%S`_stream_382x288.ogv | \
        oggfwd 8000 pass /transmittance.ogv

1 Trackback

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>