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><br><div><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<br></blockquote></div><br>