[mythtv-commits] Ticket #9892: Latest mplayer breaks nuvexport
MythTV
noreply at mythtv.org
Sun Sep 11 01:40:08 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_myth@…):
The problem with switching to -frames 0 instead of -frames 1 is that it
causes mis-detections of the aspect ratio for some recordings.
Example recording from BBC1 (TV, 10th Sep 11) produces a non-detection of
the aspect ratio:
{{{
$ mplayer -frames 0 -identify 1001_20110910180000.mpg 2>&1 | grep ^ID
ID_VIDEO_ID=0
ID_AUDIO_ID=0
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 <<<< Badly detected aspect ratio
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
ID_VIDEO_CODEC=ffmpeg2
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=mpg123
ID_EXIT=EOF
}}}
Running the same with -frames 1 gives:
{{{
$ mplayer -frames 1 -identify 1001_20110910180000.mpg 2>&1 | grep ^ID
ID_VIDEO_ID=0
ID_AUDIO_ID=0
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 <<<< As before
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
ID_VIDEO_CODEC=ffmpeg2
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=mpg123
ID_VIDEO_ASPECT=1.7778 <<<<< Correct ratio
ID_EXIT=EOF
}}}
So, although the change to -frames 0 avoids the 'forever-hang' on some
recordings, it causes others to have the wrong aspect ratio reported.
Cheers,
Mark
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9892#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list