Opened 14 years ago
Closed 12 years ago
#7849 closed Bug Report - General (Won't Fix)
Broken seeking in AVI files.
Reported by: | Owned by: | tralph | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Video Playback | Version: | 0.22-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Mythvideo will not pause/seek videos from camcorder or internet I have tryed mythtranscode --buildindex --video --infile <filename> and Mythcommflag this fixes the seektables but the videos are corrupted to reproduce in mythvideo pause video (not a recording)try to seek forward/rewind
Attachments (4)
Change History (15)
comment:1 Changed 14 years ago by
Component: | Plugin - MythVideo → MythTV - Video Playback |
---|---|
Priority: | major → minor |
Status: | new → infoneeded_new |
Changed 14 years ago by
Attachment: | Noseektable.txt added |
---|
Changed 14 years ago by
Attachment: | withseektable.txt added |
---|
comment:2 Changed 14 years ago by
Replying to rc57@…:
Mythvideo will not pause/seek videos from camcorder or internet I have tryed mythtranscode --buildindex --video --infile <filename> and Mythcommflag this fixes the seektables but the videos are corrupted to reproduce in mythvideo pause video (not a recording)try to seek forward/rewind
Added logs and looking in the dadtabase at table filemarkup i now have hunderds of lines Videofile.avi 80881 573731528 9 the numbers change on each line
comment:3 Changed 14 years ago by
Keywords: | mythvideo removed |
---|---|
Status: | infoneeded_new → new |
comment:4 Changed 14 years ago by
rc57,
Without a seektable AVI files don't have the capability to do frame accurate seeking. All seeks will just send you to the previous/next key frame and be stuck there until you seek enough times that you hit another keyframe.
Current trunk will improve forward direction frame-by-frame seeking. When paused the first time you seek it will hit the keyframe and then subsequent forward frame seeks should work properly. I plan on further improvements for this.
I have no idea if building an seek table for an AVI works properly or not since I've never tried. The best thing to do is remux these videos into MKV with Avidemux2. The MKV supports proper seeking without the need of a seek table.
Changed 14 years ago by
Attachment: | t7849_mythtv_avi_seektable_fix.diff added |
---|
for avi container seek to previous frame byte position + 1 to make sure the key frame is decoded
Changed 14 years ago by
Attachment: | t7849_mythtv_avi_seektable_fix_v2.diff added |
---|
improved version that uses previous end of frame position
comment:5 Changed 14 years ago by
Summary: | seektable → Seektable built during recording is broken; fixed by rebuilding seektable |
---|
comment:6 Changed 14 years ago by
Summary: | Seektable built during recording is broken; fixed by rebuilding seektable → Broken seeking in AVI files. |
---|
I had changed the summary of the wrong ticket.
comment:7 Changed 14 years ago by
Owner: | changed from Anduin Withers to tralph |
---|---|
Status: | new → assigned |
comment:8 Changed 13 years ago by
Owner: | tralph deleted |
---|---|
Status: | assigned → new |
comment:9 Changed 13 years ago by
Type: | defect → Bug Report - General |
---|
comment:10 Changed 12 years ago by
Owner: | set to tralph |
---|---|
Status: | new → assigned |
comment:11 Changed 12 years ago by
Resolution: | → Won't Fix |
---|---|
Status: | assigned → closed |
Closing ticket given we don't support seektables for AVI videos. The reason for this is that the byte position reported for a keyframe isn't exactly correct. It maybe an upstream ffmpeg bug or more likely just not possible with this container type. If the creator of this ticket would like more assistance then a new ticket needs to be created and a sample provided.
Please provide logs with -v playback both with and without a seektable built.