#6 play audio of video/mpeg

open
nobody
None
5
2014-02-02
2007-08-05
Thomas Orgis
No

prosikito on IRC assumed/hoped that mpg123 will play the audio of a mpeg video stream - and was disappointed.

We have this system.c file that used to serve as standalone program to get audio out of mpeg system streams...

Discussion

  • Man-wai Chang
    Man-wai Chang
    2014-02-01

    What audio format was your video stream? It could be AAC, AC3 or MP2/MP3....

     
  • Thomas Orgis
    Thomas Orgis
    2014-02-02

    Yeah, but for now, mpg123 won't play it regardless of audio coded ... it will try to parse things as plain mpeg audio, but mpeg a/v stream demuxing is not there.

    Well, you could use ffmpeg or mplayer to demux the audio part out of it... but then, you could also use mplayer to play it (best using mpg123 codec;-)...