码迷,mamicode.com
首页 > 其他好文 > 详细

personal log: make my own media center

时间:2015-02-08 16:59:46      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:

rcd my own path , on building my own media center. Use ffserver ,ffmpeg;  May not be helpful for u . It‘s nothing the bugs i‘v meet & tasks I‘v made.


------------------------------------------CONTENT-----------------------------------------------------

1, TASK: MODIFY ffserver.c , to free it from config file;

......

1), done. BUT NOT WORK;
>>>>>>>>>>>>>>>>>>>>>>>


2,TASK: FIND BUG, MAKE IT WORK;

test one:
1) i have type ffserver -/home/carlyle/Documents/prvt/pro/thsuus.wmv
not work;
reason: i have installed ffser globally ;

use : ./ffserver <Path > ;  to call the one i made;

BUG FIXED:  [see log , "http_server called"]

2)BUG: video cant play: log on server: Unspecified feed file for stream

read source file , found!
reason: stream->feed_filename[0] : though stream , feed_filename not assigned ;
file_name is the short name  of file;
feed_filename : is the abs path of the file;

3)BUG: cant play mp4;
reason: stream format set wrong :[i didn‘t load config file , stream format used [guess format ], this stream format was set to ‘mp4‘;]
I set format as rtp [for mpg ]
it works on UBUNTU player;

4)i tested it on Nexus 5 (5.0 OS); Use videoView for simple , cost long time for preparing video . when played, only sound can be heard;

[LOG:

Though, my server is running ,& my palyer rcvd RTSP packet ,VIDEO PLAYS  NOT SMOOTHLY. 

]


TODO: Y & HOW?


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.


3,TASK : USE CAM AS THE VIDEO SOURCE;

i use origin ffserver & ffmpeg on another pc; [thus i need to config the server]

bug:

1) ffmpeg no not work :[warning : rate || wd || ht wrong ]

I use cam outout wd,ht to set the config feed.

DONE: ffmpeg works, cam on;

2: UBUNTU player cant read the cam stream; [tested a file stream , not work either.]

trying to use my modified ffserver.


ongoing...






-----------------------------------END--------------------------------------

personal log: make my own media center

标签:

原文地址:http://my.oschina.net/u/592116/blog/376504

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!