Admin관리자   |    Posting포스트   |    LogOut로그아웃
:+:하늘을닮은호수:+: | Trac | 블로그   |    위치로그   |    태그로그   |    방명록


하늘을 닮은 호수
http://sunsson.iptime.org
Category
전체 (966)
[Standard] (59)
[OS] (119)
[Develope] (77)
[IT Trend] (347)
[Music] (101)
[삶의 질] (262)
Tag List
trac   3GPP   IPTV   svn   2MB   RTP   VoIP   c99   PSS   mysql   grep   손예진   memory_leak   H.263   팔봉산   FLV   ffmpeg   awk   cdn   avc   zenoss   rtsig   AutoConf   gnuplot   정보처리기술사   Protocols and Codecs   SIP   trac_authentication   iso   OMA  
ISO based Media File Format 14496-12
Category : [Standard]
Date : 2007/11/13 18:10

본인 개발 사이트 http://sunsson.iptime.org/projects/juliet/wiki/14496-12 에서 계속 업데이트 됩니다.

ISO base media file format?

  • 멀티미디어 서비스를 위해 사용되는 표준 파일포맷
  • ISO에서 제정
  • timed media informaion 을 포함
  • 유연하면서도 확장가능한 기본 파일구조
  • 여러 미디어 파일 포맷의 근간이 됨
  • JPEG2000 , 3gpp 파일 포맷이 이에 기반
  • MP4 파일 포맷도 ISO base media file format의 확장형태

용어

  • Box : unique한 type identifier와 length에 의해 정의되는 객체지향형 block (atom이라고 불리어 지기도 함)
  • Chunk : 한 트랙내에서의 연속적인 샘플의 집합
  • Container Box : 연관된 박스의 집합을 포함하거나 그룹화하는데 목적을 두는 박스
  • Presentation : 오디오와 결합되기도 하는 하나 이상의 동영상 시퀀스
  • Sample : 힌트 트랙이 아닌경우에 샘플이란 비디오의 각 프레임, 시간적으로 연속된 비디오 프레임들 또는 시간적으로 연속된 오디오 압축부분
  • Track 이란?
  • ISO base media file format 내에 있는 연관된 sample들의 집합
    • 종류
      • Video track – video media를 다룸
      • Audio track – audio media를 다룸
      • hint track – streaming service를 하기 위한 패킷화 정보를 다룸
    • Hint track
      • streaming 전송을 위한 패킷을 형성하는데 streaming server에 도움을 주는 지시사항(instruction)을 포함
      • 지시사항(instruction)은 server가 보내야 할 즉각적인 data(ex 헤더정보)를 포함 하거나 media data segment를 참조
      • 지시사항(instruction)은 media data내에 interleaved하게 포함
      • protocol 별로 각각의 hint track이 있어야 함

ISO Based Media File 구조

Simple Interchange File

  • self-contained형태 : 다른 file에 있는 media를 참조하지 않고 file내에 자체적으로 포함
  • presentation에 필요한 media file과 이를 동작시키는데 필요한 meta data만을 포함
    Content Creation File
  • 각 elementary stream을 별도로 (not interleved)하게, 더 나아가 별도의 file에 저장할 수 있음
    Hinted Presentation for Streaming
  • streaming을 위해 준비되는 file은 streaming service를 위한 패킷화 정보를 포함 하는 hint track을 포함
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/11/13 18:10 2007/11/13 18:10
Top

블로그코리아에 블UP하기
Trac Authentication
Category : [OS]/Linux
Date : 2007/10/24 17:56

Adding Authentication

The simplest way to enable authentication with Apache is to create a password file. Use the htpasswd program to create the password file:

$ htpasswd -c /somewhere/trac.htpasswd admin
New password: <type password>
Re-type new password: <type password again>
Adding password for user admin

After the first user, you dont need the "-c" option anymore:

$ htpasswd /somewhere/trac.htpasswd john
New password: <type password>
Re-type new password: <type password again>
Adding password for user john

See the man page for htpasswd for full documentation.

After you've created the users, you can set their permissions using TracPermissions.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/10/24 17:56 2007/10/24 17:56
Top

블로그코리아에 블UP하기
Trac Authentication
Date : 2007/10/24 17:47

Adding Authentication

The simplest way to enable authentication with Apache is to create a password file. Use the htpasswd program to create the password file:

$ htpasswd -c /somewhere/trac.htpasswd adminNew password: Re-type new password: Adding password for user admin

After the first user, you dont need the "-c" option anymore:

$ htpasswd /somewhere/trac.htpasswd johnNew password: Re-type new password: Adding password for user john

See the man page for htpasswd for full documentation.

After you've created the users, you can set their permissions using TracPermissions.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기
2007/10/24 17:47 2007/10/24 17:47
Top

블로그코리아에 블UP하기
trac backup & restore
Date : 2007/10/17 18:02

Creating a Backup

To create a backup of a live TracEnvironment, simply run:

  $ trac-admin /path/to/projenv hotcopy /path/to/backupdir

trac-admin will lock the database while copying.

The resulting backup directory is safe to handle using standard file-based backup tools like tar or dump/restore.

Please, note, that hotcopy command does not overwrite target directory and when such exists, hotcopy ends with error: Command failed: [Errno 17] File exists:

This is discussed in ticket: 3198

Restoring a Backup

Backups are simply a copied snapshot of the entire project environment directory, including the SQLite database.

To restore an environment from a backup, simply stop the process running Trac (i.e. the Web server or tracd), restore the directory structure from the backup and restart the service.

Note: Automatic backup of environments that don't use SQLite as database backend is not supported at this time. As a workaround, we recommend that you stop the server, copy the environment directory, and make a backup of the database using whatever mechanism is provided by the database system.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/10/17 18:02 2007/10/17 18:02
Top

블로그코리아에 블UP하기
trac 설치
Date : 2007/08/01 17:48

Web Server

  • A CGI-capable web server (see TracCgi), or
  • a FastCGI-capable web server (see TracFastCgi), or
  • Apache with mod_python 3.1.3+ (see TracModPython)
    • When installing mod_python the development versions of Python and Apache are required (actually the libraries and header files)
  • Apache with mod_wsgi (see TracModWSGI)
    • While mod_wsgi is very new and somewhat experimental, this should work with Apache 1.3, 2.0 or 2.2 and promises to deliver more performance than using mod_python.

For those stuck with Apache 1.3, it is also possible to get Trac 0.8.4 working with mod_python 2.7 (see TracModPython2.7). This hasn't been tested with Trac 0.9, so it may or may not work.

Installation

[root@localhost var]# trac-admin /var/trac/juliet initenv
Creating a new Trac environment at /var/trac/juliet

Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.

Please enter the name of your project.
This name will be used in page titles and descriptions.

Project Name [My Project]> juliet

Please specify the connection string for the database to use.
By default, a local SQLite database is created in the environment
directory. It is also possible to use an already existing
PostgreSQL database (check the Trac documentation for the exact
connection string syntax).

Database connection string [sqlite:db/trac.db]>

Please specify the type of version control system,
By default, it will be svn.

If you don't want to use Trac with version control integration,
choose the default here and don't specify a repository directory.
in the next question.

Repository type [svn]>

Please specify the absolute path to the version control
repository, or leave it blank to use Trac without a repository.
You can also set the repository location later.

Path to repository [/path/to/repos]> /var/svn/juliet

Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.

Templates directory [/usr/share/trac/templates]>

Creating and Initializing Project
Installing default wiki pages
/usr/share/trac/wiki-default/TracWiki => TracWiki
/usr/share/trac/wiki-default/TracGuide => TracGuide
/usr/share/trac/wiki-default/InterWiki => InterWiki
/usr/share/trac/wiki-default/TracLogging => TracLogging
/usr/share/trac/wiki-default/TracBrowser => TracBrowser
/usr/share/trac/wiki-default/SandBox => SandBox
/usr/share/trac/wiki-default/TracSyntaxColoring => TracSyntaxColoring
/usr/share/trac/wiki-default/TracAccessibility => TracAccessibility
/usr/share/trac/wiki-default/TracCgi => TracCgi
/usr/share/trac/wiki-default/InterMapTxt => InterMapTxt
/usr/share/trac/wiki-default/TracUnicode => TracUnicode
/usr/share/trac/wiki-default/TracSearch => TracSearch
/usr/share/trac/wiki-default/TracFastCgi => TracFastCgi
/usr/share/trac/wiki-default/TracRss => TracRss
/usr/share/trac/wiki-default/TracQuery => TracQuery
/usr/share/trac/wiki-default/WikiHtml => WikiHtml
/usr/share/trac/wiki-default/TracInstall => TracInstall
/usr/share/trac/wiki-default/TracUpgrade => TracUpgrade
/usr/share/trac/wiki-default/TracIni => TracIni
/usr/share/trac/wiki-default/WikiDeletePage => WikiDeletePage
/usr/share/trac/wiki-default/TracChangeset => TracChangeset
/usr/share/trac/wiki-default/TracAdmin => TracAdmin
/usr/share/trac/wiki-default/TracPlugins => TracPlugins
/usr/share/trac/wiki-default/WikiNewPage => WikiNewPage
/usr/share/trac/wiki-default/WikiFormatting => WikiFormatting
/usr/share/trac/wiki-default/TracStandalone => TracStandalone
/usr/share/trac/wiki-default/WikiRestructuredTextLinks => WikiRestructuredTextLinks
/usr/share/trac/wiki-default/TracReports => TracReports
/usr/share/trac/wiki-default/CamelCase => CamelCase
/usr/share/trac/wiki-default/TracEnvironment => TracEnvironment
/usr/share/trac/wiki-default/TracTicketsCustomFields => TracTicketsCustomFields
/usr/share/trac/wiki-default/TracRevisionLog => TracRevisionLog
/usr/share/trac/wiki-default/WikiMacros => WikiMacros
/usr/share/trac/wiki-default/InterTrac => InterTrac
/usr/share/trac/wiki-default/TracPermissions => TracPermissions
/usr/share/trac/wiki-default/WikiPageNames => WikiPageNames
/usr/share/trac/wiki-default/TracModPython => TracModPython
/usr/share/trac/wiki-default/TracLinks => TracLinks
/usr/share/trac/wiki-default/TracTimeline => TracTimeline
/usr/share/trac/wiki-default/TitleIndex => TitleIndex
/usr/share/trac/wiki-default/TracSupport => TracSupport
/usr/share/trac/wiki-default/TracRoadmap => TracRoadmap
/usr/share/trac/wiki-default/TracImport => TracImport
/usr/share/trac/wiki-default/RecentChanges => RecentChanges
/usr/share/trac/wiki-default/WikiRestructuredText => WikiRestructuredText
/usr/share/trac/wiki-default/TracNotification => TracNotification
/usr/share/trac/wiki-default/WikiProcessors => WikiProcessors
/usr/share/trac/wiki-default/WikiStart => WikiStart
/usr/share/trac/wiki-default/TracTickets => TracTickets
/usr/share/trac/wiki-default/TracBackup => TracBackup
/usr/share/trac/wiki-default/TracInterfaceCustomization => TracInterfaceCustomization
Indexing repository
[3]
---------------------------------------------------------------------
Project environment for 'juliet' created.

You may now configure the environment by editing the file:

/var/trac/juliet/conf/trac.ini

If you'd like to take this new project environment for a test drive,
try running the Trac standalone web server `tracd`:

tracd --port 8000 /var/trac/juliet

Then point your browser to http://localhost:8000/juliet.
There you can also browse the documentation for your installed
version of Trac, including information on further setup (such as
deploying Trac to a real web server).

The latest documentation can also always be found on the project
website:

http://trac.edgewall.org/

Congratulations!

권한 설정

$ sudo chown -R apache /var/trac
$ sudo chown -R apache /var/svn

$ sudo chcon -R -t httpd_sys_content_t /var/trac
$ sudo chcon -R -t httpd_sys_content_t /var/svn

환경 설정

# The Location is the part after the host (http://example.com) that
# you want to serve the Trac site

SetHandler mod_python
PythonHandler trac.web.modpython_frontend
# "/svn/trac/foobar" is the folder you gave to trac-admin initenv earlier
PythonOption TracEnv /var/trac/foobar
# "/trac" is the same as the Location above
PythonOption TracUriRoot /trac
# "/tmp" should be some writable temporary directory
SetEnv PYTHON_EGG_CACHE /tmp
# "trac" can be any string, but must be the same for all
# Trac instances on the same Apache install
PythonInterpreter trac


AuthType Basic
AuthName "alexandria"
AuthUserFile /var/trac/conf/trac.htpasswd
Require valid-user


크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/08/01 17:48 2007/08/01 17:48
Top

블로그코리아에 블UP하기