[mythtv-users] nuvexport -> svcd

Jon jgregor at hotpop.com
Thu Oct 9 01:04:56 EDT 2003


Chris Petersen wrote:

>>I do have yuvscaler, and it does detect, but i'm guessing its not picking
>>up, hence
>>**ERROR: [yuvscaler] Unable to write to output - aborting!
>>pops out in my window during my output, thats kind of my problem
>>    
>>
>
>Ok, I just released a new version of nuvexport.  This version has a
>--debug commandline option that (only for svcd export at the moment)
>will print out the commands used instead of actually exexuting them.
>
>To debug your problem, you'll need to use 3 terminals...  in the first
>one, run the mythtranscode command.   In the next, run the toolame
>command, and in last, run the mpeg2enc command.  The multiplex command
>is for when everything is done, which you won't need unless things
>actually work.
>
>Anyway, this is pretty much the best that I can offer at the moment. 
>Hopefully it'll tell you something worthwhile, and if not, feel free to
>paste those commands to the list for the rest of us to look at.
>
>-Chris
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>  
>
> Hey thanks, that debug code is great, I hope it wasn't too much 
> trouble for you to add.  When I go to do a stand SVCD encode using 
> --debug, this is what it spits out.
>
> mythtranscode command:
>
> nice -n 19 mythtranscode -p autodetect -c 1034 -s 2003-09-06-01-30-00 
> -f fifodir.10801 --fifosync
>
> toolame command:
>
> nice -n 19 toolame -s 48 -m j -b 0192 fifodir.10801/audout 
> 1034_20030906013000_20030906020000.mp2
>
> mpeg2enc command:
>
> nice -n 19 ffmpeg -f rawvideo -s 480x480 -r 29 -i fifodir.10801/vidout 
> -f yuv4mpegpipe - | nice -n 19 yuvdenoise -r 16 | nice -n 19 yuvscaler 
> -v 0 -n n -M BICUBIC -O SVCD | nice -n 19 mpeg2enc --format 5 
> --quantisation 5 --quantisation-reduction 2 --video-bitrate 02500 
> --aspect 2 --frame-rate 4 --interlace-mode 1 --motion-search-radius 24 
> --video-buffer 230 --nonvideo-bitrate 0192 --sequence-length 795 
> --reduction-4x4 1 --reduction-2x2 1 --keep-hf -o 
> 1034_20030906013000_20030906020000.m2v
>
>
>
> Now if I execute each of these commands in order, in seperate 
> terminals,  my mythtranscode command works fine, toolame works fine, 
> my problem is with mpeg2enc, I get a segfault, here is my output.
>
> [mythtv at myth nuv]$ nice -n 19 ffmpeg -f rawvideo -s 480x480 -r 29 -i 
> fifodir.108 
> 01/vidout -f yuv4mpegpipe - | nice -n 19 yuvdenoise -r 16 | nice -n 19 
> yuvscaler 
>  -v 0 -n n -M BICUBIC -O SVCD | nice -n 19 mpeg2enc --format 5 
> --quantisation 5  
> --quantisation-reduction 2 --video-bitrate 02500 --aspect 2 
> --frame-rate 4 --int 
> erlace-mode 1 --motion-search-radius 24 --video-buffer 230 
> --nonvideo-bitrate 01 
> 92 --sequence-length 795 --reduction-4x4 1 --reduction-2x2 1 --keep-hf 
> -o 1034_2 
> 0030906013000_20030906020000.m2v
>    INFO: [yuvscaler] yuvscaler (version 1.6.0) 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
> Input #0, rawvideo, from 'fifodir.10801/vidout':
>   Stream #0.0: Video: rawvideo, yuv420p, 480x480, 29.00 fps, 800 kb/s
> Output #0, yuv4mpegpipe, to 'pipe:':
>   Stream #0.0: Video: rawvideo, yuv420p, 480x480, 29.00 fps, q=2-31, 
> 200 kb/s
> Stream mapping:
>   Stream #0.0 -> #0.0
> Press [q] to stop encoding
>    INFO: [yuvdenoise]  
> ========================================================
>    INFO: [yuvdenoise]          Y4M2 
> Motion-Compensating-YCrCb-Denoiser         
>    INFO: [yuvdenoise]  
> ========================================================
>    INFO: [yuvdenoise]  Version: MjpegTools 1.6.0
>    INFO: [yuvdenoise] 
>    INFO: [yuvdenoise]  Denoiser - Settings:
>    INFO: [yuvdenoise]  --------------------
>    INFO: [yuvdenoise] 
>    INFO: [yuvdenoise]  Mode             : Progressive frames
>    INFO: [yuvdenoise]  Deinterlacer     : Off
>    INFO: [yuvdenoise]  Postprocessing   : On
>    INFO: [yuvdenoise]  Frame border     : x:  0 y:  0 w:480 h:480
>    INFO: [yuvdenoise]  Search radius    :  16
>    INFO: [yuvdenoise]  Filter delay     :   3
>    INFO: [yuvdenoise]  Filter threshold :   5
>    INFO: [yuvdenoise]  Pass 2 threshold :   4
>    INFO: [yuvdenoise]  Y - contrast     : 100 %
>    INFO: [yuvdenoise]  Cr/Cb - contrast : 100 %
>    INFO: [yuvdenoise]  Sharpen          : 125 %
>    INFO: [yuvdenoise] 
>    INFO: [yuvdenoise] Using extended MMX SIMD optimisations.
>    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 
> 1034_20030906013000_20030906020000. 
> 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: 5 (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: 24
>    INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15
>    INFO: [mpeg2enc] Setting colour/gamma parameters to "unspecified"
>    INFO: [mpeg2enc] Progressive format frames = 0
>    INFO: [mpeg2enc] Setting hi-res intra Quantisation matrix
>    INFO: [mpeg2enc] Setting hi-res non-intra quantiser matrix
>    INFO: [mpeg2enc] Buffering 39 frames
>    INFO: [mpeg2enc] GOP LENGTH = 15ime=0.9 bitrate=80181.4kbits/s  
>    INFO: [mpeg2enc] Frame start 0 I 0 0
> Segmentation fault
>
> Thanks for all your help
> -Jon






More information about the mythtv-users mailing list