Opened 12 years ago

Closed 11 years ago

#5755 closed enhancement (fixed)

Record video aspect changes while recording

Reported by: stuartm Owned by: stuartm
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Originally requested by Xris and Kormoc as necessary to select the correct aspect ratio for flash streaming and nuxexport.

This actually has potential for some other applications, one side benefit is that by simply changing the mark types I've instantly edited out adverts from some of my recordings.

Attached is the first version of the patch, with support for mpeg2 recordings. AVC will be added once I have time to read the specs (help would be appreciate here).

Feedback is appreciated.

Attachments (2)

aspectratio.diff (6.4 KB) - added by stuartm 12 years ago.
t5755_h264_aspect.diff (6.9 KB) - added by Janne Grunau 12 years ago.
records the aspect ratio of H264 recordings

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by stuartm

Attachment: aspectratio.diff added

comment:1 Changed 12 years ago by stuartm

(In [18558]) Record aspect ratio changes in recorded markup during recording. Mpeg2 only at the moment.

comment:2 Changed 12 years ago by Janne Grunau

(In [18593]) Initialize aspectRatio to zero, Refs #5755

comment:3 Changed 12 years ago by Janne Grunau

(In [18594]) remove debugging VERBOSE statement. Refs #5755

Changed 12 years ago by Janne Grunau

Attachment: t5755_h264_aspect.diff added

records the aspect ratio of H264 recordings

comment:4 Changed 12 years ago by Janne Grunau

t5755_h264_aspect.diff should store aspect ratio infos for H264 recordings

MARK_ASPECT_OTHER should store aspect ratio * 100000 in the new data column ([19149]) of recordedmarkup.

the mpeg2 code has a little bug, ASPECt_1_1 is not the display aspect ratio but sample aspect ratio.

comment:5 Changed 12 years ago by Janne Grunau

(In [19151]) implements aspect ratio storing for H264 video. Refs #5755

Stores non standard aspect ratios as aspect * 1000000 in the data column ASPECT_1_1 for mpeg2 means sample aspact ratio, compute the display aspect ratio from width, height and save it in the data column

comment:6 Changed 12 years ago by Dibblah

Status: newassigned

comment:7 Changed 11 years ago by stuartm

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.