Talk:Live CD

From ElphelWiki
Revision as of 22:16, 17 November 2005 by Khlut (talk | contribs)
Jump to: navigation, search

in English | [[{{{de}}}|deutsch]] | [[{{{fr}}}|français]] | по-русски | автоперевод | 中文版 | 机械翻译

I'm confused about "netcamconfig" and "netcardconfig".

Is the "netcardconfig" from original Knoppix or is is modified too?

And what is "flashit MPlayer..."?

--Andrey.filippov 12:06, 28 September 2005 (MDT)

It is possible to use wiki formatting: asterisk(s) in the beginning of the line make UL, space as the first character - PRE 18:28, 14 November 2005 (CST)Andrey.filippov 12:08, 28 September 2005 (MDT)


It is modified, it has operations with bridge and checks for ip uniqueness.


It looks a little differently

Andrey, how do you insert a signature?

There is a button above the textarea (second to the right). Or you just put --~~~~ manually

--Andrey.filippov 13:55, 28 September 2005 (MDT)


--Sergey Khlutchin 14:02, 28 September 2005 (MDT)

I have found that I can not edit different sections of one page simultaneously in different windows. At the second submit there is a undo of the first :-( .

--Sergey Khlutchin 14:10, 28 September 2005 (MDT)

If it is the case - maybe use "includes" {{included_name}}?

It will be possible to have separate files for subsections but see them on the same page. It will also be possible to embedd the same text (and keep it current) into diffrently formatted pages (what Ilya did by copiing)?

--Andrey.filippov 14:39, 28 September 2005 (MDT)

Maybe the "Live CD" page insert to Manual?

--Ilya 13:27, 10 October 2005 (MDT)

maybe --Sergey Khlutchin 13:41, 10 October 2005 (MDT)

New template for navigation

I've added new template for navigation header of the manual. Ilya, look the top of this article.

--Sergey Khlutchin 14:48, 22 October 2005 (CDT)

2GB limit for avi

Here is a discussion about recording avi files with mencoder.

Standard avi files has 2GB limit. See article about avi file limits. In this section i offer method to split video to several files.

Some dropouts may be because of a new call of mencoder opens new RTSP session before recording. I have rewrited rtsp server in the camera to reduce the time of session initialization. New server (qrtsp) now is only in 313 branch. One-two frames everyone may be droped.

Later I have made this splitting in my plug-in for Mozila/Firefox. It has example HTML page, which can be used to record and watch a stream simultaneously You may Download and install the debian package into our Knoppix: Then edit file /usr/share/doc/genres/example/drag-test.html: replace 'default.avi' to 'rtsp://camera:7070/' and width=1600 to actual width. And open this in Firefox. You can scroll video picture with mouse dragging (as in acrobat reader) when it is bigger than the window. "Record" link prompts to input a template of file names. Template can contain fields wich will be replaced to current date, time and camera address.

I have an idea on how to start second mencoder before the first will be finished. A special program can monitor output of mplayer and start new instance when is necessary to record given number of frames to complette current file.


I was thinking it may be possible to hack the avi encoder/decoder plugin for mplayer/mencoder such that is uses an int64_t for file length, rather than an int32_t. This would produce non-standard avi's which could only be played back by the hacked version of mplayer, but it should enable >2GB files.

--Salsaman 15/11/05

I not like nonstandard formats when standard exists. It is better to use other standard of file format non avi, maybe ogg or mov or other. I don't know is it possible to write files >2GB on FAT32 under linux, but if it is possible maybe windows don't process it. So this is not solves the problem in all. I think the splitting is more common solution.

--Sergey Khlutchin 07:40, 15 November 2005 (CST)

It will bi nice to have a timestamp for each frame (FPGA now supports precise timing and it should not be very difficult to add code to add timing data to the beginning of each frame by FPGA) but it is likely that MJPEG RTP stream format has no room for such info. When splitting stream we need to start new seccion first, and end the previous one later)

Yet enother solution is to hack mencoder such that it itself splits video to files with given number of frames. It will be faster without creation of new process and opening new rtsp session.

--Sergey Khlutchin 00:16, 18 November 2005 (CST)


RTP standard common header has 32 bit field for timestamp in 1/90000 of second from some base time. So maximum time is 47721 seconds or 13 hours. Now this field I calculate in the streamer on frame per second value and errors is summed. I can take it from a special field in the camera frame buffer. We can send base time in special packet or with http and rtsp.

--Sergey Khlutchin 11:22, 15 November 2005 (CST)

Nice - probably it will be easier to add timestamp in the driver where it calculates pointers in the DMA buffer (put it just ahead of the frame length).