[mythtv-users] MythExport - iPod Touch / iPhone Settings

Douglas Wagner douglasw0 at gmail.com
Sun Apr 25 07:00:34 UTC 2010


So I FINALLY worked through all of my problems with MythExport tonight,
managed to get the software installed (mysql server upgrade from 5.0 -> 5.1
+ adding procedures = fail), got the web stuff working, and now I'm trying
to transcode a recording to test.  The full output of the ffmpeg run is
below...the end result is it's blowing up during the export pretty much
immediately with "Error while opening codec for output stream #0.1 - maybe
incorrect parameters such as bit_rate, rate, width or height"

Also tried with -ab 192kb instead of -ab 448kb to the same problem.

I need help BADLY.  I'm T-10 days from a 15 hour car trip to Grandma's house
with an 8 year old and a 6 year old and so help me my wife will make sure
I'm tortured as much as she is if the kids have nothing to do on the way
out. :)

Both of them have iPod Touches, I'm working with an iPhone 3G (not the S).
I'd like to get something to export to a playable format so I can
test/verify the iTunes settings and start exporting programs ASAP.  Note,
this isn't streaming, this is simple export and download via iTunes (well,
simple export, I can't even get a file to try downloading).

I've got very little idea what I'm doing for parameters.  I did a search on
mythexport iPhone but I'm not finding much of use.

On a second note, I'm using libmp3lame for the Audio Codec, according to the
mythexport wiki site, the most recent version of libavcodec-extra-52 was
SUPPOSED to have given us back libaac encoding, but when I try to use
"libfaac" in place of libmp3lame, ffmpeg comes back complaining that it's an
invalid codec.

Any help any of you can provide would be MOST appreciated.

--Illydth

douglasw at ghost:~$ ffmpeg -i /video/1021_20100419200000.mpg -y -acodec
libmp3lame -ab 448kb -vcodec mpeg4 -b 600kb -mbd 2 -flags +mv4+aic -trellis
2 -cmp 2 -subcmp 2 -s 480x320 -aspect 16:9
'/mnt/varchive/ipodfeed/KTVI-DT-24-Day_8_9_00AM_10_00AM-20100419200000.mp4'
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2.1, Copyright (c)
2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2.1 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib
--disable-stripping --disable-vhook --enable-gpl --enable-postproc
--enable-swscale --enable-x11grab --enable-libdc1394
--extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include
--enable-shared --disable-static
  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 Apr  8 2010 20:05:15, gcc: 4.4.1

Seems stream 0 codec frame rate differs from container frame rate: 119.88
(120000/1001) -> 59.94 (60000/1001)
Input #0, mpegts, from '/video/1021_20100419200000.mpg':
  Duration: 00:59:56.56, start: 8750.110567, bitrate: 14678 kb/s
  Program 1
    Stream #0.0[0x31]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR
16:9], 19000 kb/s, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Output #0, mp4, to
'/mnt/varchive/ipodfeed/KTVI-DT-24-Day_8_9_00AM_10_00AM-20100419200000.mp4':
    Stream #0.0: Video: mpeg4 (hq), yuv420p, 480x320 [PAR 32:27 DAR 16:9],
q=2-31, 600 kb/s, 90k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: libmp3lame, 48000 Hz, 5.1, s16, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening codec for output stream #0.1 - maybe incorrect
parameters such as bit_rate, rate, width or height

douglasw at ghost:~$ ffmpeg -version
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2.1, Copyright (c)
2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2.1 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib
--disable-stripping --disable-vhook --enable-gpl --enable-postproc
--enable-swscale --enable-x11grab --enable-libdc1394
--extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include
--enable-shared --disable-static
  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 Apr  8 2010 20:05:15, gcc: 4.4.1
FFmpeg SVN-r19352-4:0.5+svn20090706-2ubuntu2.1
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100425/254333e8/attachment.htm>


More information about the mythtv-users mailing list