Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      Information   10/21/18

      Registration on the forum temporarily closed! For support requests, please contacat us: https://cesbo.com/help
      Our community in Telegram: @cesbo_en (English language) , @cesbo_ru (Russian language) , @cesbo_es (Spanish Language)
Sign in to follow this  
MikkM

Remove certain audio from stream

Recommended Posts

Hi folks!

 

Is it possible to remove certain audio channel from stream to save bandwidth?

 

My stream has dual audio ENG/RUS, i want to remove RUS how can i do it?

Mar 17 21:44:33: INFO: [History #1] AUDIO: pid: 658 type: 0x03
Mar 17 21:44:33: INFO: [History #1] AUDIO: Stream ID: 2
Mar 17 21:44:33: INFO: [History #1] AUDIO: Language: eng
Mar 17 21:44:33: INFO: [History #1] AUDIO: descriptor: 0x030167
Mar 17 21:44:33: INFO: [History #1] AUDIO: descriptor: 0x0E03C00149
Mar 17 21:44:33: INFO: [History #1] AUDIO: pid: 659 type: 0x03
Mar 17 21:44:33: INFO: [History #1] AUDIO: Stream ID: 3
Mar 17 21:44:33: INFO: [History #1] AUDIO: Language: rus
Mar 17 21:44:33: INFO: [History #1] AUDIO: descriptor: 0x030167
Mar 17 21:44:33: INFO: [History #1] AUDIO: descriptor: 0x0E03C00149

And my make channel:

make_channel({
        name = "History",
        input = { "dvb://mux2#pnr=13&cam=reader_0" },
        output = {"http://0.0.0.0:8001/history#keep_active" },
})

Regards

MikkM

Share this post


Link to post
Share on other sites

My stream has dual audio ENG/RUS, i want to remove RUS how can i do it?

конечно, можете! для этого нужно применить параметр filter.

например:

input = { "dvb://mux2#pnr=13&cam=reader_0&filter=659" },

где, 659 - pid удаляемого субпотока (русская звуковая дорожка)

Share this post


Link to post
Share on other sites

Можно ли провернуть обратную задачу? Добавить аудио поток (радио) к видео-матрасу из .ts

Почему при приёме http-радио ругается на ошибки и не формирует мультикаст выход, хотя при анализе всё нормально? bitrate_limit=10 в конфиге http-входа не помогает:

make_channel({name = "Radio",input = {"http://10.1.6.100:8000/sample128#bitrate_limit=10"}, output = {"udp://10.0.34.200@239.39.39.151:1234"}})
 ./astra_info_2018.lua
Nov 29 13:34:49: INFO: Starting Astra 4.4.187
Nov 29 13:34:49: INFO: [udp_output 239.39.39.151:1234] buffering...
Nov 29 13:34:50: ERROR: [Radio #1] Bitrate:263Kbit/s PES:0 CC:0
Nov 29 13:34:51: ERROR: [Radio #1] Bitrate:51Kbit/s PES:0 CC:0
Nov 29 13:34:52: ERROR: [Radio #1] Bitrate:55Kbit/s PES:0 CC:0
Nov 29 13:34:53: ERROR: [Radio #1] Bitrate:60Kbit/s PES:0 CC:0
Nov 29 13:34:53: ERROR: [Radio] Failed to switch to reserve
^CNov 29 13:35:35: INFO: [main] exit
 

 astra-4.4.187 --analyze http://10.1.6.2:8000/sample128
Nov 29 13:36:36: INFO: Starting Astra 4.4.187
Nov 29 13:36:37: INFO: Bitrate: 239 Kbit/s
Nov 29 13:36:38: INFO: Bitrate: 48 Kbit/s
Nov 29 13:36:39: INFO: Bitrate: 51 Kbit/s
Nov 29 13:36:40: INFO: Bitrate: 43 Kbit/s
Nov 29 13:36:41: INFO: Bitrate: 61 Kbit/s
Nov 29 13:36:42: INFO: Bitrate: 61 Kbit/s
Nov 29 13:36:43: INFO: Bitrate: 58 Kbit/s
Nov 29 13:36:44: INFO: Bitrate: 54 Kbit/s
Nov 29 13:36:45: INFO: Bitrate: 52 Kbit/s
Nov 29 13:36:46: INFO: Bitrate: 46 Kbit/s
Nov 29 13:36:47: INFO: Bitrate: 55 Kbit/s
Nov 29 13:36:48: INFO: Bitrate: 40 Kbit/s
Nov 29 13:36:49: INFO: Bitrate: 61 Kbit/s
Nov 29 13:36:50: INFO: Bitrate: 48 Kbit/s
 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×