tooth ~ # cat ~/sample | ffmpeg -i - a.flv ffmpeg version N-39877-g4fa706a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 16 2012 21:18:03 with gcc 4.5.3 configuration: --enable-libx264 --enable-gpl libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [NULL @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [NULL @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS referenced [h264 @ 0x9a0e9c0] non-existing SPS 0 referenced in buffering period [h264 @ 0x9a0e9c0] non-existing PPS 0 referenced [h264 @ 0x9a0e9c0] decode_slice_header error [h264 @ 0x9a0e9c0] no frame! [h264 @ 0x9a0e9c0] mmco: unref short failure Last message repeated 3 times [h264 @ 0x9a0e9c0] Missing reference picture [h264 @ 0x9a0e9c0] Increasing reorder buffer to 1 [h264 @ 0x9a0e9c0] Increasing reorder buffer to 2 [h264 @ 0x9a0e9c0] mmco: unref short failure [mpegts @ 0x99f6380] PES packet size mismatch Input #0, mpegts, from 'pipe:': Duration: N/A, start: 92192.913511, bitrate: N/A Stream #0:0[0x140c]: Video: h264 (Main), yuv420p, 720x576 [SAR 12:11 DAR 15:11], 32.40 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x140d]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s [buffer @ 0x9a12040] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:flags=2 [adpcm_swf @ 0x9de9840] Sample rate must be 11025, 22050 or 44100 Output #0, flv, to 'a.flv': Stream #0:0: Video: flv1, yuv420p, 720x576 [SAR 12:11 DAR 15:11], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0:1: Audio: adpcm_swf, 48000 Hz, stereo, s16, 384 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> flv) Stream #0:1 -> #0:1 (mp2 -> adpcm_swf) Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height