[mythtv-users] mythtranscode problem?

Alan Snyder ax763 at yahoo.com
Mon Sep 1 17:09:45 EDT 2003


I've been struggling with Chris Petersen's nuvexport script, and both of us are stumped so I thought I'd try enlisting some help from those who know mythranscode.
 
Chris' script basically starts mythtranscode outputting to fifos, then runs toolame for audio and ffmpeg | yuvdenoise | yuvscaler | mpeg2enc, and finally multiplexes audio and vide with tcmplex (there are other options for sound and multiplexing, but these are preferred.
 
I get an .mpg file with the full 30 minutes of audio but no video.  What seems to be happening is that ffmpeg only ever sees 3 frames from mythtranscode.  As a test, I did
 
mythtranscode -p Default -c 1004 -s 2003-07-26-19-00-00 -f fifodir --fifosync &
(allow mythtranscode to start)

cat fifodir/audout >/dev/null &
ffmpeg -f rawvideo -s 480x480 -r 29.97 -i fifodir/vidout -f mpeg1video test.mpg
 
which after 15 minutes of mythtranscode and ffmpeg working, gives me an 82 Kb .mpg file, consistent with just a few frames.
 
Output from the above is
 
2003-09-01 17:20:38 Transcoding from /var/video/1004_20030726190000_20030726193000.nuv to /var/video/1004_20030726190000_20030726193000.nuv.tmp
2003-09-01 17:20:38 Enforcing sync on fifos
2003-09-01 17:20:38 Created video fifo: fifodir/vidout
2003-09-01 17:20:38 Created audio fifo: fifodir/audout
2003-09-01 17:20:38 Video 480x480 at 29.97fps Audio rate: 32000
2003-09-01 17:20:38 Created fifos. Waiting for connection.
2003-09-01 17:20:38 Audio is 99ms ahead of video at # 1

cat fifodir/audout >/dev/null &

ffmpeg -f rawvideo -s 480x480 -r 29.97 -i fifodir/vidout -f mpeg1video test.mpg
Input #0, rawvideo, from 'fifodir/vidout':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: rawvideo, yuv420p, 480x480, 29.97 fps
Output #0, mpeg1video, to 'test.mpg':
  Stream #0.0: Video: mpeg1video, 480x480, 29.97 fps, q=2-31, 200 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
2003-09-01 17:21:04 Audio is 70ms ahead of video at # 3
2003-09-01 17:21:04 Audio is 36ms ahead of video at # 5
2003-09-01 17:21:05 Audio is 38ms behind video at # 42
2003-09-01 17:21:33 Audio is 34ms behind video at # 31924kbits/s
2003-09-01 17:22:45 Audio is 35ms ahead of video at # 11507its/s
2003-09-01 17:22:53 Audio is 65ms ahead of video at # 12406its/s
2003-09-01 17:22:53 Audio is 38ms ahead of video at # 12416
2003-09-01 17:23:12 Audio is 34ms ahead of video at # 14599its/s
2003-09-01 17:23:17 Audio is 35ms behind video at # 15259kbits/s
2003-09-01 17:24:03 Audio is 34ms ahead of video at! # 20489its/s
2003-09-01 17:25:27 Audio is 36ms behind video at # 30182kbits/s
2003-09-01 17:25:27 Audio is 34ms ahead of video at # 30188its/s
2003-09-01 17:25:37 Audio is 34ms behind video at # 31261kbits/s
2003-09-01 17:25:58 Audio is 39ms ahead of video at # 33738its/s
2003-09-01 17:27:27 Audio is 38ms ahead of video at # 43816its/s
2003-09-01 17:28:06 Audio is 34ms behind video at # 48161kbits/s
2003-09-01 17:28:26 Audio is 58ms ahead of video at # 50454its/s
frame=    3 q=2.0 size=      82kB time=0.1 bitrate=6729.4kbits/s





---------------------------------
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/20030901/e14959c6/attachment.htm


More information about the mythtv-users mailing list