On Sat, Jul 11, 2015 at 10:07:45PM +0200, Jan Vlach wrote: > Dmitrij, > sorry for previous mail, I've finally understood what you meant by h.265 > status ... > > both h.264 and h.265 video codecs fail with direct segfault without > displaying stream info. detailed output follows.
Can you guys try to revert this commit, rebuild ffmpeg and see if it helps: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/graphics/ffmpeg/Makefile.diff?r1=1.118&r2=1.119&f=h > using 480p files from: https://peach.blender.org/download/ > > ### mp4 (OK) > $ mpv big_buck_bunny_480p_surround-fix.avi > Playing: big_buck_bunny_480p_surround-fix.avi > (+) Video --vid=1 (mpeg4) > (+) Audio --aid=1 (ac3) > [vo/opengl/x11] X11 error: GLXBadFBConfig > [vo/opengl] Could not create GL3 context. Retrying with legacy context. > [vo/opengl/x11] Disabling screensaver failed. > AO: [sndio] 48000Hz 5.1(alsa) 6ch s16 > VO: [opengl] 854x480 yuv420p > AV: 00:00:05 / 00:09:56 (0%) A-V: -0.000 Dropped: 2 > ^^^ this is n-th run to show the log > > plays fine, seekable until the end back and forth,multiple runs > > ### h.264 (FAILS) > $ mpv big_buck_bunny_480p_h264.mov > Playing: big_buck_bunny_480p_h264.mov > (+) Video --vid=1 (*) (h264) > (+) Audio --aid=1 --alang=eng (*) (aac) > [vo/opengl/x11] X11 error: GLXBadFBConfig > [vo/opengl] Could not create GL3 context. Retrying with legacy context. > [vo/opengl/x11] Disabling screensaver failed. > AO: [sndio] 48000Hz 5.1(alsa) 6ch s16 > VO: [opengl] 854x480 yuv420p > Segmentation fault (core dumped) -0.000 > > crashes at 0:09 always, also true for mplayer > > seeking in the file crashes it at 0:23 (with right arrow, mpv) > > ### ogg (OK) > $ mpv big_buck_bunny_480p_stereo.ogg > Playing: big_buck_bunny_480p_stereo.ogg > [ffmpeg/video] theora: 7 bits left in packet 82 > [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked. > (+) Video --vid=1 (theora) > (+) Audio --aid=1 (vorbis) > [vo/opengl/x11] X11 error: GLXBadFBConfig > [vo/opengl] Could not create GL3 context. Retrying with legacy context. > [ffmpeg/video] theora: 7 bits left in packet 82 > [vo/opengl/x11] Disabling screensaver failed. > [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked. > AO: [sndio] 48000Hz stereo 2ch s16 > VO: [opengl] 854x480 yuv420p > AV: 00:00:02 / 00:09:56 (0%) A-V: -0.000 Dropped: 7 > ^^^^ n-th run to show head of the log > > works fine, seekable back and forth > > ### msmp4 (OK) > $ mpv big_buck_bunny_480p_stereo.avi > Playing: big_buck_bunny_480p_stereo.avi > [ffmpeg/video] theora: 7 bits left in packet 82 > [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked. > (+) Video --vid=1 (msmpeg4v2) > Audio --aid=1 (mp3) > (+) Audio --aid=2 'big_buck_bunny_480p_stereo.ogg' (vorbis) (external) > [vo/opengl/x11] X11 error: GLXBadFBConfig > [vo/opengl] Could not create GL3 context. Retrying with legacy context. > [vo/opengl/x11] Disabling screensaver failed. > [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked. > [ffmpeg/demuxer] ogg: Broken file, keyframe not correctly marked. > AO: [sndio] 48000Hz stereo 2ch s16 > VO: [opengl] 854x480 yuv420p > AV: 00:00:00 / 00:09:56 (0%) A-V: 0.000 > ^^^^ n-th run to show head of the log > > ### Hackfest 2014 from youtube, downloaded with youtube-dl, mpv headless > (OK) > to see stream info - 5.7-stable > $ mpv > Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4 > > Playing: > Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4 > [stream] Video (+) --vid=1 (*) (h264) > [stream] Audio (+) --aid=1 --alang=und (*) (aac) > File tags: > major_brand: mp42 > minor_version: 0 > compatible_brands: isommp42 > creation_time: 2014-12-23 16:33:19 > [vo/xv/x11] couldn't open the X11 display ()! > [vo/x11/x11] couldn't open the X11 display ()! > Error opening/initializing the selected video_out (-vo) device. > Video: no video > AO: [sndio] 44100Hz stereo 2ch s16 > A: 00:00:01 / 00:36:35 (0%) > [ao/sndio] Blocking until remaining audio is played... (sndio design > > ### Hackfest 2014, same file like above, local X server, 5.8 snapshot > (FAILS) > from yesterday evening (2015-07-10), doesn't even > read stream info > $ mpv > Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4 > > Playing: > Hackfest_2014_-_Theo_de_Raadt_presented_arc4random_-_randomization_for_all_occasions-aWmLWx8ut20.mp4 > Segmentation fault > > ### h265 sample from > http://www.elecard.com/assets/files/other/clips/140626_720p_hm130_4s_sao_dbf_qp27.265 > (FAILS) > $ mpv 140626_720p_hm130_4s_sao_dbf_qp27.265 > Playing: 140626_720p_hm130_4s_sao_dbf_qp27.265 > Segmentation fault (core dumped) > > ### h265 sample as above, headless 5.7-stable to see stream info (OK?) > $ mpv 140626_720p_hm130_4s_sao_dbf_qp27.265 > Playing: 140626_720p_hm130_4s_sao_dbf_qp27.265 > [stream] Video (+) --vid=1 (hevc) > [vo/xv/x11] couldn't open the X11 display ()! > [vo/x11/x11] couldn't open the X11 display ()! > Error opening/initializing the selected video_out (-vo) device. > Video: no video > -- Antoine