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

Alan Snyder ax763 at yahoo.com
Sun Sep 7 20:26:47 EDT 2003


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.

Chris Petersen <lists at forevermore.net> wrote:
> Has anybody cracked the problem with Nuvexport where
> when transcoding a file the process hangs at frame 3.

Question for all of you with this problem. I know that the problem
still occurrs when you manually run the mpeg2 encoding process, but has
anyone tried direct encoding with ffmpeg (like to a vcd or another divx
file)? That might let us know whether it's ffmpeg or mpeg2enc (or
yuvscaler) freaking out.. 

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20030907/449af983/attachment.htm


More information about the mythtv-users mailing list