[mythtv-users] mythtranscode problem?

Michael J. Sherman msherman at dsbox.com
Tue Sep 2 10:21:00 EDT 2003


I also get audio but no video.  I was struggling with it all weekend to 
no avail.  I use RTJPEG in the source .nuv files.  Here's what I get. 
mpeg2enc sees a non-video stream, apparently.


Transcoding from /usr/local/store//1176_20030901233000_20030902000000.nuv to
/usr/local/store//1176_20030901233000_20030902000000.nuv.tmp
Created video fifo: fifodir/vidout
Created audio fifo: fifodir/audout
CreatedThreads
Input #0, rawvideo, from 'fifodir/vidout':
No header found. Assuming Raw PCM sound file
--------------------------------------------
Input File : 'fifodir/audout'   44.1 kHz
Output File: '1176_20030901233000_20030902000000.mp2'
192 kbps MPEG-1 Layer II j-stereo Psy model 1
[ De-emph:Off   Copyright:No   Original:No   CRC:Off   Padding:Normal]
--------------------------------------------
   Duration: N/A, bitrate: N/A
   Stream #0.0: Video: rawvideo, yuv420p, 480x480, 29.97 fps
Output #0, yuv4mpegpipe, to 'pipe:':
   Stream #0.0: Video: rawvideo, yuv420p, 480x480, 29.97 fps, q=2-31, 
200 kb/s
Stream mapping:
   Stream #0.0 -> #0.0
Press [q] to stop encoding
    INFO: [yuvscaler] yuvscaler (version 1.6.1) is a general scaling utility
for yuv frames
    INFO: [yuvscaler] (C) 2001 Xavier Biquard <xbiquard at free.fr>
    INFO: [yuvscaler] yuvscaler -h for help, or man yuvscaler
    INFO: [mpeg2enc] Selecting SVCD output profile
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled 
in by
"vcdimager"
++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this
off using -d
    INFO: [mpeg2enc] Encoding MPEG-2 video to
1176_20030901233000_20030902000000.m2v
    INFO: [mpeg2enc] Horizontal size: 480 pel
    INFO: [mpeg2enc] Vertical size: 480 pel
    INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
    INFO: [mpeg2enc] Frame rate code:   4 = 30000.0/1001.0 (NTSC VIDEO)
    INFO: [mpeg2enc] Bitrate: 2500 KBit/s
    INFO: [mpeg2enc] Quality factor: 10 (1=best, 31=worst)
    INFO: [mpeg2enc] Field order for input: none/progressive
    INFO: [mpeg2enc] New Sequence every 795 Mbytes
    INFO: [mpeg2enc] Assuming non-video stream of 192 Kbps
    INFO: [mpeg2enc] Search radius: 32
    INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15
    INFO: [mpeg2enc] Setting colour/gamma parameters to "unspecified"
    INFO: [mpeg2enc] Progressive format frames = 1
    INFO: [mpeg2enc] Buffering 39 frames

Alan Snyder wrote:
> 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.
>  
-- 
Michael J. Sherman  |  Software Developer  |  Digital Sandbox, Inc.
"There are 10 types of people in the world - those who know binary
and those who don't"



More information about the mythtv-users mailing list