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

Mailing List Archive: MythTV: Users

Debugging nuvexport in trunk

 

 

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


g8ecj at gilks

Mar 21, 2010, 5:21 PM

Post #1 of 6 (625 views)
Permalink
Debugging nuvexport in trunk

I'm trying to export from H264 (the local broadcast HD standard) to Xvid
that I know my underpowered Via Epia will handle.

I got a pretty meaningless error message saying that the output parameters
were incorrect. How do I debug this further?

svn info
Path: .
URL: http://svn.mythtv.org/svn/trunk/mythextras/nuvexport
Repository Root: http://svn.mythtv.org/svn
Repository UUID: 7dbf422c-18fa-0310-86e9-fd20926502f2
Revision: 23766
Node Kind: directory
Schedule: normal
Last Changed Author: beirdo
Last Changed Rev: 23615
Last Changed Date: 2010-02-27 16:55:44 +1300 (Sat, 27 Feb 2010)


ffmpeg -version
FFmpeg version SVN-r20373, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Jan 9 2010 12:18:22 with gcc 4.3.4
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-static --enable-shared
--cc=x86_64-pc-linux-gnu-gcc --disable-debug --disable-network
--enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid
--disable-indev=oss --disable-indev=jack --disable-outdev=oss
--enable-x11grab --enable-pthreads --enable-libfaad --enable-libfaac
--enable-nonfree --disable-vdpau --disable-altivec --enable-gpl
--enable-version3 --enable-postproc --enable-avfilter
--enable-avfilter-lavf --disable-stripping --enable-hardcoded-tables
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 1 / 52.37. 1
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1. 4. 1 / 1. 4. 1
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
FFmpeg SVN-r20373
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 1 / 52.37. 1
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1. 4. 1 / 1. 4. 1
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0

--
Robin Gilks


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


gjhurlbu at gmail

Mar 21, 2010, 7:20 PM

Post #2 of 6 (606 views)
Permalink
Re: Debugging nuvexport in trunk [In reply to]

On Sun, Mar 21, 2010 at 8:21 PM, Robin Gilks <g8ecj [at] gilks> wrote:
> I'm trying to export from H264 (the local broadcast HD standard) to Xvid
> that I know my underpowered Via Epia will handle.
>
> I got a pretty meaningless error message saying that the output parameters
> were incorrect. How do I debug this further?

Well, the error message itself might be useful.

> ffmpeg -version
> FFmpeg version SVN-r20373, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>  built on Jan  9 2010 12:18:22 with gcc 4.3.4

Umm, not sure that will work. nuvexport wants a version of 0.5 and
above, and I'm not sure if this SVN version will qualify. Where is
this from anyways?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


g8ecj at gilks

Mar 22, 2010, 1:04 AM

Post #3 of 6 (596 views)
Permalink
Re: Debugging nuvexport in trunk [In reply to]

> On Sun, Mar 21, 2010 at 8:21 PM, Robin Gilks <g8ecj [at] gilks> wrote:
>> I'm trying to export from H264 (the local broadcast HD standard) to Xvid
>> that I know my underpowered Via Epia will handle.
>>
>> I got a pretty meaningless error message saying that the output
>> parameters
>> were incorrect. How do I debug this further?
>
> Well, the error message itself might be useful.

If it hadn't scrolled off the top of the xterm I'd have it!! I was looking
for debug options, which I can't find, or some sort of dry run option.

I've just started another session, all defaults, in a few hours when it
gets to the failure point I'll report the actual error.

You have chosen to export 1 episode:

1. Grand Designs:
The Contemporary Cedar Clad Home, Stirling (Sat Mar 20 07:30 PM)
1920x1088 H264 (16:9)
Theo and Elaine decide to settle by building a house sourced from all
over
the world.

* Separate multiple episodes with spaces, or ranges with '-'

c. Continue
n. Choose another show
q. Quit

Choose a function, or episode(s) to remove: c
Where would you like to export the files to? [.]
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? [768]
Default resolution based on requested dimensions.
Width? [512]
Height? [288]

Now encoding: Grand Designs: The Contemporary Cedar Clad Home, Stirling
Encode started: Mon Mar 22 20:54:48 2010
First pass...
Waiting for mythtranscode to set up the fifos.
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.




>> ffmpeg -version
>> FFmpeg version SVN-r20373, Copyright (c) 2000-2009 Fabrice Bellard, et
>> al.
>>  built on Jan  9 2010 12:18:22 with gcc 4.3.4
>
> Umm, not sure that will work. nuvexport wants a version of 0.5 and
> above, and I'm not sure if this SVN version will qualify. Where is
> this from anyways?

Thats the latest stable Gentoo version - media-video/ffmpeg-0.5_p20373 -
to give its full emerge name and version, so I guess that falls into the
0.5 and above category.


--
Robin Gilks


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


g8ecj at gilks

Mar 22, 2010, 4:33 AM

Post #4 of 6 (581 views)
Permalink
Re: Debugging nuvexport in trunk [In reply to]

>>> I got a pretty meaningless error message saying that the output
>>> parameters
>>> were incorrect. How do I debug this further?
>>
>> Well, the error message itself might be useful.
>
> If it hadn't scrolled off the top of the xterm I'd have it!! I was looking
> for debug options, which I can't find, or some sort of dry run option.
>
> I've just started another session, all defaults, in a few hours when it
> gets to the failure point I'll report the actual error.

Here we go - I said they were pretty meaningless!!

ffmpeg had critical errors:

Error while opening encoder for output stream #0.1 - maybe incorrect
parameters such as bit_rate, rate, width or height

Cleaning up temp files.
Cleaning up child processes.




--
Robin Gilks



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


gjhurlbu at gmail

Mar 22, 2010, 6:57 AM

Post #5 of 6 (587 views)
Permalink
Re: Debugging nuvexport in trunk [In reply to]

On Mar 22, 2010, at 7:33 AM, "Robin Gilks" <g8ecj [at] gilks> wrote:

>
>>>
>>
>>
> Here we go - I said they were pretty meaningless!!
>
> ffmpeg had critical errors:
>
> Error while opening encoder for output stream #0.1 - maybe incorrect
> parameters such as bit_rate, rate, width or height
>

Ok. Could you please run nuvexport with --debug and let me know the
ffmpeg command line(s)?

Also which version of nuvexport do you run?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


g8ecj at gilks

Mar 22, 2010, 12:04 PM

Post #6 of 6 (580 views)
Permalink
Re: Debugging nuvexport in trunk [In reply to]

> On Mar 22, 2010, at 7:33 AM, "Robin Gilks" <g8ecj [at] gilks> wrote:
>
>>
>>>>
>>>
>>>
>> Here we go - I said they were pretty meaningless!!
>>
>> ffmpeg had critical errors:
>>
>> Error while opening encoder for output stream #0.1 - maybe incorrect
>> parameters such as bit_rate, rate, width or height
>>
>
> Ok. Could you please run nuvexport with --debug and let me know the
> ffmpeg command line(s)?

Ah - that's what I needed to know. The --help option is not very helpful!

> Also which version of nuvexport do you run?
>
$ nuvexport --version
Net::UPnP::QueryResponse is not installed!
nuvexport version: 0.5 0.20090726.svn

Cleaning up temp files.

Debug output

To encode: Grand Designs: The Contemporary Cedar Clad Home, Stirling
Use the following commands:
First pass...

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

forking:
/usr/bin/nice -n19 /usr/local/bin/mythtranscode --showprogress -p '0' -c
'7003' -s '2010-03-20T19:27:00' -f "/tmp/fifodir_32711/" --honorcutlist
--fifosync 2>&1

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

forking:
/usr/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 6 -f
rawvideo -pix_fmt yuv420p -s 1920x1088 -aspect 1.77777777777778 -r 25.000
-i /tmp/fifodir_32711/vidout -aspect 1.77777777777778 -r 25.000
-deinterlace -croptop 16 -cropright 28 -cropbottom 16 -cropleft 28 -s
512x288 -vcodec libxvid -b '768k' -minrate '32' -maxrate '1536k' -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.32711.log' -f avi /dev/null 2>&1
Final pass...

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

forking:
/usr/bin/nice -n19 /usr/local/bin/mythtranscode --showprogress -p '0' -c
'7003' -s '2010-03-20T19:27:00' -f "/tmp/fifodir_32711/" --honorcutlist
2>&1

forking:
/usr/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 6 -i
/tmp/fifodir_32711/audout -f rawvideo -pix_fmt yuv420p -s 1920x1088
-aspect 1.77777777777778 -r 25.000 -i /tmp/fifodir_32711/vidout -aspect
1.77777777777778 -r 25.000 -deinterlace -croptop 16 -cropright 28
-cropbottom 16 -cropleft 28 -s 512x288 -vcodec libxvid -b '768k'
-minrate '32' -maxrate '1536k' -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.32711.log'
-acodec libmp3lame -async 1 -ab '128k' -f avi './Grand Designs - The
Contemporary Cedar Clad Home, Stirling.2.avi' 2>&1

Cleaning up temp files.



--
Robin Gilks


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

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