Menu

MP4Client bitrate switching not working with "raw output video" enabled

Help
2014-01-25
2014-02-07
  • Nikhil Sonti

    Nikhil Sonti - 2014-01-25

    I'm using MP4Client in raw output video (i.e. MP4Client -opt "Video:DriverName=Raw Video Output"). In this mode I don't see the bitrate switching happening. I look for this line in the log file "Switching to new representation bitrate" to verify the bitrate switching. I can see this line when I run in normal mode. Is there a way to enable bitrate sitching in raw output video mode?

    Please help!

     
  • Nikhil Sonti

    Nikhil Sonti - 2014-01-28

    After a bit of digging in the logs, I found out that the Switching was happening. Below is the log line I observed:

    Switching segment playback to http://192.168.20.1/SpaceAloneHD_sounas_640_700.mp4/video-segment(session=0,bandwidth=699722,time=90090).dash at UTC 1390922657736 ms
    [IsoMedia] Switching between files - opening new init segment gmem://687@0x7fe764005c50
    [MPD_IN] Switching segment playback to http://192.168.20.1/SpaceAloneHD_sounas_640_150.mp4/audio-segment(session=0,bandwidth=88128,time=143360).dash at UTC 1390922658073 ms

    But an other problem has raised. I'm running my MP4Client remotely with the help of a python script. To send the signals like bitrate switching, I'm sending there control ascii values as input for example (ctrl-h is '\x08'). But, I notice that these are not working as expected (i.e. if I send the ctrl-h or ctrl-l signal 10 times, I don't notice the switching happening atleast 5 times).

    I have a couple of questions:
    - Has the shortcuts been updated?
    - Or when executing remotely the only way to do it is by varying the network conditions?
    - Is there any other way to switch bitrates?

    Any help would be much appreciated!
    Thanks in advance

     
  • Jean Le Feuvre

    Jean Le Feuvre - 2014-02-07

    the ctrl+h/l only works with existing window, not from the prompt. When using raw output, no events are triggered ... We could add a way to switch quality from the prompt but this is not yet possible