[mythtv-commits] Ticket #10042: mythburn.py enhancements

MythTV noreply at mythtv.org
Sat Sep 17 17:42:06 UTC 2011


#10042: mythburn.py enhancements
-------------------------------------------------+-------------------------
     Reporter:  Britney Fransen                  |      Owner:  paulh
  <britney.fransen@…>                            |     Status:  new
         Type:  Patch - Feature                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  0.24-fixes
    Component:  Plugin - MythArchive             |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 Attached is a patch that improves mythburn.py aspect ratio and video
 storage groups support.

 Changes:
 - getAspectRatioOfVideo: Changed streaminfo.xml to streaminfo_orig.xml.
 When ffmpeg transcodes the file the original DAR was lost. For example,
 720x480 nuv files with a DAR of 1.33 after transcode the DAR would be 1.5
 which would cause the aspect ratio of the output dvd to be set as 1.7778
 causing the picture to be stretched.

 - Added getVideoPath: When using Storage Groups for videos an error would
 occur because mytharchivehelper only provides the filename and not the
 complete file path as it does for recordings. getVideoPath pulls the
 Videos storage groups paths from the db, adds the local videopath, and
 returns the path where the filename is found.  getVideoPath replaces
 videopath in the rest of the script.

 - getStreamInformation: In many cases mytharchivehelper provides N/A for
 the aspect ratio or calculates the aspect ratio based on the PAR. In the
 patch getStreamInformation uses ffmpeg to get the DAR if it is available.
 If DAR isn't available it sets the aspect ratio from the PAR.

 - encodeVideoToMPEG2: In cases where the video aspect ratio is > 1.9 add
 padding to the ffmpeg output video to avoid stretched video. Added folder
 parameter.

 - encodeNuvToMPEG2: Removed the -crop* options as they do not work in the
 latest versions of ffmpeg or mythffmpeg that is in .24-fixes.

 - various other typos and whitespaces

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10042>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list