1. 08 Aug, 2003 1 commit
  2. 06 Aug, 2003 2 commits
    • Tristan Leteurtre's avatar
      · af0df274
      Tristan Leteurtre authored
        . ps2ts module fixed
    • Tristan Leteurtre's avatar
      · bb9bbe9b
      Tristan Leteurtre authored
        . Fixes in trickplay
        . rename raw2ts/v4lraw.* to raw2ts/rawencode.*
          this is important since raw2ts module does not depend of
          video4linux at all.
  3. 05 Aug, 2003 5 commits
    • Damien Lucas's avatar
      . optims · 60c60513
      Damien Lucas authored
    • Tristan Leteurtre's avatar
      · 910253ed
      Tristan Leteurtre authored
         . Fixed my previous commit
           (thank you damien)
    • Tristan Leteurtre's avatar
      · 82c3c422
      Tristan Leteurtre authored
        . Video4linux input repaired !
          Lots of clean-ups and optimizations. However, still some tiny
          problems with sound.
          By the way, vls' v4linput works with aminocom set-top boxes !
    • Tristan Leteurtre's avatar
      · 507139c1
      Tristan Leteurtre authored
        . Some cleaning in the TrickModule :
          Function :
                             "m_pConverter->GetNextPacket(C_Packet * Packet)"
          is replaced by :
                             "...->GetNextPackets(C_Fifo<C_Packet> * Packet)".
          The main reason is that sometimes, it is not easy for the converter
          to give only *one* packet. In the case of the ps2ts converter and
          raw2ts converter, the basic operation for the converter is to
          convert a ps/raw frame into *several* TS packets. In that case, it
          is easier for the converter to give a buffer of several TS packets.
          I think this is the right way to do things. This commit is a big
          step to ps2ts and raw2ts reparations.
          v4l support and raw2ts will be repaired in my next commit... be patient !
    • Damien Lucas's avatar
      manager*/admin*: following of my previous work · 5eff70c2
      Damien Lucas authored
                       + use of a method pointers hashtable to handle the command
      telnetinterface : bug fix
  4. 04 Aug, 2003 4 commits
    • Damien Lucas's avatar
    • Damien Lucas's avatar
    • Damien Lucas's avatar
      removed some ugly debug messages · 5b2601eb
      Damien Lucas authored
    • Damien Lucas's avatar
      . Makefile: when profiling with gcc/gprof you have to link with -pg option · 8e8eebe4
      Damien Lucas authored
      . dummyinterface: add a m_bStop attribute so that we can stop it
                        change the sleep delay for 2 sec (delay when stopping)
      . normaltrickplay: add a todo : we should not release a lock that another
                          thread locked
      . telnetinterface: adds a path notion : when in 'xxxxxx' directory 'yy'
         command launches xxxxxx_yy()
      . interface.cpp: unref the module count in the destructor so that we are
          able to unload the module at shutdown
      . ALL :
          1/ change the following functions:
              . added 'cd'
              .  changed the 'help' command
              . added 'broadcast/ls'
              . added 'broadcast/add'
              . added 'broadcast/del'
              . added 'broadcast/help'
              . added 'channel/ls'
              . added 'channel/add'
              . added 'channel/del'
              . added 'channel/help'
          2/ the manager.cpp file has been split in 3
              . manager_broadcast.cpp contains all the broadcasts related functions
              . manager_channel.cpp contains all the channels related functions
          3/ thread structure:
              . all the interface are now threaded and not only the (n-1) first ones.
              . main thread is not any more the last interface one but is now the
                manager one (C_Manager does not inheritate from C_Thread any more)
          4/ shutdown
              . fix all the shutdown bugs : vls now shuts down correctly when Ctrl-C
                and when shutdowing from interface
      Plans for a 0.6.0 version
        I think you should plan a 0.6.0 release. Major improvements would be:
          . interface modularisation
          . v4l input
          . trickplay (even if there is no new feature so far )
          . new telnet command architecture
        I identify the following bugs that need to be fixed for the release:
          . v4l input broken since trickplay commit (assigned to tooney)
          . ps2ts converter broken since trickplay commit (assigned to jpsaman)
          . dvb input to be re-wrote (trickplay  & libdvb use) (assigned to me)
      if you want to had any new code in that release, please tell us quickly.
      if you know any ug that is not mention here, please tell us too.
  5. 01 Aug, 2003 1 commit
  6. 31 Jul, 2003 1 commit
    • Damien Lucas's avatar
      . ALL : code cleaning and bug fixing (locks on the interfaceList) · d973d927
      Damien Lucas authored
      . manager.cpp : fixed the bug when stopping a program (broke in my last commit)
      . *interfaces : beginning of event handling
      . parsers.cpp : fixed memory leaks
      . localinput.cpp : fixed memory leak
      There is still a fixed memory leak at start up due to flex but during a
      streaming process, all the memory is correctly free'd.
      vls now stops correctly when Ctrl-C but there are few other bugs to
      correct for the shutdown command.
  7. 30 Jul, 2003 3 commits
  8. 27 Jul, 2003 1 commit
  9. 26 Jul, 2003 2 commits
  10. 02 Jul, 2003 1 commit
    • Jean-Paul Saman's avatar
      - Removed some dead wood · 09392400
      Jean-Paul Saman authored
      - Implemented C_Semaphore::TryWait()
      - Fixed the 9 seconds delay for stopping a stream. The C_SyncFifo()::Pop() and HandlePacket() now make use of C_Semaphore::TryWait() and never block. If the semaphore is already held then the methods Pop() and HandlePacket() will sleep for a predefined time and try again. Should this sleep time be configurable?
      - Fixed a bug in C_TrickPlay::StopWork() using Interrupt() instead of DelayedInterruption().
  11. 30 Jun, 2003 1 commit
    • Jean-Paul Saman's avatar
      More fixes for v4l. The v4l module compiles again, but is not useable. · fc0f490a
      Jean-Paul Saman authored
      1) In contrast to my previous post the C_AudioCaptureThread and C_VideoCaptureThread were not moved down to a reader (e.g: v4lreader), but are still in raw2ts.cpp used. The declarations are in a separate file now: v4lraw.cpp and v4lraw.h.
      2) A bit of cleanup
      3) Added a C_DatedFifo to src/server/buffer.h and src/server/buffer.cpp
      TODO: Make the function EStoTS() in src/modules/raw2ts/raw2ts.cpp work on a single TS Packet. Maybe by doing to packetizing in 2 steps: a EStoPES() and PEStoTS() function. Tristan what do you think?
  12. 26 Jun, 2003 2 commits
    • Damien Lucas's avatar
    • Damien Lucas's avatar
      . parser.cpp manager.cpp admin.cpp: · c71a7ea7
      Damien Lucas authored
          Changed the 'type' option in the Channel definition to 'streamtype'
           'type' is the ChannelType (network, file, ...)
           'streamtype' is an option for network channel specifying multicast/unicast
      . vls.cfg: updated for parameter streamtype
      . admin.cpp manger.cpp: modification in the answer for 'show' command.
        optional arguments are now shown only if they were set by the user.
  13. 14 Jun, 2003 1 commit
  14. 09 Jun, 2003 6 commits
  15. 08 Jun, 2003 1 commit
    • Tristan Leteurtre's avatar
      · 9fea5868
      Tristan Leteurtre authored
       . Some compilations fixes in v4linput
       . Fixed a little bug in the architecture : logger ("m_hLog") was not
         available in reader modules !
       . Yet, there are many compilation pb in raw2tsConverter, since all the
       stop/pause have been moved to the TrickPlay class. Jean-Paul, have you
       had a look ? Maybe you know how to solve that in 5 minutes. Otherwise,
       I need to go deeper in the trickplay code.
        For compilations tests, you can use the command line
       ./configure --enable-v4l --with-ffmpeg=/usr/src/ffmpeg-XX-YY-2003 && make
         where ffmpeg-XX.YY-2003 is a cvs snapshot.
  16. 07 Jun, 2003 2 commits
  17. 04 Jun, 2003 2 commits
  18. 02 Jun, 2003 4 commits
    • Jean-Paul Saman's avatar
    • Jean-Paul Saman's avatar
      Here comes a big commit. It consists of largely 3 pieces: · 5120a54b
      Jean-Paul Saman authored
      1) Finally added documentation for dynamic configuration and trickplay assignment to inputs.
      2) This commit makes architectural changes in the VLS core code. It makes implementation of different Trickplay strategies possible. Currently only one is supported, the default "normal" trickplay. It works just like the old code. For files this code works correctly. Unfortunately I have not been able to test v4l, dvb and video inputs thoroughly, so expect this commit to breaks things in that area. Please do some additional testing.
      3) Support for reading large files >2GB has been extended with new compile options and using 64 bits integers explicitly throughout the affected code.
      I also did some cleanup with respect to printfs. There are still a lot in this code, they NEED to be eliminated and replaced by Log(hlog, LOG_XXXX, ....) statements.
    • Damien Lucas's avatar
      . possibility to start multiple interfaces · 21794322
      Damien Lucas authored
         (start new threads if more than one)
      . some changes in the interface structure
      . still some work on the interfaces (segfault when shutting down)
      . code cleaning
    • Damien Lucas's avatar
      . * : Bug fixes in the interface management · f9412d1e
      Damien Lucas authored
      . * : Code cleaning
      . nativeinterface/* : Native interface debugging
      . manager.cpp : fixed the construction of answers from the manager
      . manager.cpp : fixed part of the dynamic configuration