DVB-S can not detect stream tracks

Hi! This is first post!

This is first post. And i will start it with problem which i can not solve. One of E2 Transcoder users reported that he can not transcode DVB-S streams. I asked him to send a *.ts file recorded on his receiver. File was really strange, check attached ts file.

strange_stream

Check attached text file with output from

streaminfo

./ffprobe -print_format json -show_streams strange_stream.ts

Is it somehow possible to select correct audio stream from this file?

Currently  im using in E2 transcoder ffmpeg settings -map 0:v:0 for video and -map 0:a:X X – is audio track form E2 transcoder menu. If i remove completly -map options from command than ffmpeg can transcode stream.  But how can i select another audio track in such situation ? When i add -map 0:0:X transcoding fails with error:


Codec AVOption vbr (Variable bit rate mode) specified for output file #0 (ystream.m3u8) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption profile () specified for output file #0 (ystream.m3u8) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption crf (Select the quality for constant quality mode) specified for output file #0 (ystream.m3u8) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[abuffer @ 0x305d380] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
Last message repeated 1 times
[abuffer @ 0x305d380] Unable to parse option value "(null)" as sample format
[abuffer @ 0x305d380] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
Last message repeated 1 times
[abuffer @ 0x305d380] Error setting option time_base to value 1/0.
[graph 0 input from stream 0:26 @ 0x30af340] Error applying options to the filter.

Normally transcoding should  work with:

./ffmpeg -copyts -i strange_stram.ts -analyzeduration 1000000000 -probesize 100000 -acodec aac -vbr 1 -strict experimental -c:v libx264 -crf 25 -profile:v baseline -filter:v yadif -r 24 -map 0:a:0 -map 0:v:0 -hls_time 10 -hls_wrap 9 ystream.m3u8

 

Default Conf parameters:

$conf["parameters"] = "-i {stream_url} -acodec aac -vbr 1 -strict experimental -c:v libx264 -crf {crf}  -profile:v baseline -filter:v yadif -vf \"scale=trunc(oh*a/2)*2:min({width} \,iw)\" -r 24 -map 0:a:{audio_id} -map 0:v:0 -hls_time 10 -hls_wrap 6 {stream_dir}ystream.m3u8";

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.