[mythtv-commits] Ticket #9892: Latest mplayer breaks nuvexport
MythTV
noreply at mythtv.org
Sun Sep 11 02:05:17 UTC 2011
#9892: Latest mplayer breaks nuvexport
------------------------------------------+------------------------
Reporter: cto@… | Owner: beirdo
Type: Bug Report - Hang/Deadlock | Status: closed
Priority: minor | Milestone: 0.25
Component: Bindings - Perl | Version: 0.24.1
Severity: medium | Resolution: fixed
Keywords: nuvexport, mplayer, mencoder | Ticket locked: 0
------------------------------------------+------------------------
Comment (by mpc_mythtv@…):
I should have said - differences between recordings from the same channel
that work and that don't work appear to be down to mplayer detecting the
broadcast stream as MPEG-PS or as TS.
A recording that works with -frames 1:
{{{
# mplayer -frames 1 -vo null -identify 1001_20110910180000.mpg 2>&1
MPlayer UNKNOWN-4.1.2 (C) 2000-2011 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Playing 1001_20110910180000.mpg.
ID_VIDEO_ID=0
ID_AUDIO_ID=0
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0
kbyte/s)
Load subtitles in ./
ID_FILENAME=1001_20110910180000.mpg
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=15000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.29
ID_LENGTH=3841.48
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
ID_VIDEO_CODEC=ffmpeg2
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II,
III)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mpg123
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [null] 720x576 => 1024x576 Planar YV12
A: 0.3 V: 0.3 A-V: 0.038 ct: 0.000 2/ 2 ??% ??% ??,?% 0 0
Exiting... (End of file)
ID_EXIT=EOF
}}}
A recording that does not:
{{{
$ mplayer -frames 1 -identify /mnt/d5/tv/1007_20110904185500.mpg
MPlayer UNKNOWN-4.1.2 (C) 2000-2011 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Playing /mnt/d5/tv/1007_20110904185500.mpg.
TS file format detected.
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
<snip a lot of repeats of the previous line>
NO VIDEO! AUDIO MPA(pid=621) NO SUBS (yet)! PROGRAM N. 1
ID_AUDIO_ID=621
ID_AID_621_LANG=eng
Load subtitles in /mnt/d5/tv/
ID_FILENAME=/mnt/d5/tv/1007_20110904185500.mpg
ID_DEMUXER=mpegts
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_VIDEO_ID=620
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
ID_START_TIME=31746.15
ID_LENGTH=0.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II,
III)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mpg123
Video: no video
Starting playback...
< with -frames 0, mplayer quits here. ( Exiting... (End of file) and
ID_EXIT=EOF >
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.2 ( 8:49:06.1) of 72539.6 (20:08:59.6) ??,?%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.3 ( 8:49:06.3) of 72539.6 (20:08:59.6) ??,?%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.4 ( 8:49:06.3) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.5 ( 8:49:06.5) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.6 ( 8:49:06.6) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.8 ( 8:49:06.7) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.9 ( 8:49:06.9) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31747.0 ( 8:49:06.9) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31747.1 ( 8:49:07.1) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31747.3 ( 8:49:07.2) of 72539.6 (20:08:59.6) 0.2%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
ID_SUBTITLE_ID=623
ID_SID_623_LANG=eng
A:31747.4 ( 8:49:07.3) of 72539.6 (20:08:59.6) 0.3%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31747.5 ( 8:49:07.4) of 72539.6 (20:08:59.6) 0.3%
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31747.6 ( 8:49:07.5) of 72539.6 (20:08:59.6) 0.3%
<snip>
}}}
Hope that helps a little more. It looks like a flaw in mplayer rather
than a bug in nuvexport/myth's perl libraries.
Cheers,
Mark
{{{
Setup: Centos 5.6, 64bit, atrpms
mythtv-backend-0.24.1-277.el5.x86_64
mplayer-1.0-87_snap20110830.el5.x86_64 ( have tried back to 0.79 - same
behaviour )
nuvexport-0.5-6_20110102.svn.el5.noarch
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9892#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list