Not able to play the flv files cut by ffmpeg and generated by gStreamer
rishi
rishikessh at gmail.com
Mon Apr 21 21:06:27 PDT 2014
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
I have downloaded the sample flv file from internet and it plays fine in vlc
and ffmpeg after cutting.
File details:-
ffmpeg -i 11_0_140414231500225.flv
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 21 2014 11:25:12 with gcc 4.1.2 (GCC) 20080704 (Red Hat
4.1.2-54)
configuration: --enable-gpl --enable-shared --disable-yasm
--enable-libx264
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, flv, from '11_0_140414231500225.flv':
Metadata:
metadatacreator : GStreamer FLV muxer
creationdate : Mon Apr 14 23:15:0 2014
Duration: 00:09:59.12, start: 0.000000, bitrate: 1407 kb/s
Stream #0:0: Video: h264 (Baseline), yuv420p, 720x576, 25 tbr, 1k tbn,
2k tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp
ffmpeg command used to cut the file
ffmpeg -i input.flv -ss 00:00:10 -ar 44100 -bsf:a aac_adtstoasc -acodec copy
-vcodec copy output.flv
What am i missing please help
Regards
Rishi
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Not-able-to-play-the-flv-files-cut-by-ffmpeg-and-generated-by-gStreamer-tp4666522.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list