Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

how to extract audio on m2ts files with bash linux files

bash

Best Answer Onodera, 17 October 2014 - 05:33 PM

ah I am very sorry I forgot this post I solved my problem 

 
thank you for your reply and I have forgetting to mention that Cliff do command line 
here is my little script ^^
#!/bin/bash 
 
 find . -name "*.m2ts" | while read line
           do
             name="$(basename "${line}" .m2ts)"
             echo "${name}"
             ffmpeg -i "${name}".m2ts  -map 0:1 -acodec ac3 "${name}".ac3 < /dev/null
             
           done

Go to the full post


This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 Onodera

Onodera

    CC Newcomer

  • Member
  • PipPip
  • 13 posts

Posted 16 October 2014 - 07:59 AM

hello

how to extract audio on m2ts files without loss quality and convert to ac3 a 192kbps


tx in advence



#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 17 October 2014 - 05:53 AM

You can use the mediamuxer / demux

 

I'll keep this in mind, see if I remember any other software to do that.



#3 Onodera

Onodera

    CC Newcomer

  • Member
  • PipPip
  • 13 posts

Posted 17 October 2014 - 05:33 PM   Best Answer

ah I am very sorry I forgot this post I solved my problem 

 
thank you for your reply and I have forgetting to mention that Cliff do command line 
here is my little script ^^
#!/bin/bash 
 
 find . -name "*.m2ts" | while read line
           do
             name="$(basename "${line}" .m2ts)"
             echo "${name}"
             ffmpeg -i "${name}".m2ts  -map 0:1 -acodec ac3 "${name}".ac3 < /dev/null
             
           done