Not able to play the flv files cut by ffmpeg and generated by gStreamer

Sebastian Dröge sebastian at centricular.com
Tue May 6 11:48:25 PDT 2014


On Mo, 2014-04-21 at 21:06 -0700, rishi wrote:
> Hi,
>   I am generating the flv files using gstreamer which are working fine and i
> am able to play it using ffmpeg and vlc player. but when i cut the flv file
> using ffmpeg the cut files are not played in ffmpeg and vlc player.
> 
> The vlc player messages say "avcodec warning: cannot decode one frame (6030
> bytes)" and 
> ffmpeg messages say 
> [h264 @ 0x19f2e4a0] non-existing PPS 0 referenced
> [h264 @ 0x19f2e4a0] decode_slice_header error
> [h264 @ 0x19f2e4a0] no frame!
> [h264 @ 0x1a102000] non-existing PPS 0 referenced
> [h264 @ 0x1a102000] decode_slice_header error
> [...]

This means that the file was cut in a place where it shouldn't be cut.
The h264 stream is referencing frames and other data (PPS) that are in
the parts you cut away.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140506/710066d3/attachment.sig>


More information about the gstreamer-devel mailing list