GithubHelp home page GithubHelp logo

ldecicco / tapas Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 15.0 468 KB

TAPAS is a tool for rapid prototyping of adaptive streaming algorithms and video streaming traffic generation

License: GNU General Public License v2.0

Python 100.00%

tapas's People

Contributors

ldecicco avatar lumisota avatar pckbls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tapas's Issues

Error playing MPD

I am trying to use my own mpd with your TAPAS Player. When using your suggested MPD things work fine, but I receive the following Errors:
2016-12-15 13:50:50+0100 [-] Log opened.
2016-12-15 13:50:50+0100 [-] trying to open fifo
2016-12-15 13:50:50+0100 [-] URLtoMyMPD.mpd
2016-12-15 13:50:50+0100 [-] Traceback (most recent call last):
2016-12-15 13:50:50+0100 [-] File "TAPAS/play.py", line 139, in
2016-12-15 13:50:50+0100 [-] select_player()
2016-12-15 13:50:50+0100 [-] File "TAPAS/play.py", line 131, in select_player
2016-12-15 13:50:50+0100 [-] player.play()
2016-12-15 13:50:50+0100 [-] File "TAPAS/TapasPlayer.py", line 123, in play
2016-12-15 13:50:50+0100 [-] self.parser.loadPlaylist()
2016-12-15 13:50:50+0100 [-] File "TAPAS/parsers/DASH_mp4Parser.py", line 104, in loadPlaylist
2016-12-15 13:50:50+0100 [-] if "@range" in json_representation[j]["SegmentBase"]["Initialization"].keys():
2016-12-15 13:50:50+0100 [-] KeyError: 'SegmentBase'

Looking at both MPD files I see the following for any one representation:

<SegmentTemplate duration="2000" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="1" timescale="1000"/>
<Representation bandwidth="1018420" codecs="avc1.4D401F" frameRate="24" height="480" id="V4" scanType="progressive" mimeType="video/mp4" width="1128"/>
<Representation bandwidth="869460" codecs="avc1.4d401e" height="480" id="3" mimeType="video/mp4" width="854">
        <BaseURL>car-20120827-87.mp4</BaseURL>
        <SegmentBase indexRange="708-1183">
          <Initialization range="0-707" />
        </SegmentBase>
      </Representation>

Does your player only accept this one certain form of encoding?

Best regards
Silvio Waldmann

Save the streamed video into a file

Is there a way to save the streamed video into a file? Something like "v_sink = 'filesink location=video.mp4'"? I want to play the video with an other player because I have problems with the TAPAS "player".

For example:
python play.py -u http://www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/BigBuckBunny/2sec/BigBuckBunny_2s_onDemand_2014_05_09.mpd

When the player wants to make a switch at the second 4 the screen turns gray and you can appreciate something like "miscoded fragments" of the original video but there is something wrong. I don't know how explain this better with only words.

For the youtube dataset everything works fine, but the content that I have generated works like the itec.uni-klu dataset.

Thanks in advance.

Python Gstreamer plugin not working - no video output

System: Ubuntu 14.04 osboxes.org image with 3.13.0-112-generic kernel

No video output even with explicit -m gst option selected. IIRC video output played smoothly a few months earlier on a similar machine.

Command: sudo python play.py -a max -m gst -u http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd

Output: 2017-03-24 11:43:26+0500 [-] Log opened.
2017-03-24 11:43:26+0500 [-] http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd
^C2017-03-24 11:45:05+0500 [-] Received SIGINT, shutting down.
2017-03-24 11:45:05+0500 [-] Main loop terminated.

Fake option also returns verbose errors related to python and twisted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.