Add .wav to .avi

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Add .wav to .avi

BogdanS
Hello. I have 2 files. first is a .avi, second it is a .wav. I run following:

gst-launch-1.0 filesrc location=audio1.wav ! wavparse ! audioconvert  ! queue ! mux.  filesrc location=video1.avi ! avidemux ! queue ! decodebin  ! videoscale  ! queue ! mux. avimux name=mux ! filesink location=test3.avi

And my test3.avi is

4GB

 size!! when audio1.wav is 4Mb and video1.avi is 70 Mb.

How can I fix this and reduse size?
Reply | Threaded
Open this post in threaded view
|

Re: Add .wav to .avi

BogdanS
I was mux a raw uncompressed data. Now fixed it.
gst-launch-1.0 filesrc location=audio.wav ! wavparse ! alawenc  ! queue ! mux.  filesrc location=video.avi ! avidemux ! queue ! decodebin  ! x264enc  ! queue ! mux. avimux name=mux ! filesink location=test5.avi