Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-10450

mod_conference play_status displays 0 total for large files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.8.2
    • Component/s: mod_conference
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      Hide
      No LSB modules are available.
      Distributor ID: Debian
      Description: Debian GNU/Linux 8.7 (jessie)
      Release: 8.7
      Codename: jessie
      Show
      No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.7 (jessie) Release: 8.7 Codename: jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.9.0+git~20170629T232123Z~ae5c197808~64bit (git ae5c197 2017-06-29 23:21:23Z 64bit)
    • GIT Master Revision hash::
      ae5c197808
    • Target Version:

      Description

      play_status incorrectly returns a total value of 0 when the video file is longer than, say, 40 minutes in length.

      Here's output from a shorter file of a few minutes:

      freeswitch@dev.freeswitch.local> conference $1-192.168.36.11 play /vagrant/big_buck_bunny_720p_20mb.mp4
      (play) Playing file /vagrant/big_buck_bunny_720p_20mb.mp4

      2017-06-29 21:34:42.078600 [DEBUG] avformat.c:1858 sample rate: 48000, channels: 2
      2017-06-29 21:34:42.108062 [INFO] avformat.c:1405 file /vagrant/big_buck_bunny_720p_20mb.mp4 is seekable
      2017-06-29 21:34:42.158752 [DEBUG] avformat.c:1521 Opening file in mode: I420
      2017-06-29 21:34:42.319092 [INFO] avformat.c:2512 start: 0 ticks: 1 ticks_per_frame: 2 st num:1 st den:12800 codec num:1 codec den:50 start: 0, duration:1501184 nb_frames:2932 q2d:0.000078
      2017-06-29 21:34:42.319092 [DEBUG] avformat.c:2542 set start time: 1498797282327618 now: 1498797282327618 pts: 0
      freeswitch@dev.freeswitch.local> conference $1-192.168.36.11 play_status
      +OK 9640000/117280000 /vagrant/big_buck_bunny_720p_20mb.mp4

      ...and from a longer file of approximately 100 minutes in length:

      freeswitch@dev.freeswitch.local> conference $1-192.168.36.11 play /vagrant/black-swan.mkv
      (play) Playing file /vagrant/black-swan.mkv

      2017-06-29 21:35:29.688142 [DEBUG] avformat.c:1858 sample rate: 48000, channels: 2
      2017-06-29 21:35:29.698052 [INFO] avformat.c:1405 file /vagrant/black-swan.mkv is seekable
      2017-06-29 21:35:29.709597 [DEBUG] avformat.c:1521 Opening file in mode: I420
      2017-06-29 21:35:29.820355 [INFO] avformat.c:2512 start: 0 ticks: 1 ticks_per_frame: 2 st num:1 st den:1000 codec num:1001 codec den:48000 start: 0, duration:-9223372036854775808 nb_frames:0 q2d:0.001000
      2017-06-29 21:35:29.820355 [DEBUG] avformat.c:2542 set start time: 1498797329836036 now: 1498797329836036 pts: 0
      freeswitch@dev.freeswitch.local> conference $1-192.168.36.11 play_status
      +OK 6757000/0 /vagrant/black-swan.mkv

        Attachments

          Activity

            People

            • Assignee:
              seven Seven Du
              Reporter:
              thehunmonkgroup Chad Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: