Assume I have a video with the video codec
H.264/AVC and an audio codec AAC
As I found out I can (lossless) convert a video from AVI container to MP4 container with a ffmpeg cmd like
FFmpeg.exe" -i "foobar.avi" -vcodec copy -acodec copy "foobar.mp4"
Fine.
Now I want to do the other way: to (lossless) convert a video from MP4 container to AVI container. I though
FFmpeg.exe" -i "foobar.mp4" -vcodec copy -acodec copy "foobar.avi"
will do the job. But unfortunately I cannot hear audio in the resulting *.avi video.
Video is ok and audio tracks seems to be present but not played (with VLC player).
So how else do I lossless convert MP4 video to AVI?
Yes, AAC ACM codec is installed on (64bit) Win7 system.
Thank you
Peter
+ Reply to Thread
Results 1 to 6 of 6
-
-
The various muxers in ffmpeg are far from being flawless.
Here is what I'd do:
--- extract the .264 and the .aac streams from the MP4 source
--- .264 file --> (avc2avi) --> .AVI w/ video
--- use AVIMux-GUI for joining the intermediate .AVI and the .AAC stream
Hope this helps.
P.S.: AAC ACM is good and necessary for VirtualDub, but it's not required by WMP, MPC-HC, VLC, or Mplayer. -
Using VirtualDub you can extract the video and audio streams separately using the Direct Stream Copy option. Once you have these streams you can mux them together using something like MKVMerge. I have done this before.
-
Last edited by bat999; 5th Aug 2012 at 09:11.
-
Be aware that the 32 bit and 64 bit A/V systems in Windows are completely separate. 32 bit players require 32 bit codecs, 64 bit players require 64 bit codes.
Also, most media players will use DirectShow for all their A/V dcoding, not VFW/ACM. So they may not be able to use VFW/ACM decoders.
Similar Threads
-
Convert MKV to MP4 (Lossless) using MKVExtractGUI + MyMP4Box GUI
By ilimitus in forum Video ConversionReplies: 6Last Post: 4th Feb 2016, 12:17 -
How to convert any video to AVI or MP4 or MKV with burned in subtitles
By Baldrick in forum User guidesReplies: 42Last Post: 19th Nov 2015, 05:41 -
Convert mp4 to lossless avi?
By vampypiano in forum Video ConversionReplies: 2Last Post: 30th Jan 2012, 05:00 -
How to convert uncompressed video to lossless HD
By Freeloader in forum Newbie / General discussionsReplies: 1Last Post: 12th Jun 2010, 11:59 -
How to convert AVI to MP4 using H.264 encoder without losing video quality
By VidHunter in forum MacReplies: 0Last Post: 21st Dec 2007, 01:04