Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10863 closed Patch - Bug Fix (fixed)

[PATCH] transcode: Tolerate mpeg errors when re-encoding to I-frames around cut points

Reported by: Lawrence Rust <lvr@…> Owned by: beirdo
Priority: minor Milestone: 0.26
Component: MythTV - Mythtranscode Version: Master Head
Severity: medium Keywords: cutlist transcode
Cc: Ticket locked: no

Description

If a recording has a cutlist and is transcoded using that cutlist then if there are MPEG decoding errors around the cut point the process of re-coding to I frames can fail and the whole transcoding fails.

This patch makes the function MPEG2fixup::ConvertToI tolerant to decoding errors and just skips the offending frames.

The bug and patch also apply to fixes/0.2[45]

Attachments (1)

0001-transcode-Tolerate-mpeg-errors-when-re-encoding-to-I.patch (1.4 KB) - added by Lawrence Rust <lvr@…> 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Lawrence Rust <lvr@…>

comment:1 Changed 12 years ago by beirdo

Owner: set to beirdo
Status: newassigned

comment:2 Changed 12 years ago by Lawrence Rust <lvr@…>

Resolution: fixed
Status: assignedclosed

In 067ebe942a5ca1519d09a2b7b80da48abbd4bf51/mythtv:

transcode: Tolerate mpeg errors when re-encoding to I-frames around cut points

If a recording has a cutlist and is transcoded using that cutlist then
if there are MPEG decoding errors around the cut point the process of
re-coding to I frames can fail and the whole transcoding fails.

This patch makes the function MPEG2fixup::ConvertToI tolerant to
decoding errors and just skips the offending frames.

Fixes #10863

Signed-off-by: Lawrence Rust <lvr@…>
Signed-off-by: Gavin Hurlbut <ghurlbut@…>

comment:3 Changed 12 years ago by beirdo

Milestone: unknown0.26
Note: See TracTickets for help on using tickets.