livepeer / livepeer/transcode-cli
Error while transcoding: mp4: stream#0
Nessuno ha ancora preso questa issue.
- Lingua principale
- Go
- Stelle
- 9
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema con il comando livepeer-transcode fornito, il video di input e config.json. Inizia in transcode.go, nei percorsi di copia dei segmenti e di segnalazione degli errori mostrati nel log, quindi esamina segmenter.go e livepeer.go secondo necessità. Il lavoro è completato quando l’input fornito viene transcodificato correttamente oppure produce un errore chiaro e risolvibile senza il problema di temporizzazione dello stream mp4 segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100