How to mix .wav audio file to .mp4 video file?

1,186 views
Skip to first unread message

To Quang Ngoc

unread,
Aug 19, 2014, 4:11:45 AM8/19/14
to mp4parser-...@googlegroups.com
Hi everybody,

I want to mix .wav audio file to .mp4 video file, output is only mp4 file contain audio and video. Possible to do this using mp4parser?

Thank in advanced :)

Sebastian Annies

unread,
Aug 19, 2014, 7:52:51 AM8/19/14
to mp4parser-...@googlegroups.com

Hi Ngoc,

 

you cannot directly put WAV files into MP4 container. A comparable format/codec for lossless audio is MPEG 4 ALS is specified in ISO/IEC 14496-3. Unfortunately the mp4parser cannot convert WAV (uncompressed) to MPEG 4 ALS (compressed but lossless). If you’d manage to create a converter from WAV to ALS I would be happy to implement the muxer for that format.

 

Grüße,

Sebastian

--
You received this message because you are subscribed to the Google Groups "mp4parser-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mp4parser-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

To Quang Ngoc

unread,
Aug 19, 2014, 10:36:42 AM8/19/14
to mp4parser-...@googlegroups.com
Dear Sebastian,

Thank you for your reply. 
Can you recommend me a library to convert .wav audio file to .mp4 file?

Thank a lot :)




Sebastian Annies

unread,
Aug 19, 2014, 11:32:10 AM8/19/14
to mp4parser-...@googlegroups.com

I don’t know of any java library (hey c’mon! read spec! start an implementation on github. It shouldn’t be too hard ) but ffmpeg will do the job (don’t ask me for the commandline)

--

NITIN GOYAL

unread,
Aug 19, 2014, 9:12:41 PM8/19/14
to mp4parser-...@googlegroups.com
.wav to mp4 is very straight forward and there are multiple libraries etc you can use like ffmpeg. But you can implement yours by reading specs and i remember their are some java libs too which are open source and convert PCM 16 bit audio to mp4 format.




Joyce Zhang

unread,
Jul 17, 2015, 2:09:47 AM7/17/15
to mp4parser-...@googlegroups.com
hi,you have any idea to solve this problem now?I also met the same problem,can you tell me?


在 2014年8月19日星期二 UTC+8下午4:11:45,To Quang Ngoc写道:

To Quang Ngoc

unread,
Jul 17, 2015, 2:16:57 AM7/17/15
to mp4parser-...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "mp4parser-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mp4parser-discussion/xtJY728IZpc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mp4parser-discus...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Tô Quang Ngọc
Software Engineer 
Mobile : (+84) 0902 193 899
             (+81) 080 9396 6969
Skype : to_quangngoc
Reply all
Reply to author
Forward
0 new messages