Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOD video is distorted after transcoding #4684

Open
trunghm opened this issue Dec 23, 2022 · 6 comments
Open

VOD video is distorted after transcoding #4684

trunghm opened this issue Dec 23, 2022 · 6 comments
Assignees

Comments

@trunghm
Copy link

trunghm commented Dec 23, 2022

Short description

The issue is the transcoded video is distorted; it does not keep the ratio of the original video. I’ve attached the original video to this email, you can also download this video from https://drive.google.com/file/d/1PUb7Qa5NUOZvVPjFiVxonKOYGUOc6dcg/view?usp=share_link.

This is the link after the video was transcoded: https://tstantmds.redhotpie.com.au:5443/LiveApp/streams/787756136884374859986123/787756136884374859986123.m3u8, you would see the video is distorted.

Note: The transcoding script was taken from https://github.com/ant-media/Scripts/blob/master/vod_transcode.sh.

Environment

  • Operating system and version: Ubuntu 20.04.4 LTS
  • Java version: openjdk 11.0.17 2022-10-18
  • Ant Media Server version: Enterprise Edition 2.5.0 20221012_1646
  • Browser name and version: N/A

Steps to reproduce

  1. Download the video from https://drive.google.com/file/d/1PUb7Qa5NUOZvVPjFiVxonKOYGUOc6dcg/view?usp=share_link
  2. Upload the video to the Ant media server
  3. Check the transcoded video returned by the Ant Media server - the one in HLS or Dash format.

Expected behavior

The transcoded video is not distorted.

Actual behavior

The transcoded video is distorted. Check output from Ant media at https://tstantmds.redhotpie.com.au:5443/LiveApp/streams/787756136884374859986123/787756136884374859986123.m3u8

@USAMAWIZARD
Copy link
Contributor

can you please try out this script and let me know if your problem is resolved
vod_transcode.zip

@trunghm
Copy link
Author

trunghm commented Dec 26, 2022

@USAMAWIZARD thank you for your prompt action. The fix works well and it resolves the issue I reported.

@asharamseervi
Copy link
Contributor

Hi @muratugureminoglu, Any progress on this? This seems generous problem and should be targeted.

@muratugureminoglu
Copy link
Collaborator

muratugureminoglu commented Jan 21, 2023

This issue seems resolved. What kind of progress are you expecting? @asharamseervi

@asharamseervi
Copy link
Contributor

Yeah,
I didn't noticed any changes in script file: https://github.com/ant-media/Scripts/blob/master/vod_transcode.sh; as an another issue relevant to this, is communicated & referenced as asap, hence thought to requested an updates on this.
and it's my bad as didn't noticed un-merged PR: ant-media/Scripts#206

BTW, where this PR is stuck to get this merged? We can close this issue if this PR got merged, what's say?

@mekya
Copy link
Contributor

mekya commented Jan 30, 2023

I've just reviewed that PR and request some changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

5 participants