[FFmpeg-user] Help please !!!!! asf stream abort by ffserver

Soho Soho123 soho123.2012 at gmail.com
Mon Jul 15 15:15:57 CEST 2013


hi all,


When I try to do mux h264 video + pcm_s16le audio, ffserver abort since the
error:
Mon Jul 15 21:07:40 2013 Assertion asf->packet_timestamp_end >=
asf->packet_timestamp_start failed at l
ibavformat/asfenc.c:643

Does anyone have ideas?

==========================================
ffserver.conf:
<Stream test.asf>
Feed feed1.ffm
Format asf

AVOptionVideo flags +global_header
VideoSize 640x480
VideoFrameRate 30
VideoCodec libx264

AVOptionAudio flags +global_header
AudioCodec pcm_s16le
AudioChannels 2
AudioSampleRate 44100
</Stream>

ffmpeg command :
ffmpeg -f alsa -ar 44100 -ac 2 -i hw:0 -f video4linux2 -r 30 -s 640x480
-input_format h264 -i /dev/video1 -vcodec copy -acodec copy
http://localhost:8090/feed1.ffm
========================================================================

when I try to play by ffplay,
the log from ffplay :
Input #0, asf, from 'mmsh://192.168.1.254:8090/test.asf':0B f=0/0
  Metadata:
    encoder         : Lavf55.12.100
  Duration: N/A, start: 3827889.346000, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
channels,
 s16, 1411 kb/s
    Stream #0:1: Video: h264 (Constrained Baseline) (H264 / 0x34363248),
yuv420p
, 640x480, 100 tbr, 1k tbn, 2k tbc
Read data packet header failed!aq=    0KB vq=   21KB sq=    0B f=0/0
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
3827898.56 A-V:  0.068 fd=  44 aq=    0KB vq=    0KB sq=    0B f=0/0

Does any one have ides!!


More information about the ffmpeg-user mailing list