Opened 14 years ago

Closed 13 years ago

#8326 closed defect (Fixed)

Segfault during playback of video files produce by Canon cameras

Reported by: skd5aner <skd5aner@…> Owned by: Janne Grunau
Priority: minor Milestone: 0.24
Component: MythTV - Video Playback Version: 0.23rc2
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Attempting to playback any video files produced by either of two Canon digital cameras I have, produces a segfault after the first frame is displayed within MythVideo?. The cameras produce both produce an avi file, one is 320x240 (PowerShot? SD100) the other is 640x480 (PowerShot? SD700 IS).

I am able to succesfully play back the files in ffplay, and various other media players on OS X and Windows. However, both files also crashed mplayer. I also know, that within the older versions of mythgallery, these files appeared to play back succesfully (only tried once a while ago - never attempted within mythvideo).

These segfaults happened in .22-fixes, and I was hoping that maybe they had been resolved with more recent ffmpeg merge within .23-fixes, but I get the exact same results.

I am attaching 2 backtraces and 2 logs, 1 for each file from each camera (Just in case there's any difference). I will also try to attach videos, since they are <5MB each (~2 seconds). These files were created so I could share them for testing, but none of the videos from these cameras in my library will play within Myth.

Thanks!

mythfrontend --version Please include all output in bug reports. MythTV Version : 24035 MythTV Branch : branches/release-0-23-fixes Network Protocol : 56 Library API : 0.23.20100314-1 QT Version : 4.5.2 Options compiled in:

linux debug using_oss using_alsa using_pulse using_pulseoutput using_backend using_directfb using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

Attachments (4)

gdb.txt (30.4 KB) - added by skd5aner <skd5aner@…> 14 years ago.
mythvideosegf.log (22.6 KB) - added by skd5aner <skd5aner@…> 14 years ago.
gdb.a.txt (34.2 KB) - added by skd5aner <skd5aner@…> 14 years ago.
gdb for second file
mythvideosegf.a.log (22.2 KB) - added by skd5aner <skd5aner@…> 14 years ago.
log for second file

Download all attachments as: .zip

Change History (16)

Changed 14 years ago by skd5aner <skd5aner@…>

Attachment: gdb.txt added

Changed 14 years ago by skd5aner <skd5aner@…>

Attachment: mythvideosegf.log added

comment:1 Changed 14 years ago by skd5aner <skd5aner@…>

Here is the link to one of the videos I put on filebin: http://filebin.ca/czjogj/MVI_1141.AVI

Please let me know if you want me to upload the other video and logs.

Changed 14 years ago by skd5aner <skd5aner@…>

Attachment: gdb.a.txt added

gdb for second file

Changed 14 years ago by skd5aner <skd5aner@…>

Attachment: mythvideosegf.a.log added

log for second file

comment:2 Changed 14 years ago by skd5aner <skd5aner@…>

For completeness - here's the other video: http://filebin.ca/jrrfbj/MVI_0613.AVI

MVI_1141.AVI goes with gdb.txt and mythvideosegf.log MVI_0613.AVI goes with gdb.a.txt and mythvideosegf.a.log

Sorry for the multiple replies...

I'll wait to provide any more info until more is requested.

comment:3 Changed 14 years ago by Janne Grunau

Milestone: unknown0.23
Status: newaccepted

comment:4 Changed 14 years ago by Janne Grunau

(In [24102]) AVFD: use direct rendering only for PIX_FMT_YUV420P

Fixes the segfault in Refs #8326

comment:5 Changed 14 years ago by Janne Grunau

(In [24115]) backports [24102] from trunk

AVFD: use direct rendering only for PIX_FMT_YUV420P Fixes the segfault in Refs #8326

comment:6 Changed 14 years ago by Janne Grunau

(In [24233]) AVFD: use av_find_stream_info also for DVD

This results in correctly set codec parameters and makes the workaround in [24145] redundant. Refs #8326

comment:7 Changed 14 years ago by Janne Grunau

(In [24252]) AVFD: use direct rendering for DVDs

workaround for 0.23-fixes after [24115], Refs #8326

comment:8 Changed 14 years ago by Stuart Auchterlonie

Milestone: 0.230.23-fixes

comment:9 Changed 14 years ago by skd5aner <skd5aner@…>

Janne - Tested again with r24265 from the 0.23-fixes branch and I'm still seeing a segfault, as before the patches, while attempting playback of these files. Please let me know if there's any additional information you would like after the latest test.

comment:10 Changed 14 years ago by robertm

Milestone: 0.23-fixesunknown

comment:11 Changed 13 years ago by skd5aner <skd5aner@…>

Just wanted to report back and that these videos no longer cause a segfault, and in addition play back just fine in 0.24. I'm guessing that the ffmpeg sync may have helped fix it. This ticket can be closed as fixed now.

Thanks!

comment:12 Changed 13 years ago by robertm

Milestone: unknown0.24
Resolution: Fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.