<div><br></div><div>Hi, i'm a definitely new user to FFSERVER.</div><div>and i'm trying to stream from some multimedia files over rtsp.</div><div>so i've setup ffmpeg/ffserver on my linux machine and configure it</div>
<div>but i'm not able to stream with mp4 files.</div><div><br></div><div>here is my simple ffserver.conf</div><div><br></div><div>=================================================================================</div>
<div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 1 Port 8090</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 2 RTSPPort 5454</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
3 </div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 4 BindAddress 0.0.0.0</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 5 RTSPBindAddress 0.0.0.0</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
6 </div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 7 MaxHTTPConnections 10</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 8 MaxClients 10</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
9 MaxBandwidth 204800</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 10 </div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 11 CustomLog -</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
12 NoDaemon</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 13 </div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 14 <Stream rtsp.mpg></div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
15 Format rtpf</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 16 File /data/home/jhchoi3694/encoding_work/ffmpeg/sample/1.mpg</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
17 </Stream></div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 18 </div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 19 <Stream rtsp.mp4></div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
20 Format rtp</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "> 21 File /data/home/jhchoi3694/encoding_work/ffmpeg/sample/6.mp4</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
22 </Stream></div><div style="font-family: arial, sans-serif; border-collapse: collapse; "><meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; ">=================================================================================</span></div>
<div><br></div><div style="font-family: arial, sans-serif; border-collapse: collapse; "><br></div><div style="font-family: arial, sans-serif; border-collapse: collapse; "><br></div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
with this configuration, mpg file streaming work well</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">in case of mp4 file, however, doesn't work</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
<br></div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">i've type "ffserver -f ./conf/ffserver.conf" to stream these files</div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
both of files are opened successfully with following result</div><div style="font-family: arial, sans-serif; border-collapse: collapse; "><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; ">=================================================================================</span></div>
<div>Tue Oct 25 13:38:57 2011 Opening file '/data/home/jhchoi3694/encoding_work/ffmpeg/sample/1.mpg'</div><div>Tue Oct 25 13:38:57 2011 [mpegvideo @ 0x8064200]max_analyze_duration 5000000 reached at 5005000</div><div>
Tue Oct 25 13:38:57 2011 Opening file '/data/home/jhchoi3694/encoding_work/ffmpeg/sample/6.mp4'</div></div><div style="font-family: arial, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">Tue Oct 25 13:38:57 2011 FFserver started.</span></div>
<div style="font-family: arial, sans-serif; border-collapse: collapse; "><meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; ">=================================================================================</span></div>
<div style="font-family: arial, sans-serif; border-collapse: collapse; "><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; "><br></span></div><div style="font-family: arial, sans-serif; border-collapse: collapse; ">
<span class="Apple-style-span" style="font-family: arial; border-collapse: separate; ">but when i play these streaming with rtsp player like ffplay </span><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; ">rstp.mp4 streaming stuck</span></div>
<div>does ffserver support rtsp streaming with mp4 file format?</div><div><br></div><div><br></div><div><br></div><div>i post more information about source video files aforementioned since it could be served as references</div>
<div><meta charset="utf-8">=================================================================================</div><div><div>Input #0, mpegvideo, from '../sample/1.mpg':</div><div> Duration: 00:00:00.48, bitrate: 104857 kb/s</div>
<div> Stream #0.0: Video: mpeg1video, yuv420p, 704x480 [PAR 200:219 DAR 880:657], 104857 kb/s, 23.98 fps, 23.98 tbr, 1200k tbn, 23.98 tbc</div></div><div><meta charset="utf-8">=================================================================================</div>
<div><div>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../sample/6.mp4':</div><div> Metadata:</div><div> major_brand : isom</div><div> minor_version : 1</div><div> compatible_brands: isom</div><div> creation_time : 2011-10-24 01:52:09</div>
<div> Duration: 00:02:09.12, start: 0.041708, bitrate: 5716 kb/s</div><div> Stream #0.0(und): Video: h264 (High), yuv420p, 1280x544, 5714 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc</div><div> Metadata:</div><div>
creation_time : 2011-10-24 01:52:09</div></div><div>=================================================================================</div><div><br></div><div>give me hints, plz</div><div><br></div><div><br></div>
<meta charset="utf-8"></div>