[ATrpms-users] New Nuvexport Problem

DISAFAN disafan at aim.com
Sun Apr 19 21:00:46 CEST 2009


Here's some additional info...How else may I research this?

Enable Myth cutlist? [Yes]
Enable noise reduction (slower, but better results)? [No]
Enable deinterlacing? [Yes]
Crop broadcast overscan border (0-5%) ? [1.5]
Audio bitrate? [128]
Variable bitrate video? [Yes]
Multi-pass (slower, but better quality)? [Yes]
Video bitrate? [2000]
Default resolution based on requested dimensions.
Width? [960]
Height? [544]

--------------------------------
To encode:  Fringe:  Unleashed
Use the following commands:
First pass...

system call:
mkdir -m 0755 /tmp/fifodir_13621/

forking:
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p '0' -c '3031' -s 
'2009-04-14T21:01:00' -f "/tmp/fifodir_13621/" --honorcutlist --fifosync 
2>&1

forking:
cat /tmp/fifodir_13621/audout > /dev/null

forking:
/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -f rawvideo 
-pix_fmt yuv420p -s 1280x720 -aspect 1.77777777777778 -r 59.940 -i 
/tmp/fifodir_13621/vidout -aspect 1.77777777777778 -r 59.940 
-deinterlace -croptop    10 -cropright 18 -cropbottom 10 -cropleft  18 
-padtop 2 -padbottom 2 -s 960x540  -vcodec libxvid -b '2000k' -minrate 
'32' -maxrate '4000k' -bt '32k' -bufsize 65535 -flags +mv4+loop+aic+cgop 
-trellis 1 -mbd 1 -cmp 2 -subcmp 2 -b_qfactor '150' -b_qoffset '100' -bf 
'1' -pass 1 -passlogfile '/tmp/xvid.13621.log' -f avi /dev/null 2>&1
Final pass...

system call:
mkdir -m 0755 /tmp/fifodir_13621/

forking:
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p '0' -c '3031' -s 
'2009-04-14T21:01:00' -f "/tmp/fifodir_13621/" --honorcutlist 2>&1

forking:
/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -i 
/tmp/fifodir_13621/audout -f rawvideo -pix_fmt yuv420p -s 1280x720 
-aspect 1.77777777777778 -r 59.940 -i /tmp/fifodir_13621/vidout -aspect 
1.77777777777778 -r 59.940 -deinterlace -croptop    10 -cropright 18 
-cropbottom 10 -cropleft  18 -padtop 2 -padbottom 2 -s 960x540  -vcodec 
libxvid -b '2000k' -minrate '32' -maxrate '4000k' -bt '32k' -bufsize 
65535 -flags +mv4+loop+aic+cgop -trellis 1 -mbd 1 -cmp 2 -subcmp 2 
-b_qfactor '150' -b_qoffset '100' -bf '1' -pass 2 -passlogfile 
'/tmp/xvid.13621.log' -acodec libmp3lame -async 1  -ab '128k' -f avi 
'/var/media/export/Fringe_-_Unleashed.2.avi' 2>&1

Cleaning up temp files.



Just to add more info...

export]$ ffmpeg -analyzeduration 25M -i Fringe_-_Unleashed.avi
FFmpeg version 0.5-30.fc10, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --enable-shared --enable-gpl --enable-postproc 
--enable-swscale --enable-avfilter --enable-avfilter-lavf 
--enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth 
--disable-libamr-nb --disable-libamr-wb --enable-libdc1394 
--enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin 
--enable-libgsm --enable-libmp3lame --enable-libschroedinger 
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 
--enable-libxvid --extra-cflags=-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC --disable-stripping 
--extra-cflags=-I/usr/include/nvidia-graphics 
--extra-ldflags=-L/usr/lib64/nvidia-graphics
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar 15 2009 13:30:30, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
[NULL @ 0x10b6050]Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'Fringe_-_Unleashed.avi':
  Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 960x544 [PAR 136:135 DAR 16:9], 
59.94 tbr, 59.94 tbn, 59.94 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
At least one output file must be specified


Axel Thimm wrote:
> On Sun, Apr 19, 2009 at 09:40:38AM -0400, DISAFAN wrote:
>   
>> I'm experiencing a problem that I experienced when i tried to hack the 
>> FFMPEG file myself to produce results.
>>
>> Setting the bitrate to 2000, and the resolution to 960x540...the 
>> settings I use for HD recordings, the files produced seem to have 
>> playback problems in the internal MythTV playback.
>>
>> Running ffmpeg -i just to see the specs of the file produces:
>>
>>   Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
>>     Stream #0.0: Video: mpeg4, yuv420p, 960x544 [PAR 136:135 DAR 16:9], 
>> 29.97 tbr, 29.97 tbn, 29.97 tbc
>>     Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
>>     
>
> Note that -2147483648 in 32 bit integer arithemtics is 0x80000000h,
> e.g. the lowest negative number that can be represented. I think
> this is the equivalent to "N/A".
>
> Can you try
>
> ffmpeg -analyzeduration 25M -i
>
> Also which ffmpeg is this? I thought newer ffmpeg versions use "N/A"
> instead of -2147483 kb/s.
>
>   
>> Now, this can be fixed by a command such as...
>>
>> mencoder file.avi -forceidx -oac copy -ovc copy -o fixedfile.avi
>>
>> Producing a result of...
>>
>>   Duration: 00:19:49.68, start: 0.000000, bitrate: 2141 kb/s
>>     Stream #0.0: Video: mpeg4, yuv420p, 960x544 [PAR 136:135 DAR 16:9], 
>> 29.97 tbr, 29.97 tbn, 29.97 tbc
>>     Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
>>
>> But I thought someone might have figured out what has changed that 
>> causes the file to come out this way in the first place. Any ideas 
>> before I submit this to Trac?
>>     
>
> What created the first file? Can you try nuvexport --debug to see the
> commands that were used?
>   




More information about the atrpms-users mailing list