[Mjpeg-users] Streaming format?

2005-01-01 Thread Derek Fountain
I'm probably a bit off topic here, but someone might know the answer.

What video format can I encode to which is suitable for streaming from a free 
software platform? I'm really after a solution which allows for a free server 
and free codec/plugin for streaming over an Intranet. Quality and bandwidth 
performance are important, but no so much as being free from patents and 
licence fees.

The server will be Linux and there will be clients of all OS flavours. Video 
is going to start off life as an input from a camcorder into my DC10+. What 
are my options? There don't seem to be too many... :o(


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mjpegtools on Newsforge

2004-11-07 Thread Derek Fountain
On Monday 08 November 2004 12:39, Steven M. Schultz wrote:
 Howdy -

   In case you hadn't already seen it:

   http://www.newsforge.com/article.pl?sid=04/11/04/1458235

   Nice article.

   Cheers,
   Steven Schultz

I just couldn't bring myself to plug it myself... :o)


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Without the hardware....

2004-10-26 Thread Derek Fountain
Just as a matter of interest, what are the principal uses, if any, of the 
MJPEG Tools to someone who doesn't have a supported capture card?


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Without the hardware....

2004-10-26 Thread Derek Fountain
   Just as a matter of interest, what are the principal uses, if any, of
   the MJPEG Tools to someone who doesn't have a supported capture card?

   At first I thought that was a troll ;)

:) No, definitely not a troll! I was considering writing a piece for Newsforge 
(or similar) on the MJPEGTools project. I've had a few articles published 
there and have the ear of the editor, so to speak. 

The thing is, I only have a DC10+ card, which are increasingly difficult to 
get hold of these days. I have been blissfully unaware to date of what people 
might do with the toolset without such a card, hence the question.

Since I've started asking stupid questions, I might as well continue, in the 
spirit of research. :)

   Same here.  And even when using a WinTV card with 'fxtv'
   (http://people.freebsd.org/~rhh/fxtv/) on a BSD system I was using
   mjpegtools to perform the processing of the data.   After seeing the
   difference between what a Bt878 and a Canopus ADVC100 (although today
   I'd get the ADVC300) produce I pulled the WinTV card out and put it
   in a static bag ;)

/me goes off to google to read about these things. What software do you use to 
capture from these cards, and what format do they capture in? Assuming they 
don't capture to MJPEG, you presumably have to convert to MJPEG (in a 
non-lossy way) in order to use the tools...?

   Exactly.  The code for capturing in mjpegtools is a relatively small
   portion of the total - the bulk of the code resides in the (wide)
   variety of filters (couple denoisers, medianfilter, stabilizer, and
   so on), scaling, and especially the encoding and multiplexing (mplex
   is often regarded as the standard against which others are compared).

Yep, OK, but I assumed these tools only worked on MJPEG files, and you only 
got MJPEG files from a DC10+ card or similar. Shows what I know... :o}


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Without the hardware....

2004-10-26 Thread Derek Fountain
   I use 'dvgrab' to capture the data (12GB/hr) and then 'kino' to
   edit (cut out the commercials, splice new scenes in, whatever).  Kino
   can capture of course but I prefer a commandline/batch method of
   bulk capture.

OK, so can I basically assume that dvgrab is like a DV version of lavrec; that 
kino is like a DV version of lavplay/glav; and that smilutils has something 
like lav2yuv?

And that the output of dvgrab/kino/smilutils can be fed into the MJPEG suite 
of utilities much like I do with the output from lavrec/glav/lav2yuv?


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Where to denoise in 3 pass encoding

2004-09-22 Thread Derek Fountain
  mencoder -audiofile out.mp3 -oac copy ...

  just prepare the .mp3 or whatever ahead of time and use that.

OK. That appears to mean the lav2wav-to-mp3 stage is still required, which is 
what I thought. I still have it in my script.

  As an experiment you might try doing a one pass encoding to compare
  against the results of a 2 pass.  It might be possible you don't
  see much, if any, difference and can thus save a lot of time.

Yes, I've been through that test and your implication is correct - that second 
video pass achieves no visible change (to the video or filesize) at the low 
bit rate setting I'm using. I also found a lot of tips in the mplayer docs 
and archives which detail various tweaks which they claim give better quality 
output. I've tried them all and they all just add to the encoding time! I 
guess at higher bit rates and file sizes they will add something under some 
circumstances, but I'm back to where I started 3 days ago: capture with -d2, 
then use mencoder to pass the audio, then again to do one pass of the video. 
I guess sometimes life just isn't as complicated as we think it should 
be... :o)


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Where to denoise in 3 pass encoding

2004-09-21 Thread Derek Fountain
  But since it sounds like the goal is computer playback in small areas
  (384x288 or so) this might be worth thinking about:

   For lower (VCD) resolution I think it's better capturing at the
  1/2 size (384x288 for PAL) to begin with.  This will be progressive
  (since it's only 1 field) and then you don't have to deal with
  deinterlacing at all.  That would be less data captured, less to
  denoise, and no scaling - quite a speedup factor when all of those
  steps are taken into account.

That's pretty much exactly what I'm doing now. I get there in the end... :o) 
I've also discovered that denoising make no difference either to the quality 
of the final video or to the size of the file. Since I'm capturing video 
which originates from a digital TV receiver the quality is pretty good in the 
first place.

The video is actually football (soccer to some) so it's constant fast motion. 
Anything lower than VCD resolution means you can't really see the player 
numbers or faces, so I was trying to get the best picture possible from low 
bit rate. 500kbs is still coming out at 300MB per hour. I was trying to get 
closer to 200MB per hour but trial and error is proving a rather slow 
process!

While I'm asking, here's another quick question: can I do anything with the 
sound to lower the file size? It's just crowd noise and commentary so I can 
drop the quality right down if that's possible. I was just trying to work out 
what lav2yuv actually does with the sound. My command:

 lav2yuv ... | mencoder -oac copy ...

appears to be giving me MP3 sound, which implies lav2yuv puts out an MP3 sound 
track. Is that right, and can I tune it?


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Where to denoise in 3 pass encoding

2004-09-21 Thread Derek Fountain
  I'm using a tuned version of the 3 pass lav2avi.sh script which basically
  does:

  The MPlayer/mencoder developers have deprecated (and highly
  discourage the use of) the 3 pass method and recommend the use
  of the 2 pass method.  The lav2avi.sh script hasn't been
  updated/rewritten.

The MPlayer docs describe the 2 pass method like this:

mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o 
movie.avi
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o 
movie.avi

or like this:

mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame 
-lameopts vbr=3 -o movie.avi
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac mp3lame 
-lameopts vbr=3 -o movie.avi

but, er, that doesn't appear to make sense when the input is coming from 
lav2yuv because there's no sound. So what is the two pass method now 
recommended? 1 audio pass and 1 video pass, or 2 video passes and some voodoo 
with the sound I don't know about?

Sorry to repeatedly ask noobie questions, but google isn't strangely unhelpful 
on this topic. Probably because there are so many tools and methods of doing 
things. :o}


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Where to denoise in 3 pass encoding

2004-09-20 Thread Derek Fountain
I'm using a tuned version of the 3 pass lav2avi.sh script which basically 
does:

lav2wav ... 
lav2yuv ... | mencoder ... 

lav2yuv ... | mencoder ...vpass=1...

lav2yuv ... | mencoder ...vpass=2...

I wanted to put a denoise step in there. The options seem to be,

1) stick a denoise on each lav2yuv step and do the denoise 3 times
2) stick a denoise on the last lav2yuv step and hope it doesn't screw the 2 
video passes too much
3) make a separate (and enormous) yuv file
4) denoise and put the resultant yuv through yuv2lav to get back to a sensible 
file I can put into mencoder 3 times.

(4) seems the most reasonable idea. Is that right, or did I miss something 
more obvious?


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] VCR capture

2004-09-19 Thread Derek Fountain
The HOWTO says that -d 2 is already better than VHS video (a *lot*!). Does 
that mean that if I'm capturing from a VHS source I will gain nothing from 
using -d 1, and should always use -d 2? Or does it mean that given a 
theoretically perfect source, capturing with -d2 and then playing back would 
give a better picture than capturing with a VHS VCR and playing back?

I am capturing from VHS tape and intend to have the output display on a 
monitor at about 512x384. To date I've captured using -d 1 and scaled down. 
If -d 1 gives no benefit when capturing from VHS, would I do better to 
capture at -d 2 and scale up? (By do better I really mean reduce 
processing time - this old PIII-500 box takes an overnight run to achieve 
pretty much anything :o})


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Interlacing bewilderment

2004-09-19 Thread Derek Fountain
 So you have missed in the howto the section: Creating MPEG2 Videos, and
 there the subsection: Encoding destination TV (interlaced) or Monitor
 (progressive) ?

No, but that's a case in point. It doesn't really tell me what I need to know. 
I know my source (from a VCR) is interlaced. I want to play it on a computer 
screen in divx form, which, as far as I can tell, means I should deinterlace 
it. Is that right?

The HOWTO says: If you have an interlaced source (broadcast) you can encode 
it as interlaced stream. Or deinterlace the stream and encode it as 
progressive stream. If you deinterlace it with yuvdenoise -F, you will lose 
details.

Well, I do have an interlaced source, so this tells me I can go either way, 
but if I deinterlace I will lose details. OK. Two sentences later the HOWTO 
says If you only want to play it back on the Monitor (progressive display) 
the picture looks better when playing it back if it is deinterlaced. Which 
appears to contradict what is said above: deinterlacing looses details, but 
looks better when playing it back?

 When you record from a VCR at halfe size, you have no interlacing. So
 you do not need to think about that.

OK, at least that's easy! :o)

 At full size, you have interlacing, for a monitor you might want
 deinterlace, else leave the interlacing as it is.

Er, yes, those are my choices - deinterlace or leave it interlaced! That 
statement sums up my confusion perfectly - it tells me my options but gives 
me no clue which I should do!

 The default values 
 should be rather failsave. And create a interlaced movie.

Right, to date I've just gone with the default values. I'll experiment some 
more but it's a painful process with an old PC.

I can ask one straight question though, which might attract a straight answer: 
will the denoise process run faster on a deinterlaced stream or an interlaced 
one?


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Interlacing bewilderment

2004-09-18 Thread Derek Fountain
I'm creating video which is designed to be viewed on a computer monitor, 
normally Windows based, but it could be any OS really. The source is a VCR or 
video camera through a DC10+ card.

To date, I've ignored the issue of interlacing completely. :o) I'm aware that 
the input video will be interlaced, but that's as far as my knowledge goes. 
I've tried to read a bit on the issue, but everything I can find, including 
the MJPEG tools HOWTO, seems to assume the reader has at least a bit of a 
clue, which I don't. For example, should my final output (destined for a PC 
screen) be interlaced? I assume not, but I've no idea really. I'm not sure if 
interlacing is considered a good thing or bad, whether it gets in the way of 
operations like denoise or whether it helps. Is it good to leave it in as 
long as possible or get rid of it at the first opportunity? Should I even 
care? I haven't to date and I seem to get by... :o)

My use of the tools eventually produces a Divx file which plays fine on Linux 
and Windows, so that's good. I don't know if that output is interlaced; 
whatever it is, it came via the default options (with regard to interlacing) 
and the various players I've tried deal with it.

I feel it's now time to get a clue. Can someone start me off with interlacing 
basics (like the questions posed above) and tell me where, in the pipeline of 
capture, scale, denoise and encode, should I worry about interlacing?


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Prepending JPEG frames to a video

2004-09-13 Thread Derek Fountain
I've been reading the bit of the HOWTO where it explains how to convert some 
JPEG frames into a YUV stream. Seems straightforward enough, but I can't 
quite get my head around my exact task.

I have a lav file, captured with a DC10+. I intend to convert it to AVI using 
a specially tuned version of the lav2avi.sh script. I have a single JPEG 
image containing a title/copyright/disclaimer sort of page which I'd like to 
throw up for 5 seconds before the video starts. No sound is required over 
these 5 seconds.

What's the easiest way to do this, ensuring video/audio sync, etc., still 
remains spot on? Ideally I'd still end up with a single .eli file which I 
could use from the lav2avi.sh script.


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Is lavc Divx?

2004-09-13 Thread Derek Fountain
Someone just asked me what flavour video the lav2avi script output is. I know 
it uses the mencoder lavc codec, which I assumed was Divx. Now I come to 
think about it, I don't know if that's true. I couldn't actually define what 
lavc or divx actually are, let alone if they are the same thing. Are they one 
and the same?


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] JPEG-MMX compile errors

2004-09-05 Thread Derek Fountain
 Are you saying that you didn't install the newly compiled mjpegtools
 and the original SuSE package is still installed?
 Then you are uing the original (old, broken?) shared libs also!
 I would guess that won't work.

 Uninstall SuSE's mjpegtools and install yours!

No, I installed mine into /opt. the normal SUSE version will be used unless I 
set the PATH and LD_LIBRARY_PATH to point to mine first. There is no 
noticeable difference between the versions but I'll probably use mine from 
now on. As Steven said, there are tools in there which SUSE don't supply. 
Besides, it's sometimes nice to know exactly where things come from. :o)


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Sound problem

2004-09-05 Thread Derek Fountain
On Saturday 04 September 2004 16:29, Ronald S. Bultje wrote:
 Might be. Scientifically, I'm not completely convinced yet on what the
 problem is: 1. you record several times, 2. you play back several times
 (all fine so far), 3. you record one more and 4. you play back
 (crackles), restart (normally solves) and it still crackles. Now try
 playing one of your videos from step 1-2 and see if it doesn't crackle,
 and *then* I'm convinced that 2. is breaking 3. ;).

I followed that procedure and playing the video from step 1-2 does not 
crackle. glav appears to play back the file correctly (i.e. what is on disk); 
the problem, AFAICS, is that lavrec records crackles if it is run after glav 
and before the sound system is restarted.

 That doesn't, however, tell me that 2. is an actual problem. I know that
 glav/lavplay do some weird stuff. We use mmap() for playback because
 it's an efficient way of using hardware memory. Most applications simply
 use write(). Maybe your particular driver cannot handle that. In that
 case, file a bug report at the ALSA team to fix it
 (http://alsa-project.org/). We cannot fix their bugs and we shouldn't
 work around them, imo.

Indeed, but I can see how the conversation would go if I report this to the 
ALSA guys:

Me: I record using lavrec and it records correctly

Them: OK

Me: I play back using glav then recording doesn't work properly anymore

Them: What if you play back using mplayer instead of glav?

Me: Then recording works correctly

Them: So it's glav causing the problem?

Me: Er, yes

Them: So why blame our driver, why not just fix glav to work properly (like 
mplayer, for example)?

Me: Er... The fact glav doesn't screw other sound cards suggests it's your 
driver

Them: The fact that with mplayer everything works correctly suggests you 
should fix glav

...and so on. ;o) I'm not suggesting that glav is broken, or that the audio 
driver is broken. I don't know enough about either piece of software to have 
an opinion.

For the time being I'll use mplayer to check my MJPEG files and reset the 
sound driver before running lavrec after I've used glav. That will be a good 
enough work around until I can get a new sound card!


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] JPEG-MMX compile errors

2004-09-03 Thread Derek Fountain
I thought I'd try to compile the MJPEG tools from source, rather than relying 
on the SUSE-9.1 supplied versions. I downloaded JPEG-MMX-0.1.5 from 
Sourceforge and did the './configure' and 'make' as described in the 
mjpegtools README. I get this error:

gcc  -o djpeg djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o 
cdjpeg.o libjpeg-mmx.a
libjpeg-mmx.a(jidctint.o)(.text+0x46): In function `domidct8x8llmW':
: undefined reference to `fix_054n184_054'
libjpeg-mmx.a(jidctint.o)(.text+0x50): In function `domidct8x8llmW':
: undefined reference to `fix_054n184_054'
libjpeg-mmx.a(jidctint.o)(.text+0x5a): In function `domidct8x8llmW':
: undefined reference to `fix_054_054p076'
libjpeg-mmx.a(jidctint.o)(.text+0x64): In function `domidct8x8llmW':
: undefined reference to `fix_054_054p076'
...

and so on for several pages. What did I miss?


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Capture problem on SUSE-9.1

2004-09-03 Thread Derek Fountain
 I had some problems with SuSE precompiled binaries on a 9.0 distribution.
 After recompiling the sources (from MJPEG-tools web site!) the problems
 disappeared. It works well both under 2.4.x and 2.6.x. I am not sure if
 this helps in your case because I am using bttv for capturing.

Yes, SUSE don't have a good track record in this department. However, a self 
compiled mjpegtools does exactly the same thing as the SUSE ones, so I don't 
think they are to blame in this case.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Sound problem

2004-09-03 Thread Derek Fountain
I tried recompiling my kernel without pre-emption, but it made no difference. 
I've left it off for the time being. I tried recompiling the mjpegtools, and 
that made no difference. I've had the mjpegtools working fine on this machine 
previously using the OSS, as opposed to ALSA which it now uses, so I tried 
pulling ALSA out and putting the deprecated OSS drivers back in. I got into 
kernel module dependency hell, so I backed out of that route. I presume it 
shouldn't make any difference.

 So have you tried to record from the SB16 with some other applications
 like arecord ?

I have now, and I can't get a peep out of anything! 'arecord' and xawtv's 
'record' utility run OK, and I can hear the sound via the line-in as it's 
recording, but playing back the resultant WAV file results in silence. I 
can't get anything from the microphone input either. That used to work.

 Maybe you can try to use the read mode.

Tried that, no difference.

 To make soure that the sound card does not make problems please also try
 to record without sound (-a 0) and tell us that if lavrec still behaves
 strange.

You're spot on here: using -a 0 stops the lavrec capture getting upset. The 
only drawback is, well, no sound!

I did find something interesting though: the first lavrec capture I do after a 
reboot works correctly. The sound doesn't come out with the pulsing and the 
video doesn't stop recording. I've tried it several times with an 
'rcalsasound restart' in between and each time it works fine. The first time 
I tried a second capture without resetting the sound system: crackle, 
crackle, crackle...

A bit later... In fact, the problem seems to be with glav. I reset the sound 
system and recorded several clips, one after the other with no resets. I then 
play them back using glav and they're all perfect. I record one more and it 
comes out with crackles. I reset the sound system and play it again - it 
still crackles.

I appears that glav exits leaving the sound system in a state where lavrec 
records sound incorrectly until the sound hardware is reset. Is that 
possible?



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Capture problem on SUSE-9.1

2004-09-02 Thread Derek Fountain
I'm running the 1.6.2 version of the tools as found in SUSE-9.1 for IA32. I 
have a self complied 2.6.7 kernel, but other than that it's all out of the 
box SUSE. I've used the tools for years, on and off, but this is the first 
time I've tried to use them in anger since upgrading to the 2.6.x kernel.

I'm having a problem capturing from my DC10+ card with the command:

 lavrec -v2 -f a -i P -d 1 -q 95 -a 16 -s -w -l 75 test2%02d.avi

running as root. I works fine for about 12 to 15 seconds, then appears to lock 
up. Adding the debug command (as seen above) show this:

...
0.00.14:10 int:040 lst: 12 ins:  0 del: 29 ae:  0 td1=0.016 td2=-0.015
--DEBUG: [lavrec] Syncing on frame 14
--DEBUG: [lavrec] Queueing frame 14
0.00.14:11 int:604 lst: 12 ins:  0 del: 29 ae:  0 td1=0.010 td2=-0.040
--DEBUG: [lavrec] Syncing on frame 19
--DEBUG: [lavrec] Queueing frame 19
0.00.14:12 int:003 lst: 12 ins:  0 del: 29 ae:  0 td1=0.003 td2=-0.066
--DEBUG: [lavrec] Syncing on frame 1
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Queueing frame 6
0.00.15:01 int:072 lst: 25 ins:  0 del: 30 ae:  0 td1=0.192 td2=0.016
--DEBUG: [lavrec] Syncing on frame 14
--DEBUG: [lavrec] Syncing on frame 19
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
--DEBUG: [lavrec] Syncing on frame 6
...

i.e. it seems to be going OK up to a point, then a stream of identical syncing 
reports floods by. Ctrl-C is the only way out. The file captured, as far as 
it goes, seems OK.

Any ideas? I'm also having a problem with the sound, which may or may not be 
related - I'll start another thread for that.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Sound problem

2004-09-02 Thread Derek Fountain
Further to my video capture problem just reported in another post, I'm also 
having a problem with the captured sound. The sound card in this box is an 
ancient ISA SB16 card which I've used happily with the tools for years. This 
is the first time I've tried it with the 2.6.x kernel though. I'm running 
SUSE-9.1 on a dual processor box. The kernel is self complied 2.6.7 and has 
pre-emption turned on, if that makes a difference.

The problem is that the sound comes out on the AVI file with pulsed crackles 
every second. I'm not sure how else to describe it. The sound track is there, 
and you can hear the conversation, but over the top is this consistent pulsed 
squelching noise.

The sound card works fine under other circumstances and applications, so I 
suspect the capture, rather than the playback.

Any ideas on this one?


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Most easily usable video format

2004-07-26 Thread Derek Fountain
I have to capture and encode a few (like 5) minutes of video and distribute it 
to fairly clueless consumers. Most consumers would be running flavours of 
Windows, maybe a few with Mac or *NIX desktops. Distribution will be via CD, 
possibly LAN in some cases. The video will not contain any fast movement and 
will be played on the user's computers. Transfer anywhere else is not 
required.

I wondered which of the formats the MJPEG tools support would be best for 
this? I thought MPG1, which I figured a standard desktop of just about any 
flavour could play. Would that be right? Are there other formats which MJPEG 
tools can produce which an out-of-box Windows or Mac desktop can play?


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] What's a mux format?

2004-05-15 Thread Derek Fountain
I've used mpeg2enc for ages now, and I use -f 1 to set VCD format, as per the 
help:

--format-f fmt
Set pre-defined mux format fmt.
[0 = Generic MPEG1, 1 = standard VCD, 2 = VCD,
 3 = Generic MPEG2, 4 = standard SVCD, 5 = user SVCD,
 6 = VCD Stills sequences, 7 = SVCD Stills sequences, 8 = DVD]

This has always made sense and I've never really thought about it. Somewhere 
in my mind I associated this with an operation which scales the image to VCD 
size. Only today, it finally dawned on me that that /isn't/ what it does. I 
plugged in a 512 x 384 video, and that's what came out!

So, for curiousity's sake, what does do? What is a pre-defined mux format?


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Using the video playback

2003-10-26 Thread Derek Fountain
Daft question time. I've had a DC10+ card for a few years now, and have used 
the MJPEG tools successfully for all that time. However, I've never had to 
use the hardware video playback features of the card.

Is it possible to playback an MPEG or Divx file using the card to show the 
picture on my TV? If so, what software is required?

-- 
 eatapple
core dump



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Using the video playback

2003-10-26 Thread Derek Fountain
 The card can directly only decode mjpeg encoded AVI/Quicktime/Movtar,
 and produce video output. With mplayer and the -vo zr (try the -zrhelp
 first) you can play back nearly every stream on the TV out of you DC10.
 But a 1GHz CPU is needed to convert the video in realtime to a mjpeg
 stream that is sent to DC10/LML33/BUZ.

OK, I have a recent Mplayer build doing just that. :o) However, my box is a 
dual PIII-500mhz, which, since MPlayer doesn't thread, is effectively a 
single PIII-500. As you say, it's a bit slow. The image judders when things 
move about.

2 questions:

1) is it possible to preconvert the stream in some way, to prevent things 
having to be done in real time?

2) is it possible to have the picture fill the TV screen? It currently 
occupies the centre, and has a wide black border all round the outside.

-- 
 eatapple
core dump



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] CVS status

2003-02-18 Thread Derek Fountain
I've asked a couple of questions on the list over the last few days, and have 
been directed to features in CVS, which aren't in the stable 1.6.1 which I'm 
using.

So, how stable is CVS these days? Heavy development, or ready for regular 
users to start beta testing?

-- 
Eagles may soar, but weasels don't get sucked into jet engines



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] Flickering DVD output

2003-02-17 Thread Derek Fountain
I'm trying to get a reasonable DVD/TV output, and I'm having flickering 
problems. I captured a PAL VHS source using a DC10+ and 1.6.1. My MJPEG file 
has these attributes:

--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000

Following the HOWTO, I tried encoding to DVD acceptable format using this:

lav2yuv _30secs.eli |
yuvdenoise |
yuvscaler -O SIZE_720x576 |
mpeg2enc -f 8 -q 7 -4 1 -2 1 -P -I 1 -N -o dvd_30secs.m2v

Which I understand denoises leaving the interlacing in place, then encodes the 
interlaced source. Played on my DVD player and 50hz TV, it's horrible. The 
content is a yoga style video, which has slow (to non existant :o)) action 
and a pure white studio background. The background flickers terribly, and the 
edges of the person and equipment are ghosted and flickery.

I tried adding -F to yuvdenoise and -I 1 to mpegenc, understanding this would 
deinterlace and produce deinterlaced output, and should therefore look bad on 
my TV. Actually, it looks a bit better, but is still not really usable.

Any clues? My suspicions fall on the yuvscaler, which isn't described in the 
HOWTO, but appears to be necessary. (The example in the HOWTO gives an error 
message for me without it.)

-- 
Eagles may soar, but weasels don't get sucked into jet engines



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] Producing a speeded up video

2003-02-14 Thread Derek Fountain
On Saturday 15 February 2003 00:26, Bernhard Praschinger wrote:
 Hallo

  I have captured to MJPEG an 8 minute video clip featuring a short drive
  (taken from a camera in the car). Can I speed up this video, down to
  say, 30 seconds by encoding every n'th frame? Basically I'm after a final
  version which looks like 'glav' playing at x30

 If you use the cvsm you will have yuvfps, that can speed up you video

cvsm? yuvfps? These aren't mentioned in the HOWTO, or anywhere else I could 
find.

-- 
Eagles may soar, but weasels don't get sucked into jet engines



---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] Producing a speeded up video

2003-02-13 Thread Derek Fountain
I have captured to MJPEG an 8 minute video clip featuring a short drive (taken 
from a camera in the car). Can I speed up this video, down to say, 30 
seconds by encoding every n'th frame? Basically I'm after a final version 
which looks like 'glav' playing at x30.

-- 
Eagles may soar, but weasels don't get sucked into jet engines



---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] Adobe Premiere

2003-01-19 Thread Derek Fountain
This is bordering on flamebait, but... :o)

Has anyone used the output of the MJPEG tools as input to Adobe Premiere? 
Other than as an already encoded mpg or avi that is?

-- 
Australian Linux Technical Conference 2003: http://www.linux.conf.au/

Explain to your boss the benefits of you going...


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users