Hello Xperts,<br><br>I want to play an H.264 video . And i am using an linux platform.<br>I compiled the code with ffmpeg. But when i tried to play the video, the <br>programmes gives " Segmentation fault " & crashes.<br>
<br>When i tried to trace the problem, i found in <br>../ffmpeg/libavformat/utils.c , and functionwise ...<br>av_find_stream_info() ==> try_decode_frame() ==> avcodec_decode_video()<br><br>The code crashes when it enters " avcode_decode_video () " function.<br>
<br>My related questions w.r.t above problem's are,<br><br>1) Why segmentation fault is happens ?<br> 2) Has it got to do something with data memory alignment ?<br>3) Does ffmpeg need to decode some frames to extrat stream information ?<br>
<br>Any guidence or suggestions w.r.t the above mention problem will help me.<br>Writing this mail, just hopeing somebody will at least make me understand , why the problem is happening .<br><br><br>Thank you.<br><br>Warm regards,<br>
Sagar<br>