Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 22 months ago

Closed 22 months ago

Last modified 22 months 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@…> 22 months ago.

Download all attachments as: .zip

Change History (4)

Changed 22 months ago by Lawrence Rust <lvr@…>

comment:1 Changed 22 months ago by beirdo

  • Owner set to beirdo
  • Status changed from new to assigned

comment:2 Changed 22 months ago by Lawrence Rust <lvr@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

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 22 months ago by beirdo

  • Milestone changed from unknown to 0.26

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.