Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#3961 closed defect (invalid)

Wrong resolution in LP profile

Reported by: anonymous Owned by: paulh
Priority: major Milestone: unknown
Component: mytharchive Version: unknown
Severity: medium Keywords: mytharchive ffmpeg resolution
Cc: Ticket locked: no

Description

The LP profile is specified to have a resolution of 352x576. It is supposed to be 576x352. At the moment ffmpeg will return an error when MythArchive? wants to run it and terminates MythArchive?. The error is in /trunk/mythplugins/mytharchive/mythburn/encoder_profiles/ffmpeg_dvd_pal.xml

<profile> 44 <name>LP</name> 45 <description>A long play profile giving approx. 4 hour of video on a single layer DVD</description> 46 <bitrate>1030.07</bitrate> 47 <passes>1</passes> 48 <parameter name="-v" value="1"/> 49 <parameter name="-i" value="%inputfile"/> 50 <parameter name="-r" value="pal"/> 51 <parameter name="-target" value="dvd"/> 52 <parameter name="-b" value="2344k"/> 53 <parameter name="-s" value="352x576"/> 54 <parameter name="-acodec" value="ac3"/> 55 <parameter name="-ab" value="192k"/> 56 <parameter name="-ac" value="2"/> 57 <parameter name="-copyts" value=""/> 58 <parameter name="-aspect" value="%aspect"/> 59 <parameter name="" value="%outputfile"/> 60 </profile>

Change History (6)

comment:1 Changed 17 years ago by paulh

Resolution: invalid
Status: newclosed

352x576 is a valid DVD resolution for PAL.

comment:2 Changed 17 years ago by laga@…

Resolution: invalid
Status: closedreopened

Hi,

while I'm not the OP, he reported this bug in the ubuntu bug tracker as well, providing further explanation:


It is wrong because ffmpeg want a width x height resolution. 576x352 would be ok.

Snippet from progress.log
************************************************************
2007-09-11 18:09:09 ERROR: Failed while running ffmpeg to re-encode video.
Command was ffmpeg -threads 2 -v 1 -i "/media/filer/temp/work/1/newfile.mpg" -r pal -target dvd -b 2344k -s 352x576 -acodec ac3 -ab 192 -ac 2 -copyts -aspect 4:3 "/media/filer/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
2007-09-11 18:09:09 ************************************************************

Snippet from ffmpeg man page
 -s size
           Set frame size. The format is wxh (ffserver default = 160x128, ffm‐
           peg default = same as source).

Link: https://bugs.edge.launchpad.net/mythtv/+bug/138857

comment:3 Changed 17 years ago by stuartm

Resolution: invalid
Status: reopenedclosed

352 is the width, 576 is the height. The usage is correct.

comment:4 Changed 17 years ago by stuartm

Maybe this would be more appropriate for the ffmpeg bug tracker?

comment:5 in reply to:  4 Changed 17 years ago by mythtv@…

Seems a very strange resolution to me, but ok. The problem then becomes that many users won't capture tv with a ...x576 resolution. Is ffmpeg supposed to re-encode files that have an height of less then 576 pixels to something with an heigt of 576 pixels?

comment:6 Changed 17 years ago by stuartm

The clue is in the filename "ffmpeg_dvd_pal.xml". This is a PAL resolution, anyone in a PAL area should be capturing TV with 576 lines. If they are in an NTSC area then they need to choose another profile.

Note: See TracTickets for help on using tickets.