[Home]

Summary:ASTERISK-27125: Core/Codec: Video playback extremely slow, around 1FPS
Reporter:John Edell (JohnEd)Labels:
Date Opened:2017-07-11 08:07:53Date Closed:
Priority:MinorRegression?Yes
Status:Open/NewComponents:Core/CodecInterface Resources/res_rtp_asterisk
Versions:14.4.0 Frequency of
Occurrence
Constant
Related
Issues:
is caused byASTERISK-26367 rtp: Timestamps broken when video frame is across multiple RTP packets
is duplicated byASTERISK-28256 Video plays back in slow motion
Environment:Attachments:
Description:(Edit by Rusty- Looks like a regression caused by https://gerrit.asterisk.org/#/c/3898/)

The bundled version of PJProject 2.6 accompanying Asterisk 14.4 fails to playback asterisk recorded h264 video on Cisco E20 or E70 Video Phone devices. The video files display an IVVR menu recorded through asterisk and as such, the functionality of video playback on these devices is paramount. The video only fails to playback on these devices with PJProject version 2.6.

Video will play on SIP clients such as Linphone but will only play at 1FPS and will display no video at all on the Cisco devices.

Video will play on all devices after regression to PJProject 2.5.5 or prior versions, still at the extremely slow rate of only 1 frame per second

I have looked at the release notes for PJProject 2.6 in comparison to 2.5.5 but can't seem to find where the problem could be, and thus, am reaching out for community assistance.
Comments:By: Asterisk Team (asteriskteam) 2017-07-11 08:07:54.083-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2017-07-11 17:10:37.474-0500

We appreciate the difficulties you are facing, however this does not appear to be a bug report and your request or comments would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines



By: Rusty Newton (rnewton) 2017-07-11 17:14:01.823-0500

Closing this out temporarily since this is still in the domain of a support request. See the previous comment for a link to community resources where you can seek help with further defining the problem and narrowing things down.

Once you have narrowed it down and eliminated configuration or device interoperation issues, then you can open up a new issue with step by step instructions for reproduction and all the necessary debug information as described on the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] page.

Thanks,

By: John Edell (JohnEd) 2017-07-12 11:57:24.306-0500

This appears to be related to the following: ASTERISK-26554

The underlying issue here is the video playback at 1 frame per second. Seems to qualify as a bug to me. This isn't a configuration issue.

By: Asterisk Team (asteriskteam) 2017-07-12 11:57:24.468-0500

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: John Edell (JohnEd) 2017-07-14 10:57:26.508-0500

Update: We were able to successfully get video to playback well above 1fps by following the instruction of JColp. By undoing the changes made in https://gerrit.asterisk.org/#/c/3898/   and recompiling pjproject 2.5.5/asterisk 14.4, we were able to get the frame rate well above 1fps. This resolved that issue.
The second part of this is that no video plays at all with pjproject 2.6 on the cisco devices. Will continue to investigate.
Update: We resolved this issue by manually designating the external media address in pjsip.conf. It appears that in 2.5.5, you do not need to specify the external media address, but for 2.6 you do. otherwise the sip SDP has the wrong address.


By: Paulo Pereira (prbp) 2017-07-18 10:44:46.281-0500

Hello!
I agree with John that there is a bug with playing video files.
This bug can be reproduced using the provided "demo" context, using the free X-Lite softphone and making a video call to 1235 for leaving a message in the voicemail, and then making a video call to 8500, using mailbox "1234" and the default password "4242" for reproducing the message. Audio plays at normal rate, while video plays at about 1 frame per second, finishing long after the audio has finished.
A video call to the echo test at extension 600 is perfect.
This happens with Asterisk 13.13.1~dfsg-4ubuntu1 under Ubuntu 17.04, and the latest Asterisk 14.6.0 on OpenSUSE Tumbleweed.