Get from mpegts raw audio

legandox legandox at gmail.com
Tue Jan 19 14:17:13 UTC 2021


Hello, I have a video stream saved in a .ts container
In this video, the former programmers did something to the sound. They put
raw audio in the place of the standard audio stream (s16le channels = mono
sample-rate = 16000)

Here is the output of the ffprobe program
```
ffprobe video_in_audioraw.ts
Input # 0, mpegts, from 'video_in_audioraw.ts':
  Duration: 00: 29: 59.51, start: 94397.415800, bitrate: 613 kb / s
  Program 1
    Stream # 0: 0 [0x44]: Unknown: none ([131] [0] [0] [0] / 0x0083)
    Stream # 0: 1 [0x45]: Video: h264 (Baseline) ([27] [0] [0] [0] /
0x001B), yuv420p (progressive), 720x576, 25 fps, 25 tbr, 90k tbn, 180k tbc
```

Please help me convert this video to WAV.
I tried this gives an error
```
gst-launch-1.0 filesrc location = video_in_audioraw.ts! mpegtsmux name = mux
mux. ! queue max-size-time = 5000000000 max-size-buffers = 10000!
rawaudioparse use-sink-caps = false format = pcm pcm-format = s16le
sample-rate = 16000 num-channels = 1 audioconvert! audioresample! filesink
location = video_in_audioraw.wav
```
Thank you



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list