Open a4tech opened 4 years ago
Hello, A working solution is to read the stream from the DVB driver and write its data in two different streams :
Tested on an Android AOSP box, it works well.
Best regards, Thibaut
Hello thibautperrin,
Could You give a hint for that ? I am testing on AOSP box as well. Buffering recorded file like >1 GB can cause issues as well
Regards
Hello, I understand, but in that way, it is a Linux's file access issue.
No, the driver stream must contains at least PID 0, the PID of the PMT and the PIDs of the media (audio, video... provided in the PMT). There is no need for the EPGs.
Best regards, Thibaut
Hello,
Could You try to make some psudo-code for understanding Your idea about 2 x FileOutputStream ?
I still do not understand how can I not save TS and play it - buffer for playback gets so big and more over as I mentioned playback by vlc stop after few seconds when I write to TS file and read by VLC.
Thank You for more description.
Finally got PLAYBACK from WRITING file.
So I play the TS Recorded by pressing TS RECORD button.
My question and last question :) is:
The file is getting huge after I watch 1hour it is like >2GB !
Any idea how to solve that problem ?
Hello,
Is there any suggestion which player shall We use or how to use for TS playback ?
The problem is even I record TS to a file and ply by ExoPlayer, ijkPlayer, MediaPlayer frameworks the stream play only amount of data which I have setDataSource(xx). Even it record more in mean time. All the players stop working.
My question is about a tip how to write/record to a file and play it in same time.
Thanks