Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2002 22:11:15 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        Jason Andresen <jandrese@mitre.org>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: Fxtv 1.04beta -- PLEASE TEST
Message-ID:  <20020606021115.GA2570@nc.rr.com>
In-Reply-To: <3CFE0ED5.501239BB@mitre.org>
References:  <20020601201816.A6118@nc.rr.com> <3CFE0ED5.501239BB@mitre.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Andresen:
 |> BTW, the ffmpeg has a problem with the streaming to the encoder video FIFO
 |> (ffmpeg emits "Error while parsing header"), so anyone that knows about
 |> ffmpeg feel free to check it out and send me any patches.

I take that back.  Trying it again now, it works every time for me.  It
could have been I had something out of sync on my end.  And the encoder
does a great job too -- looks better than the default mpeg_encode output,
and it's very fast too.

 |I have trouble getting the audio recording working.  When I try to set
 |up an
 |ffmpeg record session I see the following messages on the console and
 |ffmpeg
 |aborts the record:
 |
 |stat for aud fifo...
 |sleep aud fifo
...

Ok, well when this is going on, check that the FIFOs:

    /tmp/<prefix>-fxtv-audfifo
    /tmp/<prefix>-fxtv-vidfifo

exist.  Also, check that fxtv is in your process list (ps) when ffmpeg is
emitting these errors.

Capture to the FFMPEG Ready target, edit the script to change
CLEANUP_TEMP_FILES to NO, and then you can rerun it to see what's going on
easier.

Under the hood, the capture script sources fxtv_cnvt.sh, which is where the
"mkfifo" commands are executed to create the FIFOs just before they're
passed to fxtv.  fxtv is invoked running in the background to dump audio
and video into the pipes, and ffmpeg is run in the foreground to read from
those pipes and do the encoding.

If you want to patch in some debug ls or ps commands, look at
the do_ffmpeg_conversion() Bourne shell script function in 
/usr/X11R6/lib/X11/fxtv/fxtv_cnvt.sh.

Randall


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606021115.GA2570>