Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: users

New Nuvexport Problem

 

 

atrpms users RSS feed   Index | Next | Previous | View Threaded


disafan at aim

Apr 19, 2009, 6:40 AM

Post #1 of 5 (948 views)
Permalink
New Nuvexport Problem

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

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?

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Apr 19, 2009, 8:11 AM

Post #2 of 5 (884 views)
Permalink
Re: New Nuvexport Problem [In reply to]

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?
--
Axel.Thimm at ATrpms.net


disafan at aim

Apr 19, 2009, 10:28 AM

Post #3 of 5 (870 views)
Permalink
Re: New Nuvexport Problem [In reply to]

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.
>
> It is the latest 0.50 from your repository.
>> 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?
>
I'm running another encode right now to get another file with the same
error. I'm going to run that command on it right after it completes. And
try the debug. I haven't run a full series of tests yet, but will later
today when I have time. This is my preliminary information request, to
see if anyone has seen similar problems.

The first file was created with the stock nuvexportrc, with the
following override profile...just a straight cut and paste of te Xvid
section, with two modifiers.

<profile::hd>
mode = xvid
vbr = yes # Enable vbr to get the multipass/quantisation
options
# (enabling multipass or quantisation
automatically ena
bles vbr)
multipass = yes # You get either multipass or quantisation;
multipass wil
l override
# quantisation = 6 # 4 through 6 is probably right... 1..31 are
allowed (l
ower is better quality)
a_bitrate = 128 # Audio bitrate of 128 kbps
v_bitrate = 2000 # Remember, quantisation overrides video bitrate
width = 960 # Height adjusts automatically to width,
according to a
spect ratio
height = auto

</profile::hd>


_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


disafan at aim

Apr 19, 2009, 12:00 PM

Post #4 of 5 (885 views)
Permalink
Re: New Nuvexport Problem [In reply to]

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?
>


_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Apr 23, 2009, 6:03 AM

Post #5 of 5 (848 views)
Permalink
Re: New Nuvexport Problem [In reply to]

Hi,

On Sun, Apr 19, 2009 at 03:00:46PM -0400, DISAFAN wrote:
> Here's some additional info...How else may I research this?

Tru the ffmpeg commands used manually, and see if the bitrate vanishes
(it should). Next you can check ffmpeg's help to see what is needed
(other than an extra copy pass) to store proper bitrates.

> 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...

> /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

--
Axel.Thimm at ATrpms.net

atrpms users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.