livepeer / livepeer/transcode-cli

Error while transcoding: mp4: stream#0

Đang mở
#9 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Go
Star
9
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Command:
./livepeer-transcode transcode --api-key "$API_KEY" "assets/sintel-1024-surround.mp4" output.mp4 --profiles config.json

Log:

I0326 11:15:32.865486   48776 transcode.go:382] api key="ab1858f9-0e5f-xxxx-xxxx-xxxxxxxxxxxxxx" transcode from "assets/sintel-1024-surround.mp4" to "output.mp4"
I0326 11:15:32.865925   48776 transcode.go:165] Chosen API server: https://livepeer.com
I0326 11:15:32.866040   48776 livepeer.go:418] Creating Livepeer stream 'tod_2022-03-26T11:15:32-03:00' with presets '[]' and profiles [{Name:240p0 Width:426 Height:240 Bitrate:250000 Fps:30000 FpsDen:1001 Gop:2.0 Profile:H264Baseline} {Name:360p0 Width:640 Height:360 Bitrate:800000 Fps:60000 FpsDen:1001 Gop:2.0 Profile:H264Main} {Name:480p0 Width:854 Height:480 Bitrate:1600000 Fps:24000 FpsDen:1001 Gop:2.0 Profile:H264High} {Name:720p0 Width:1280 Height:720 Bitrate:3000000 Fps:0 FpsDen:0 Gop:2.0 Profile:H264ConstrainedHigh}]
I0326 11:15:32.866389   48776 livepeer.go:437] Sending: {"name":"tod_2022-03-26T11:15:32-03:00","profiles":[{"name":"240p0","width":426,"height":240,"bitrate":250000,"fps":30000,"fpsDen":1001,"gop":"2.0","profile":"H264Baseline"},{"name":"360p0","width":640,"height":360,"bitrate":800000,"fps":60000,"fpsDen":1001,"gop":"2.0","profile":"H264Main"},{"name":"480p0","width":854,"height":480,"bitrate":1600000,"fps":24000,"fpsDen":1001,"gop":"2.0","profile":"H264High"},{"name":"720p0","width":1280,"height":720,"bitrate":3000000,"fps":0,"gop":"2.0","profile":"H264ConstrainedHigh"}]}
I0326 11:15:34.266047   48776 livepeer.go:459] {"lastSeen":0,"isActive":false,"record":false,"suspended":false,"sourceSegments":0,"transcodedSegments":0,"sourceSegmentsDuration":0,"transcodedSegmentsDuration":0,"sourceBytes":0,"transcodedBytes":0,"profiles":[{"name":"240p0","width":426,"height":240,"bitrate":250000,"fps":30000,"fpsDen":1001,"gop":"2.0","profile":"H264Baseline"},{"name":"360p0","width":640,"height":360,"bitrate":800000,"fps":60000,"fpsDen":1001,"gop":"2.0","profile":"H264Main"},{"name":"480p0","width":854,"height":480,"bitrate":1600000,"fps":24000,"fpsDen":1001,"gop":"2.0","profile":"H264High"},{"name":"720p0","width":1280,"height":720,"bitrate":3000000,"fps":0,"gop":"2.0","profile":"H264ConstrainedHigh"}],"name":"tod_2022-03-26T11:15:32-03:00","kind":"stream","userId":"3d7a1abf-afcb-433a-81ec-2f7927b77edb","renditions":{},"id":"15401875-43ab-42c0-9dc8-ce65922ce7b1","createdAt":1648304134413,"streamKey":"1540-ijxp-zvix-mdib","playbackId":"1540le0iea9ckgdo","createdByTokenName":"sea","createdByTokenId":"ab1858f9-0e5f-4c6a-87c4-6e66bec09079","multistream":{"targets":[]}}
I0326 11:15:34.266641   48776 livepeer.go:468] Stream tod_2022-03-26T11:15:32-03:00 created with id 15401875-43ab-42c0-9dc8-ce65922ce7b1
I0326 11:15:34.266709   48776 transcode.go:181] Created stream id=15401875-43ab-42c0-9dc8-ce65922ce7b1 name=tod_2022-03-26T11:15:32-03:00
I0326 11:15:34.266742   48776 segmenter.go:33] Starting segmenting file assets/sintel-1024-surround.mp4
I0326 11:15:34.325500   48776 transcode.go:232] Got segment seqNo=0 pts=0s dur=23.916666666s data len bytes=3113092
I0326 11:15:35.185723   48776 livepeer.go:271] [{"address":"https://lax.livepeer.com"},{"address":"https://nyc.livepeer.com"}]
I0326 11:15:52.327317   48776 transcode.go:239] Transcoded 4 took 18.001721471s
W0326 11:15:52.379888   48776 transcode.go:271] Copy packets media 2 err=mp4: stream#0 time=125.133333ms < lasttime=125.133333ms
E0326 11:15:52.684438   48776 transcode.go:427] Error while transcoding: mp4: stream#0 time=125.133333ms < lasttime=125.133333ms

config.json: https://github.com/livepeer/transcode-cli/blob/main/config.json

video: http://www.peach.themazzone.com/durian/movies/sintel-1024-surround.mp4

Using: livepeer-transcode-linux-amd64 binary
OS: Ubuntu 20.04.3 LTS

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề bằng lệnh livepeer-transcode được cung cấp, video đầu vào và config.json. Bắt đầu trong transcode.go, tại các luồng sao chép segment và báo cáo lỗi được hiển thị trong log, sau đó kiểm tra segmenter.go và livepeer.go khi cần. Hoàn thành khi đầu vào được cung cấp либо được chuyển mã thành công hoặc tạo ra lỗi rõ ràng, có thể xử lý, mà không gặp lỗi timing của luồng mp4 đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.