Opened 12 years ago

Closed 12 years ago

#3533 closed enhancement (fixed)

Add ability for mythtranscode to update filemarkup table for videos (non-recordings)

Reported by: anonymous Owned by: stuartm
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Mythtranscode is able to rebuild the mpeg-2 keyframe index (--buildindex) for recordings and update the information in the database. It can also do this for videos (ie. mythvideo) but currently can not update the database (filemarkup table) for videos (non-recordings). The attached patch adds the --video option to allow mythtranscode to rebuild the keyframe index for videos and update the filemarkup table in the database. This is the same option currently provided in mythcommflag. However, mythcommflag does not generate the proper keyframe index for videos if the keyframe distance is not constant in the mpeg file. Mythtranscode does not have this problem. This patch is particularily useful for videos recorded from DVB and added to mythvideo, or DVB recordings moved from mythtv to mythvideo. In this cause mythtranscode with generate the same keyframe index as was generated when the DVB recording was made by mythtv (recordedseek table).

Attachments (1)

mythtranscode.diff (2.8 KB) - added by maverik044 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by maverik044

Attachment: mythtranscode.diff added

comment:1 Changed 12 years ago by stuartm

Milestone: unknown0.21
Owner: changed from Isaac Richards to stuartm
Status: newassigned
Version: unknownhead

comment:2 Changed 12 years ago by stuartm

Resolution: fixed
Status: assignedclosed

(In [13613]) Adds a --video option to mythtranscode. This allows you to build seek tables for videos which weren't recorded by mythtv and potentially transcode them too.

This was inspired by a patch by maverik044 but does things a little differently.

--infile or -i needs to be specified in addition to --video. --buildindex should be used to build a seektable.

e.g. mythtranscode --infile file.mpg --video --buildindex

Note: See TracTickets for help on using tickets.