Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Satellite TV receivers & systems support forums
Fringe Reception General
Eurovision Song Contest in Rotterdam
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Adam792" data-source="post: 1112923" data-attributes="member: 330868"><p>Stream 3 is the Dolby E! So you have it. S302M is the transport format for Dolby E within MPEG-TS. I think it's usually 8 channels (7.1) with the first 6 being normal 5.1 and the last 2 being a stereo mix - all multiplexed together.</p><p></p><p>The process for converting that is more involved, you have to first separate the audio from the video, convert it to PCM and then encode using FFMPEG as FFMPEG only gets that it's DolbyE from a WAV/PCM stream.</p><p></p><p>Then you mux it back together with the video, but it takes a bit of trial and error to get the AV sync right!</p><p></p><p>[CODE]ffmpeg -non_pcm_mode copy -i <video file.ts> -map 0:3 -c:a pcm_s24le -f s24le <output audio filename.wav></p><p>ffmpeg -i <output audio filename.wav>[/CODE]</p><p></p><p>If the second command gives you an error that the input file contains invalid content, then it's 5.1 rather than 7.1 and you need to do this instead for the first command -</p><p></p><p>[CODE]ffmpeg -non_pcm_mode copy -i <video file.ts> -map 0:3 -c:a pcm_s16le -f s16le <output audio filename.wav>[/CODE]</p><p></p><p>Then you can re-encode the resulting wav as AC3 or whatever as FFMPEG should pick up that it's DolbyE.</p><p></p><p>For the 5.1 version (if you had to use s16le) that's as easy as -</p><p></p><p>[CODE] ffmpeg -i <output audio filename.wav> -ar 48k -c:a ac3 -b:a 448k <ac3 output file.ac3>[/CODE]</p><p></p><p>For the 7.1 version (s24le) you'll also have to map the channels to just get the 5.1 and ignore the extra stereo pair.</p></blockquote><p></p>
[QUOTE="Adam792, post: 1112923, member: 330868"] Stream 3 is the Dolby E! So you have it. S302M is the transport format for Dolby E within MPEG-TS. I think it's usually 8 channels (7.1) with the first 6 being normal 5.1 and the last 2 being a stereo mix - all multiplexed together. The process for converting that is more involved, you have to first separate the audio from the video, convert it to PCM and then encode using FFMPEG as FFMPEG only gets that it's DolbyE from a WAV/PCM stream. Then you mux it back together with the video, but it takes a bit of trial and error to get the AV sync right! [CODE]ffmpeg -non_pcm_mode copy -i <video file.ts> -map 0:3 -c:a pcm_s24le -f s24le <output audio filename.wav> ffmpeg -i <output audio filename.wav>[/CODE] If the second command gives you an error that the input file contains invalid content, then it's 5.1 rather than 7.1 and you need to do this instead for the first command - [CODE]ffmpeg -non_pcm_mode copy -i <video file.ts> -map 0:3 -c:a pcm_s16le -f s16le <output audio filename.wav>[/CODE] Then you can re-encode the resulting wav as AC3 or whatever as FFMPEG should pick up that it's DolbyE. For the 5.1 version (if you had to use s16le) that's as easy as - [CODE] ffmpeg -i <output audio filename.wav> -ar 48k -c:a ac3 -b:a 448k <ac3 output file.ac3>[/CODE] For the 7.1 version (s24le) you'll also have to map the channels to just get the 5.1 and ignore the extra stereo pair. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Satellite TV receivers & systems support forums
Fringe Reception General
Eurovision Song Contest in Rotterdam
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top