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

transmuxing MP4 recording output is broken #2476

Closed
iameli opened this issue Jun 27, 2022 · 1 comment · Fixed by #2479
Closed

transmuxing MP4 recording output is broken #2476

iameli opened this issue Jun 27, 2022 · 1 comment · Fixed by #2479
Assignees
Labels
area: broadcasting need: investigation need to investigate what is happening before proceeding

Comments

@iameli
Copy link
Member

iameli commented Jun 27, 2022

Describe the bug
Production of MP4 files from recordings is broken.

To Reproduce
Steps to reproduce the behavior:
0. Check out a branch that includes fixes for object-store-without-API functionality: #2477

  1. Run go-livepeer with livepeer -broadcaster -recordStore s3+https://GOOGAMT7AUXJ2SXGAGRI4NQI:[redacted-but-i-can-give-you-it]@storage.googleapis.com/go-livepeer-vod-test
  2. Run curl http://localhost:8935/recordings/stream%2Bcountdown-Yg3OEth7/source.mp4
  3. You will get an empty file back, zero bytes.

We ran a bisect of go-livepeer and it appears that the first bad commit was 9324731 cc @AlexKordic

Logs:

ERROR: decoder.c:308] demuxer: Unable to open input : Invalid data found when processing input
E0627 11:16:35.515189   55340 ffmpeg.go:924] Transcoder Return : Invalid data found when processing input
E0627 11:16:35.515284   55340 mediaserver.go:1246] Error transmuxing to mp4 request=http://localhost:8935/recordings/stream%2Bcountdown-Yg3OEth7/source.mp4 uri=https://storage.googleapis.com/go-livepeer-vod-test/stream+countdown-Yg3OEth7/longos.local/source/0.ts manifestID=stream+countdown-Yg3OEth7 err="Invalid data found when processing input"
I0627 11:16:35.515378   55340 mediaserver.go:1188] Completed mp4 request=http://localhost:8935/recordings/stream%2Bcountdown-Yg3OEth7/source.mp4 manifestID=stream+countdown-Yg3OEth7 sourceBytes=322608 destBytes=0
@github-actions github-actions bot added the status: triage this issue has not been evaluated yet label Jun 27, 2022
@gioelecerati
Copy link
Member

@iameli iameli changed the title ffmpeg version bump caused MP4 recording output to break transmuxing MP4 recording output is broken Jun 27, 2022
@yondonfu yondonfu added area: broadcasting need: investigation need to investigate what is happening before proceeding and removed status: triage this issue has not been evaluated yet labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: broadcasting need: investigation need to investigate what is happening before proceeding
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants