<div>Hi All,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I m trying to play AVCHD files using gstreamer.</div>
<div>AVCHD files&nbsp; basically contains ts packets, each packet is having 4 bytes of extra header,which is nothing but timestamp information, that means each packet is of 192 bytes.</div>
<div>video format is h.264&nbsp; and audio format is AC3.</div>
<div>when i tried with playbin</div>
<div>gst-launch -v playbin uri=file://pathtofile/file.mts</div>
<div>&nbsp;</div>
<div>it didnt play.</div>
<div>&nbsp;</div>
<div>But when i tried after removing 4 bytes of header from each packet(to&nbsp;make it ts file) and tried with&nbsp;</div>
<div>gst-launch filesrc location=/pathtofile/file_converted.ts ! flutsdemux ! h264parse ! ffdec_h264 ! queue ! videoscale ! ffmpegcolorspace ! xvimagesink</div>
<div>It displays only one frame.</div>
<div>&nbsp;</div>
<div>Can anyone tel me what can be the cause of this?</div>
<div>How&nbsp;do i play AVCHD files?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>