[mythtv-commits] Ticket #9892: Latest mplayer breaks nuvexport
MythTV
noreply at mythtv.org
Sun Sep 11 02:51:51 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@…):
Hi all,
I found another workaround - it looks like increasing the amount of the
stream that mplayer looks at can also fix the problem of non-detected
video.
Swapping the command line for:
{{{
$ mplayer -frames 1 -tsprobe 100000000 -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>
VIDEO MPEG2(pid=620) AUDIO MPA(pid=621) SUB DVB(pid=623) PROGRAM N. 1
ID_VIDEO_ID=620
ID_AUDIO_ID=621
ID_AID_621_LANG=eng
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0
kbyte/s)
Load subtitles in /mnt/d5/tv/
ID_FILENAME=/mnt/d5/tv/1007_20110904185500.mpg
ID_DEMUXER=mpegts
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=31746.15
ID_LENGTH=1238.01
ID_SEEKABLE=1
ID_CHAPTERS=0
Xlib: extension "XFree86-VidModeExtension" missing on display
"localhost:11.0".
Xlib: extension "NV-GLX" missing on display "localhost:11.0".
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
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]
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]
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]
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: [gl_nosw] 720x576 => 1024x576 Planar YV12
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
PROGRAM_ID=1 (0x01), PMT_PID: 4351(0x10FF)
A:31746.5 V:31747.9 A-V: -1.404 ct: 0.000 4/ 4 ??% ??% ??,?% 3 0
Exiting... (End of file)
ID_EXIT=EOF
}}}
I've checked, and it seems that adding -tsprobe <big number> doesn't hurt
mplayer's identification of MPEG-PS, so this might be able to be added
routinely. I've added it to Recording.pm, and it does fix the hang for
me.
50,000,000 seems to reliably hang,
60,000,000 seems to work for some recordings,
120,000,000 seems to work reliably for me for a collection of about 100 tv
recordings.
Nothing seems to prevent the hang for radio recordings without a video
stream. Piping in a 'q' after 15 seconds should cause mplayer to quit
gracefully but feels somewhat ugly.
Cheers,
Mark
( Sorry for the repeated additions to this ticket. )
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9892#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list