[mythtv-users] Interal Playback problems with MPEG-2 trancoded recordings
Brian White
bjwhite at columbus.rr.com
Sat Jan 8 18:55:26 UTC 2011
Hello,
I don't usually ask for help, but I'm at my wits end on this one.
Since I upgraded from 0.23 to 0.24, the internal player will not play
any of my manually transcoded recordings. I use a custom script to
transcode some of my shows in order to save disk space, but I like to
use the XVMC capabilities of my 6200 card. It plays raw ATSC
recordings with no problem, but I have various (lack of) results with
my transcoded ones.
Here is the transcoding command in my scripts:
/usr/bin/ffmpeg -r 29.97 -acodec ac3 -ab 160k -vcodec mpeg2video -i
"$tmp_path" -b 3100k -ac 2 -s 720x480 -g 30 -vsync 1 -async 2
"$source_path"
mythcommflag --rebuild -f $source_path
The raw recording .mpg file gets replaced with the new one. This
worked fabulously on 0.23 -- saved space and I could also play the
reduced video nicely on my other frontends that have lesser hardware.
Now, when I play the transcoded ones, it does one of the following
things:
1. Goes to black and freezes. I have to kill the frontend from the
command line.
2. It brings up the recording but plays it at about half speed with
no sound
3. It tries to load the recording with "Please Wait", but then just
kicks back to the "watch recording" screen after 20 seconds or so.
When I bring-up a recording and try to play, here is the "mythbackend
-v playback" result.
[root at mythmachine mythman]# mythfrontend -v playback
Qt: Session management error: Authentication Rejected, reason : None
of the authentication protocols specified are supported and host-based
authentication failed
2011-01-08 13:29:23.279 mythfrontend version: fixes/0.24 [v0.24-93-
g2f3a2f8] www.mythtv.org
2011-01-08 13:29:23.279 Using runtime prefix = /usr
2011-01-08 13:29:23.279 Using configuration directory = /root/.mythtv
2011-01-08 13:29:23.280 ThreadPool:HTTP: Initial 1, Max 25, Timeout
60000
2011-01-08 13:29:23.995 Empty LocalHostName.
2011-01-08 13:29:23.995 Using localhost value of mythmachine
2011-01-08 13:29:24.010 New DB connection, total: 1
2011-01-08 13:29:24.018 Connected to database 'mythconverg' at host:
localhost
2011-01-08 13:29:24.037 Closing DB connection named 'DBManager0'
2011-01-08 13:29:24.040 Connected to database 'mythconverg' at host:
localhost
2011-01-08 13:29:24.042 Current locale EN_US
2011-01-08 13:29:24.042 Reading locale defaults from /usr/share/
mythtv//locales/en_us.xml
2011-01-08 13:29:24.259 ScreenSaverX11Private: XScreenSaver support
enabled
2011-01-08 13:29:24.259 ScreenSaverX11Private: Gnome screen saver
support enabled
2011-01-08 13:29:24.260 DPMS is disabled.
2011-01-08 13:29:24.318 Desktop video mode: 1280x720 60.000 Hz
2011-01-08 13:29:24.341 max_width: 1920 max_height: 1080
2011-01-08 13:29:24.347 user: 0 effective user: 0 before privileged
thread
2011-01-08 13:29:24.347 user: 0 effective user: 0 after privileged
thread
2011-01-08 13:29:24.351 Enabled verbose msgs: important general
playback
2011-01-08 13:29:24.353 user: 0 effective user: 0 run_priv_thread
2011-01-08 13:29:24.356 Loading en_us translation for module
mythfrontend
2011-01-08 13:29:24.430 LIRC: Successfully initialized '/var/run/lirc/
lircd' using '/root/.lircrc' config
2011-01-08 13:29:24.430 JoystickMenuThread: Joystick disabled - Failed
to read /root/.mythtv/joystickmenurc
2011-01-08 13:29:24.476 Using Frameless Window
2011-01-08 13:29:24.962 Using the OpenGL painter
2011-01-08 13:29:25.045 OpenGL: OpenGL vendor : NVIDIA Corporation
2011-01-08 13:29:25.045 OpenGL: OpenGL renderer: GeForce 6200/PCI/SSE2
2011-01-08 13:29:25.045 OpenGL: OpenGL version : 2.1.2 NVIDIA 195.36.15
2011-01-08 13:29:25.045 OpenGL: Max texture size: 4096 x 4096
2011-01-08 13:29:25.045 OpenGL: Max texture units: 4
2011-01-08 13:29:25.045 OpenGL: Direct rendering: Yes
2011-01-08 13:29:25.045 OpenGL: Initialised MythRenderOpenGL
2011-01-08 13:29:25.576 Current MythTV Schema Version (DBSchemaVer):
1264
2011-01-08 13:29:25.577 VDP: decoder<->render support: ffmpeg
null xlib xshm xv-blit opengl vdpau
2011-01-08 13:29:25.577 VDP: decoder<->render support: xvmc
xvmc-blit
2011-01-08 13:29:25.577 VDP: decoder<->render support: xvmc-vld
xvmc-blit
2011-01-08 13:29:25.577 VDP: decoder<->render support: vdpau vdpau
2011-01-08 13:29:25.577 VDP: decoder<->render support: libmpeg2
null xlib xshm xv-blit opengl vdpau
2011-01-08 13:29:25.578 New DB connection, total: 2
2011-01-08 13:29:25.581 Connected to database 'mythconverg' at host:
localhost
2011-01-08 13:29:25.585 VDP: Ignoring profile item 26 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:25.592 VDP: Ignoring profile item 32 (decoder ivtv is
not supported (supported: ffmpeg,xvmc,xvmc-vld,vdpau,libmpeg2))
2011-01-08 13:29:25.594 VDP: Ignoring profile item 39 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:25.594 VDP: Ignoring profile item 40 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:25.595 VDP: Ignoring profile item 43 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:25.595 VDP: Ignoring profile item 44 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:25.597 VDP: Ignoring profile item 47 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:25.597 VDP: Ignoring profile item 48 (renderer quartz-
blit is not supported w/decoder ffmpeg (supported: null,xlib,xshm,xv-
blit,opengl,vdpau))
2011-01-08 13:29:26.226 Pulse: PulseAudio suspend OK
2011-01-08 13:29:26.422 Pulse: PulseAudio resume OK
2011-01-08 13:29:26.572 Registering Internal as a media playback plugin.
2011-01-08 13:29:26.623 Loading en_us translation for module mytharchive
2011-01-08 13:29:26.641 Registering WebBrowser as a media playback
plugin.
2011-01-08 13:29:26.641 Loading en_us translation for module mythbrowser
2011-01-08 13:29:26.768 MonitorRegisterExtensions(0x100, gif,jpg,png)
2011-01-08 13:29:26.768 Loading en_us translation for module mythgallery
2011-01-08 13:29:26.800 Loading en_us translation for module mythgame
2011-01-08 13:29:26.897 Current MythMusic Schema Version
(MusicDBSchemaVer): 1017
2011-01-08 13:29:26.976 MonitorRegisterExtensions(0x40,
mp3
,mp2
,ogg
,oga
,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2011-01-08 13:29:26.994 Loading en_us translation for module mythmusic
2011-01-08 13:29:27.017 Loading en_us translation for module
mythnetvision
2011-01-08 13:29:27.031 Loading en_us translation for module mythnews
2011-01-08 13:29:27.056 Current MythVideo Schema Version
(mythvideo.DBSchemaVer): 1038
2011-01-08 13:29:27.096 Loading en_us translation for module mythvideo
2011-01-08 13:29:27.114 Loading en_us translation for module mythweather
2011-01-08 13:29:27.128 Loading en_us translation for module
mythzoneminder
2011-01-08 13:29:27.130 NetworkControl: Listening for remote
connections on port 6546
2011-01-08 13:29:27.152 Found mainmenu.xml for theme 'blue-abstract-
wide'
2011-01-08 13:29:27.623 MythCoreContext: Connecting to backend server:
192.168.1.201:6543 (try 1 of 1)
2011-01-08 13:29:27.624 Using protocol version 63
2011-01-08 13:30:58.712 Failed to create OpenGL texture.
2011-01-08 13:30:58.802 Preview Error: 1682_2011-01-05T20:00:00:
Encountered problems running '/usr/bin/mythpreviewgen --size 0x0 --
chanid 1682 --starttime 20110105200000 > /dev/null'
2011-01-08 13:30:59.173 TV: StartTV() -- begin
2011-01-08 13:30:59.179 TV: ctor -- begin
2011-01-08 13:30:59.192 TV: ctor -- end
2011-01-08 13:30:59.192 TV: Init -- begin
2011-01-08 13:30:59.195 TV: DrawUnusedRects() -- begin
2011-01-08 13:30:59.195 TV: DrawUnusedRects() -- end
2011-01-08 13:30:59.195 TV: Init -- end
2011-01-08 13:30:59.200 TV: tv->Playback() -- begin
2011-01-08 13:30:59.218 TV: tv->Playback() -- end
2011-01-08 13:30:59.218 TV: StartTV -- process events begin
2011-01-08 13:30:59.307 TV: HandleStateChange(0) -- begin
2011-01-08 13:30:59.307 TV: Attempting to change from None to
WatchingPreRecorded
2011-01-08 13:30:59.309 RingBuf(/video/store/1682_20110105200000.mpg):
OpenFile(/video/store/1682_20110105200000.mpg, 2000 ms)
2011-01-08 13:30:59.326 TV: DrawUnusedRects() -- begin
2011-01-08 13:30:59.326 TV: DrawUnusedRects() -- end
2011-01-08 13:30:59.326 TV: StartPlayer(0, WatchingPreRecorded, main)
-- begin
2011-01-08 13:30:59.326 TV: Elapsed time since TV constructor was
called: 147 ms
2011-01-08 13:30:59.552 Pulse: PulseAudio suspend OK
2011-01-08 13:30:59.619 Player(0), Error: Couldn't find an A/V decoder
for: '/video/store/1682_20110105200000.mpg'
2011-01-08 13:30:59.619 Unable to open video file.
2011-01-08 13:31:19.652 playCtx, Error: StartPlaying() Failed to start
player
2011-01-08 13:31:19.652 Player(0): StopPlaying - begin
2011-01-08 13:31:19.652 Player(0): Exited decoder loop.
2011-01-08 13:31:19.765 Pulse: PulseAudio resume OK
2011-01-08 13:31:19.765 Player(0): StopPlaying - end
2011-01-08 13:31:19.765 TV: StartPlayer(0, WatchingPreRecorded, main)
-- end error
2011-01-08 13:31:19.767 TV: HandleStateChange(0) -- end
2011-01-08 13:31:19.767 TV: StartTV -- process events end
2011-01-08 13:31:19.767 TV: StartTV -- process events 2 begin
2011-01-08 13:31:19.771 PreviewQueue: Not requesting preview for "The
Middle":"Taking Back the House",as it is already being generated
2011-01-08 13:31:19.774 ScreenSaverX11Private: ResetTimer -- begin
2011-01-08 13:31:19.774 ScreenSaverX11Private: StopTimer
2011-01-08 13:31:19.775 ScreenSaverX11Private: StartTimer
2011-01-08 13:31:19.775 ScreenSaverX11Private: ResetTimer -- end
2011-01-08 13:31:19.784 TV: StartTV -- process events 2 end
2011-01-08 13:31:19.785 TV::~TV() -- begin
2011-01-08 13:31:19.785 TV: DrawUnusedRects() -- begin
2011-01-08 13:31:19.785 TV: DrawUnusedRects() -- end
2011-01-08 13:31:19.785 TV: DrawUnusedRects() -- begin
2011-01-08 13:31:19.785 TV: DrawUnusedRects() -- end
2011-01-08 13:31:19.796 TV::~TV() -- lock
2011-01-08 13:31:19.796 Player(0): StopPlaying - begin
2011-01-08 13:31:19.796 Player(0): Exited decoder loop.
2011-01-08 13:31:19.796 Player(0): StopPlaying - end
2011-01-08 13:31:19.800 TV::~TV() -- end
2011-01-08 13:31:19.803 TV: StartTV -- end
If I then run
mplayer /video/store/1682_20110105200000.mpg
it runs just fine.
Is there any way to know why it "can't find an A/V decoder"?, or if
that is the main problem?
I'm happy to post any trouble-shooting / verbose output you'd like.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110108/343231df/attachment.htm>
More information about the mythtv-users
mailing list