[mythtv-users] h264 disables keyboard?

Yan Seiner yan at seiner.com
Sun Feb 7 13:46:51 UTC 2010


Mark Kendall wrote:
> On 7 February 2010 13:13, Yan Seiner <yan at seiner.com> wrote:
>   
>> I've got a mystery.  movies that I've transcoded into h.264 don't respond to
>> remote/keyboard commands.  I can't pause, skip, or exit.
>>
>> Older movies transcoded with lavc work fine.  And sometimes the h.264 movies
>> work fine.
>>     
>
> I'm guessing that for whatever reason (bookmark set?) that mythtv is
> trying to seek in the transcoded file which is either not working at
> all or is taking far longer than you might expect - and as a result
> appears locked up.
>
> try posting the output of mythfrontend -v playback
>
>   

Here's the log.  Turns out the h.264 may be a red herring.

The log shows 2 movies:

G-Gorce.avi, which was recorded with h.264 and it works just fine.
naushika.avi, whch was also recorded with h.264, disables all keyboard
bindings, including volume, quit, everything.  If you allow it to play
to the end, it exits normally and the keyboard becomes functional again.

I'm attaching a log of the two play back situations with mythfrontend -v
playback.

Here's what mplayer -identify has to say about the two movies:

yan at selene:/data21/mythtv/movies$ mplayer -identify naushika.avi
MPlayer SVN-r30390-4.3.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing naushika.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  [h264]  672x432  24bpp  23.976 fps  1797.4 kbps (219.4 kbyte/s)
Clip info:
  Software: MEncoder SVN-r30390-4.3.3
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=MEncoder SVN-r30390-4.3.3
ID_CLIP_INFO_N=1
ID_FILENAME=naushika.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=h264
ID_VIDEO_BITRATE=1797376
ID_VIDEO_WIDTH=672
ID_VIDEO_HEIGHT=432
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=167272
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=6991.82
ID_SEEKABLE=1
ID_CHAPTERS=0
Xlib:  extension "XFree86-VidModeExtension" missing on display ":2.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 167.3 kbit/10.89% (ratio: 20909->192000)
ID_AUDIO_BITRATE=167272
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffmp3
Starting playback...
Movie-Aspect is 1.84:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.8449
VO: [xv] 672x432 => 798x432 Planar YV12
A:   6.7 V:   6.7 A-V:  0.002 ct: -0.041 161/161 19%  2%  0.8% 10 0
Exiting... (Quit)
ID_EXIT=QUIT





yan at selene:/data21/mythtv/movies$ mplayer -identify G-Force.avi
MPlayer SVN-r30390-4.3.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing G-Force.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  [h264]  512x352  24bpp  23.976 fps  1799.5 kbps (219.7 kbyte/s)
Clip info:
  Software: MEncoder SVN-r30390-4.3.3
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=MEncoder SVN-r30390-4.3.3
ID_CLIP_INFO_N=1
ID_FILENAME=G-Force.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=h264
ID_VIDEO_BITRATE=1799520
ID_VIDEO_WIDTH=512
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=217264
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=5295.96
ID_SEEKABLE=1
ID_CHAPTERS=0
Xlib:  extension "XFree86-VidModeExtension" missing on display ":2.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 217.3 kbit/14.14% (ratio: 27158->192000)
ID_AUDIO_BITRATE=217264
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffmp3
Starting playback...
Movie-Aspect is 1.72:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7244
VO: [xv] 512x352 => 608x352 Planar YV12
A:   4.6 V:   4.6 A-V:  0.004 ct: -0.043 111/111 10%  1%  1.2% 0 0
Exiting... (Quit)
ID_EXIT=QUIT
yan at selene:/data21/mythtv/movies$


--Yan

-- 

    o__
    ,>/'_         o__
    (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_
when we forsake our friends and break all (_)\(_)
bonds of fellowship, but it is not this day.
It is not this day!
This day we ride!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: myth.log.1.gz
Type: application/x-gzip
Size: 11813 bytes
Desc: not available
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100207/f31cb7d0/attachment.bin>


More information about the mythtv-users mailing list