[mythtv-users] LiveStream/mythtranscode problem

Jeffrey Wong mindstormmaster+mythtv at gmail.com
Mon Mar 12 05:15:11 UTC 2012


I updated to 0.25_pre20120223 on Gentoo to try out the new API and Live
Stream feature.  (Ultimately I want to get live streaming onto my iPad.)

I've run into a problem where mythtranscode exits immediately, leaving a
"avfw->Init() failed" message in the logfile.  I have ffmpeg-0.7.8, if that
matters.

Thanks for any help.
-jw



mythbackend:
2012-03-11 21:53:56.547637 W [20300/20375] HTTPLiveStream
httplivestream.cpp:82 (run) - HLS(): Command '/usr/bin/mythtranscode --hls
--hlsstreamid 12 --verbose general --logpath /var/log/mythtv --loglevel
info' returned 255


mythtranscode:
2012-03-11 21:54:47.347013 C  mythtranscode version: master
[v0.25pre-4673-g89c34ef] www.mythtv.org
2012-03-11 21:54:47.347034 N  Enabled verbose msgs:  general
2012-03-11 21:54:47.347058 N  Setting Log Level to LOG_DEBUG
2012-03-11 21:54:47.347091 I  Added logging to the console
2012-03-11 21:54:47.347097 I  Added database logging to table logging
2012-03-11 21:54:47.347158 N  Setting up SIGHUP handler
2012-03-11 21:54:47.347238 N  Using runtime prefix = /usr
2012-03-11 21:54:47.347247 N  Using configuration directory = /root/.mythtv
2012-03-11 21:54:47.347355 W  This application expects to be running a
locale that specifies a UTF-8 codeset, and many features may behave
improperly with your current language settings. Please set the LC_ALL or
LC_CTYPE, and LANG variable(s) in the environment in which this program is
executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
2012-03-11 21:54:47.347693 I  Using localhost value of mythtv
2012-03-11 21:54:47.350402 I  Database connection created: DBManager0
2012-03-11 21:54:47.350422 I  New DB connection, total: 1
2012-03-11 21:54:47.352265 I  Connected to database 'mythconverg' at host:
localhost
2012-03-11 21:54:47.353690 I  Closing DB connection named 'DBManager0'
2012-03-11 21:54:47.353783 I  Database connection created: DBManager1
2012-03-11 21:54:47.353794 I  New DB connection, total: 1
2012-03-11 21:54:47.354102 I  Connected to database 'mythconverg' at host:
localhost
2012-03-11 21:54:47.355149 I  Current locale EN_US
2012-03-11 21:54:47.355195 N  Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2012-03-11 21:54:47.360914 D  Adding IPv4 loopback to address list.
2012-03-11 21:54:47.360929 D  Adding BackendServerIP6 to address list.
2012-03-11 21:54:47.360931 D  Adding BackendServerIP to address list.
2012-03-11 21:54:47.360949 D  Skipping address:
FE80:0:0:0:2E0:4DFF:FEB2:B53D
2012-03-11 21:54:47.361308 I  Loading en_us translation for module
mythfrontend
2012-03-11 21:54:47.361853 N  Transcoding HTTP Live Stream ID 12
2012-03-11 21:54:47.375280 I  QueryBasename found no entry for 0 @
2012-03-11T21:54:47
2012-03-11 21:54:47.396107 I  AFD: Opened codec 0x76f4c0, id(MPEG2VIDEO)
type(Video)
2012-03-11 21:54:47.396115 I  AFD: codec AC3 has 6 channels
2012-03-11 21:54:47.396351 I  AFD: Opened codec 0x783a10, id(AC3)
type(Audio)
2012-03-11 21:54:47.396359 I  AFD: codec AC3 has 2 channels
2012-03-11 21:54:47.396579 I  AFD: Opened codec 0x7857e0, id(AC3)
type(Audio)
2012-03-11 21:54:47.396657 N  AudioPlayer: Enabling Audio
2012-03-11 21:54:47.398709 N  Found video height of 1088.  This is unusual
and more than likely the video is actually 1080 so mythtranscode will treat
it as such.
2012-03-11 21:54:47.400451 E  avfw->Init() failed
2012-03-11 21:54:47.401240 E  Transcoding  failed
2012-03-11 21:54:47.401252 I  Waiting for threads to exit.
2012-03-11 21:54:47.426593 I  Database connection created: DBManager2
2012-03-11 21:54:47.426611 I  New DB connection, total: 2
2012-03-11 21:54:47.426970 I  Connected to database 'mythconverg' at host:
localhost
2012-03-11 21:54:47.429598 I  MythCoreContext: Connecting to backend
server: 192.168.1.60:6543 (try 1 of 1)
2012-03-11 21:54:47.430106 I  Using protocol version 72
2012-03-11 21:54:47.447419 I  Database connection created: DBManager3
2012-03-11 21:54:47.447441 I  New DB connection, total: 3
2012-03-11 21:54:47.447813 I  Connected to database 'mythconverg' at host:
localhost
2012-03-11 21:54:48.481527 I  Closing DB connection named 'DBManager3'
2012-03-11 21:54:48.481765 I  Closing DB connection named 'DBManager2'
2012-03-11 21:54:48.481916 I  Closing DB connection named 'DBManager1'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120311/907a32b5/attachment-0001.html 


More information about the mythtv-users mailing list