extension of VLC - paid job

About encoding, codec settings, muxers and filter usage
perica
Blank Cone
Blank Cone
Posts: 15
Joined: 02 Nov 2004 13:27

extension of VLC - paid job

Postby perica » 18 Nov 2004 10:24

Hi!

I need to transcode the jpeg image that is continuously being updated (http://80.240.228.233/liveimgs/camera003_233.jpg) to the mpeg-4 and vice versa.
Is there any VLC developer who would like to extend the VLC code to be able to do this.
This job would be paid.
Please apply if any one would like to do this, and for which amount of money!!

Guest

Re: extension of VLC - paid job

Postby Guest » 19 Nov 2004 21:28

Hi!

I need to transcode the jpeg image that is continuously being updated (http://80.240.228.233/liveimgs/camera003_233.jpg) to the mpeg-4 and vice versa.
Is there any VLC developer who would like to extend the VLC code to be able to do this.
This job would be paid.
Please apply if any one would like to do this, and for which amount of money!!
wrote a quick hack shell script to do this (might might notice a few hundred http gets when I tested).

./file dir
the jpg to build a mpeg stream for is hardcoded at present
.
I'm not sure if/how vlc can stream from a pipe, so this outputs to a file. Since it's a shell script, it will get behind eventually (it's non realtime, the sleep 1 + echo will take longer than 1.00000 seconds, so simply vlcing the file "for ever" would eventually reach end of file.
A 2gig Intel CPU wasn't able to keep up with this... it's piggy and slow. Proof of concept though.

Code: Select all

#!/bin/bash test -d ${1}/ || { echo "$0: what dir?"; exit 1; } spf=1 # seconds per file fps=25 # hard set below, ppmtoy4m tmpfilecount=$(for i in $(seq 1 $fpf); do echo tmp; done | xargs) ( cd ${1} || exit while sleep 1; do echo cam1_camera007_233.jpg done ) | while read file; do jpegtopnm ${1}/$file 2>/dev/null > tmp cat $tmpfilecount done | ppmtoy4m -n 0 -F$fps:1 -I t -A 59:54 -L | mpeg2enc -f 8 -n p -o ${1}.m2v


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 30 guests