deepmedia / deepmedia/Transcoder
[Q] MP4 concatenation with Video PassThroughTrackStrategy does nothing
- Lingua principale
- Java
- Stelle
- 863
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Maybe I misunderstood how this library works, but if I try to merge 2 mp4 files that are exactly the same, I assumed a PassThroughTrackStrategy would be enough and it would merge the 2 video files together. However when I do
```
Transcoder.into(output.fileDescriptor)
.addDataSource(context, uri1)
.addDataSource(context, uri2) // uri1 and uri2 are a copy of the same mp4 file
.setVideoTrackStrategy(PassThroughTrackStrategy())
.transcode()
```
I just get `Validator has decided that the input is fine and transcoding is not necessary.`.
I was expecting this, but I would have expected to merging to take place. However the final output file is completely empty.
Is this expected behaviour, and if so Is there a way to make this work without a full video transcoding?
Thanks!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il flusso del builder di Transcoder, la decisione di Validator e PassThroughTrackStrategy usando la riproduzione con due input MP4 identici. Verifica come viene gestito il file di output quando la validazione indica che la transcodifica non è necessaria. Il lavoro è completo quando il comportamento previsto è documentato oppure il percorso di concatenazione produce un output unito non vuoto senza una transcodifica video completa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100