[mythtv-users] Nuvexport svcd process hanging at frame 3 problem

Joseph A. Caputo jcaputo1 at comcast.net
Mon Sep 8 11:50:59 EDT 2003


-----Original Message-----
>From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org]On Behalf Of Alan Snyder
>Sent: Sunday, September 07, 2003 10:27 PM
>To: Discussion about mythtv
>Subject: Re: [mythtv-users] Nuvexport svcd process hanging at frame 3
problem
>
>
>I tried the following, derived from Geoff's (I think) note in the archives,
around the time
>he implemented the fifo sync stuff:
>
>mythtv-cvs/mythtv/programs/mythtranscode/mythtran
>1004 -s 2003-07-26-19-0-00 -f fifodir --fifosync &
>
>which yields
>2003-09-07 22:22:49 Transcoding
>030726190000_20030726193000.nuv to /var/video/1004_200307.nuv.tmp
>2003-09-07 22:22:49 Enforcing sync on fifos
>2003-09-07 22:22:49 Created video fifo: fifodir/vidout
>2003-09-07 22:22:49 Created audio fifo: fifodir/audout
>2003-09-07 22:22:49 Video 480x480 at 29.97fps Audio rate: 32
>2003-09-07 22:22:49 Created fifos. Waiting for connection
>2003-09-07 22:22:50 Audio is 83ms ahead of video at # 0
>
>ffmpeg -f u16le -ar 32000 -ac 2 -i fifodir/audout -f rawvideo -s 480x
>480 -r 29.97 -i fifodir/vidout -vcodec mpeg4 -b 2000 -acodec mp3 -ab 128
out.avi
>
>which gives
>
>Input #0, u16le, from 'fifodir
>  Duration: N/A, bitrate: N/A
>  Stream #0.0: Audio: pcm_u16le, 32000 Hz, stereo, 1024
>Input #1, rawvideo, from 'fifodir/vidout':
>  Duration: N/A, bitrate: N/A
>  Stream #1.0: Video: rawvideo, yuv420p, 480x480, 29.97
>Output #0, avi, to 'out.avi':
>  Stream #0.0: Video: mpeg4, 480x480, 29.97 fps, q=2-31
>  Stream #0.1: Audio: mp3, 32000 Hz, stereo, 128 kb/s
>Stream mapping:
>  Stream #1.0 -> #0.0
>  Stream #0.0 -> #0.1
>Press [q] to stop encoding
>
>and two more lines from mythtranscode:
>
>2003-09-07 22:23:47 Audio is 65ms ahead of video at # 2
>2003-09-07 22:23:47 Audio is 37ms ahead of video at # 4
>
>after which mythtranscode and ffmpeg stop using cpu and have to be killed.


I get the same thing on both RTjpeg and MPEG-4 recordings.

-JAC



More information about the mythtv-users mailing list