[mythtv-users] mythtranscode and wrong aspect ratio
Markus Schulz
msc at antzsystem.de
Tue Nov 20 00:53:37 UTC 2007
hello,
i've tried to convert mpeg2 (720x576 anamorphic 16/9) to mpeg4 with
mythtranscode without luck so far.
***********************************************
Source file:
# mplayer -identify -frames 1 -vo null -ao null 29664_20071118154631.mpg
...
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0
kbyte/s)
ID_FILENAME=29664_20071118154631.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
...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [null] 720x576 => 1024x576 Mpeg PES
***********************************************
Transcode process:
# mythtranscode --chanid 29664 --starttime 20071118154631 --profile
54 --outfile test.nuv
2007-11-20 01:36:31.379 Using runtime prefix = /usr
2007-11-20 01:36:31.419 Empty LocalHostName.
2007-11-20 01:36:31.460 New DB connection, total: 1
2007-11-20 01:36:31.474 Enabled verbose msgs: important
2007-11-20 01:36:31.478 New DB connection, total: 2
2007-11-20 01:36:31.508 Using protocol version 36
2007-11-20 01:36:31.796 Resizing from 720x576 to 720x576
2007-11-20 01:36:31.991 mythtranscode: 0% Completed @ 0 fps.
2007-11-20 01:36:51.994 mythtranscode: 59% Completed @ 31.3669 fps.
***********************************************
After this the final test.nuv:
...
VIDEO: [DIVX] 720x576 10bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=test.nuv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=DIVX
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=2.2222
ID_AUDIO_FORMAT=LAME
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=671.36
...
Movie-Aspect is 2.22:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=2.2222
VO: [null] 720x576 => 1280x576 Planar YV12
***********************************************
Transcoder settings:
# echo "SELECT * FROM codecparams c where profile = 54"|mysql
mythconverg
profile name value
54 encodingthreadcount 1
54 hardwaremjpeghdecimation 4
54 hardwaremjpegquality 100
54 hardwaremjpegvdecimation 4
54 height 576
54 mp3quality 7
54 mpeg2aspectratio 4:3
54 mpeg2bitrate 4500
54 mpeg2maxbitrate 6000
54 mpeg2streamtype MPEG-2 PS
54 mpeg4bitrate 1000
54 mpeg4maxquality 2
54 mpeg4minquality 15
54 mpeg4option4mv 0
54 mpeg4optionidct 0
54 mpeg4optionime 0
54 mpeg4optionvhq 0
54 mpeg4qualdiff 3
54 rtjpegquality 170
54 samplerate 48000
54 scalebitrate 1
54 transcodelossless 0
54 transcoderesize 1
54 volume 80
54 width 0
Aspect changed from:
ID_VIDEO_ASPECT=1.7778
to
ID_VIDEO_ASPECT=2.2222
any ideas how to prevent this?
--
Markus Schulz
Unix gives you just enough rope to hang yourself - and then acouple more
feet, just to be sure.
-- Eric Allman
More information about the mythtv-users
mailing list