Opened 16 years ago
Closed 14 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 by , 16 years ago
| Component: | Plugin - MythVideo → MythTV - Video Playback |
|---|---|
| Priority: | major → minor |
| Status: | new → infoneeded_new |
by , 16 years ago
| Attachment: | Noseektable.txt added |
|---|
by , 16 years ago
| Attachment: | withseektable.txt added |
|---|
comment:2 by , 16 years ago
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 by , 16 years ago
| Keywords: | mythvideo removed |
|---|---|
| Status: | infoneeded_new → new |
comment:4 by , 16 years ago
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.
by , 16 years ago
| 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
by , 16 years ago
| Attachment: | t7849_mythtv_avi_seektable_fix_v2.diff added |
|---|
improved version that uses previous end of frame position
comment:5 by , 16 years ago
| Summary: | seektable → Seektable built during recording is broken; fixed by rebuilding seektable |
|---|
comment:6 by , 16 years ago
| 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 by , 15 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:8 by , 14 years ago
| Owner: | removed |
|---|---|
| Status: | assigned → new |
comment:9 by , 14 years ago
| Type: | defect → Bug Report - General |
|---|
comment:10 by , 14 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:11 by , 14 years ago
| 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.