Opened 18 years ago
Closed 18 years ago
Add ability for mythtranscode to update filemarkup table for videos (non-recordings)
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).
Change History (3)
Changed 18 years ago by maverik044
Milestone: |
unknown →
0.21
|
Owner: |
changed from Isaac Richards to stuartm
|
Status: |
new →
assigned
|
Version: |
unknown →
head
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
(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