How to merge video from WMV file plus audio from two MP4 video files into a third MP4 file and retain stereo...

Why aren't there more gauls like Obelix?

Is divide-by-zero a security vulnerability?

Sundering Titan and basic normal lands and snow lands

Learning to quickly identify valid fingering for piano?

Is there a math equivalent to the conditional ternary operator?

Split a number into equal parts given the number of parts

What is "desert glass" and what does it do to the PCs?

What is better: yes / no radio, or simple checkbox?

I can't die. Who am I?

Does the US political system, in principle, allow for a no-party system?

PTIJ: Mouthful of Mitzvos

Convert an array of objects to array of the objects' values

Should I use HTTPS on a domain that will only be used for redirection?

What does it mean when I add a new variable to my linear model and the R^2 stays the same?

Practical reasons to have both a large police force and bounty hunting network?

Are angels creatures (Mark 16:15) and can they repent (Rev 2:5 and Rom 8:21)

How spaceships determine each other's mass in space?

Affine transformation of circular arc in 3D

Why are special aircraft used for the carriers in the United States Navy?

3.5% Interest Student Loan or use all of my savings on Tuition?

An Undercover Army

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

How do you make a gun that shoots melee weapons and/or swords?

The past tense for the quoting particle って



How to merge video from WMV file plus audio from two MP4 video files into a third MP4 file and retain stereo in the resulting MP4?


Trying to encode multiple audio files and map them to specific channels with FFmpegExtracting audio from MP4 video into MP3Merge two audio channels (stereo) into one (mono) on GSM6.10 using FFMPEGAdd background music at specific time period in mp3 files using ffmpegMerge two audio and one video when reecondingFFMPEG is doubling audio length when extracting from videoHow to merge two 4 channel audio into a single 2 channel outputHow to select the left audio channel with ffmpeg and downmix to mono?FFMPEG Cutting multiple audio for specific durations and merging with video at specific timeffmpeg used to extract audio track, video track and then merge them, produces smaller mp4Audio Lost in FFMpeg Picture in Picture Conversion













2















I'm currently using this FFmpeg command to create an MP4 video from WMV video, to be a component of a mosaic file from multiple MP4's; duration of this video is about 30 seconds:



ffmpeg -i TFootpFA.wmv -vf "crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706" -b:v 3M TFootpFA.mp4


I want to adjust to take audio from two other video files (which both have either mono or left/right stereo audio), and use their audio as the audio for the final MP4 file as follows; calling these files audioL.mp4 and audioR.mp4):




  • I would like to create that MP4 with stereo audio.

  • The audio from audioL.mp4 will be the left channel.

  • The audio from audioR.mp4 will be the right channel.

  • Each channel should have its audio combined/downmixed into one channel if that audio is stereo.


The duration of all three files is the same (within a few frames), but I want the target duration to be strictly that of the main WMV file I'm already using, TFootpFA.wmv.



What parameters can I use to achieve this?





EDIT: After originally posting this question, I found this other Super User question that seems to be asking the same thing, and that arrives at this command “Trying to encode multiple audio files and map them to specific channels with FFmpeg”:



 ffmpeg -i video.mov -i audio1.wav -i audio2.wav -filter_complex
"[1:a][2:a]amerge=inputs=2,pan=stereo|c0<c0+c1|c1<c2+c3,apad[aout]"
-map 0:v -map "[aout]" -shortest output.mp3


While this command has its output as an MP3 file rather than a video file, is it possible to use these settings for the FFmpeg command I already have?





EDIT: FWIW, I discovered that the command line I was originally using takes stereo audio in the source WMV file, and produces mono audio in the resulting MP4 file. I tried various filters to make the resulting MP4 file retain the stereo audio of the original WMV file, but nothing I tried worked. How would I accomplish this?





EDIT: I tried the method Gyan has posted in his answer:



ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



Unfortunately, the result was FFmpeg got stuck on frame=1 endlessly, while its “time” setting racked up over 3 hours in a matter of minutes of execution, until I terminated it. The final file was nonfunctional, although it did indeed report a length of over 3 hours.



As it happens, getting stuck on frame=1 is the same as what happened to me before when I tried to use a WMV file in a -filter_complex operation, as described in a question I asked over a year ago here on the Video Stack Exchange.



At that time, I settled on a workaround where I converted the WMV files to MP4 files before using them to create a “video mosaic” with -filter_complex. That is, in fact, what my original command line for this question was an example of.



After this current failure with a WMV file, I tried Gyan's method with an MP4 file instead.



Now, I mentioned earlier here that all my files have the same duration; short clips that are around 30 seconds. Gyan’s command with an MP4 file did avoid getting stuck on frame=1, but after its time got to about 30 seconds, instead of completing, it got stuck on frame=900 and then quickly racked up its own lengthy time value (stating over an hour before I terminated it). The resulting file played for about 30 seconds, and then got stuck again. This is as far as I got with this.



In the meantime, I searched around for alternative strategies. I didn’t find anything that actually worked for me, but I tried something I devised based on clues I picked up on the way.



I fell back on the lengthier approach of extracting the audio from my two audio-source video files (both of which turned out to be mono audio, I found out) into MP3 files, and then combining these MP3 files’ audio data into a stereo MP3 file with this command:



ffmpeg -i audioL.mp3 -i audioR.mp3 -filter_complex "join=map=0.0-FL|1.0-FR" TwoSound.mp3


It ran okay until it got to about 21 seconds out of 30 seconds, and then FFmpeg crashed.



However, the resulting file was at least a functional stereo MP3 file of 21 seconds duration of something that worked.



I then decided to go back and re-create TFootpFA.wmv with this new file as its audio track, using Windows Live Movie Maker, where I had created the WMV file in the first place.



As the sound itself was just sound effects of a very generalized nature, I applied the new 21-second audio file to the video to be produced, and then added 9 seconds of a second iteration of the audio file, to make the full 30 seconds the video needed. This worked fine, and I now had my file TFootpFA.wmv already incorporating my desired stereo audio (or a satisfactory approximation thereof), and went to carry out my original command line to obtain TFootpFA.mp4 with the desired stereo audio.



But that's where I hit my latest snag: With my original command, the resulting MP4 had the audio reduced to mono! Apparently my conversion-to-MP4 method has always had that result; I just never checked into that before.



So then I went and tried various FFmpeg filters to try and insure that the resulting MP4 file retained the stereo nature of the WMV source, but nothing has worked: the MP4 file always comes out mono.



So I end with the question:



Does anyone know how I can induce FFmpeg to have the finished MP4 file retain the stereo audio of the WMV source?










share|improve this question









New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Cleaned up this question. The reality is while I believe I condensed it, I still see this question as a valid question that asks too much of the community to support. At the end of the day, one question morphed into new question and then even newer info based on an answer that still did not solve the issue. Phew! The way I am reading this is simply: “How to merge audio from two WMV video files into a third MP4 file and still retain the WMV audio as well?” I edited only as much as I feel I can do. Bu encourage the original poster to review and condense further. Good question but too long.

    – JakeGould
    23 hours ago
















2















I'm currently using this FFmpeg command to create an MP4 video from WMV video, to be a component of a mosaic file from multiple MP4's; duration of this video is about 30 seconds:



ffmpeg -i TFootpFA.wmv -vf "crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706" -b:v 3M TFootpFA.mp4


I want to adjust to take audio from two other video files (which both have either mono or left/right stereo audio), and use their audio as the audio for the final MP4 file as follows; calling these files audioL.mp4 and audioR.mp4):




  • I would like to create that MP4 with stereo audio.

  • The audio from audioL.mp4 will be the left channel.

  • The audio from audioR.mp4 will be the right channel.

  • Each channel should have its audio combined/downmixed into one channel if that audio is stereo.


The duration of all three files is the same (within a few frames), but I want the target duration to be strictly that of the main WMV file I'm already using, TFootpFA.wmv.



What parameters can I use to achieve this?





EDIT: After originally posting this question, I found this other Super User question that seems to be asking the same thing, and that arrives at this command “Trying to encode multiple audio files and map them to specific channels with FFmpeg”:



 ffmpeg -i video.mov -i audio1.wav -i audio2.wav -filter_complex
"[1:a][2:a]amerge=inputs=2,pan=stereo|c0<c0+c1|c1<c2+c3,apad[aout]"
-map 0:v -map "[aout]" -shortest output.mp3


While this command has its output as an MP3 file rather than a video file, is it possible to use these settings for the FFmpeg command I already have?





EDIT: FWIW, I discovered that the command line I was originally using takes stereo audio in the source WMV file, and produces mono audio in the resulting MP4 file. I tried various filters to make the resulting MP4 file retain the stereo audio of the original WMV file, but nothing I tried worked. How would I accomplish this?





EDIT: I tried the method Gyan has posted in his answer:



ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



Unfortunately, the result was FFmpeg got stuck on frame=1 endlessly, while its “time” setting racked up over 3 hours in a matter of minutes of execution, until I terminated it. The final file was nonfunctional, although it did indeed report a length of over 3 hours.



As it happens, getting stuck on frame=1 is the same as what happened to me before when I tried to use a WMV file in a -filter_complex operation, as described in a question I asked over a year ago here on the Video Stack Exchange.



At that time, I settled on a workaround where I converted the WMV files to MP4 files before using them to create a “video mosaic” with -filter_complex. That is, in fact, what my original command line for this question was an example of.



After this current failure with a WMV file, I tried Gyan's method with an MP4 file instead.



Now, I mentioned earlier here that all my files have the same duration; short clips that are around 30 seconds. Gyan’s command with an MP4 file did avoid getting stuck on frame=1, but after its time got to about 30 seconds, instead of completing, it got stuck on frame=900 and then quickly racked up its own lengthy time value (stating over an hour before I terminated it). The resulting file played for about 30 seconds, and then got stuck again. This is as far as I got with this.



In the meantime, I searched around for alternative strategies. I didn’t find anything that actually worked for me, but I tried something I devised based on clues I picked up on the way.



I fell back on the lengthier approach of extracting the audio from my two audio-source video files (both of which turned out to be mono audio, I found out) into MP3 files, and then combining these MP3 files’ audio data into a stereo MP3 file with this command:



ffmpeg -i audioL.mp3 -i audioR.mp3 -filter_complex "join=map=0.0-FL|1.0-FR" TwoSound.mp3


It ran okay until it got to about 21 seconds out of 30 seconds, and then FFmpeg crashed.



However, the resulting file was at least a functional stereo MP3 file of 21 seconds duration of something that worked.



I then decided to go back and re-create TFootpFA.wmv with this new file as its audio track, using Windows Live Movie Maker, where I had created the WMV file in the first place.



As the sound itself was just sound effects of a very generalized nature, I applied the new 21-second audio file to the video to be produced, and then added 9 seconds of a second iteration of the audio file, to make the full 30 seconds the video needed. This worked fine, and I now had my file TFootpFA.wmv already incorporating my desired stereo audio (or a satisfactory approximation thereof), and went to carry out my original command line to obtain TFootpFA.mp4 with the desired stereo audio.



But that's where I hit my latest snag: With my original command, the resulting MP4 had the audio reduced to mono! Apparently my conversion-to-MP4 method has always had that result; I just never checked into that before.



So then I went and tried various FFmpeg filters to try and insure that the resulting MP4 file retained the stereo nature of the WMV source, but nothing has worked: the MP4 file always comes out mono.



So I end with the question:



Does anyone know how I can induce FFmpeg to have the finished MP4 file retain the stereo audio of the WMV source?










share|improve this question









New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Cleaned up this question. The reality is while I believe I condensed it, I still see this question as a valid question that asks too much of the community to support. At the end of the day, one question morphed into new question and then even newer info based on an answer that still did not solve the issue. Phew! The way I am reading this is simply: “How to merge audio from two WMV video files into a third MP4 file and still retain the WMV audio as well?” I edited only as much as I feel I can do. Bu encourage the original poster to review and condense further. Good question but too long.

    – JakeGould
    23 hours ago














2












2








2








I'm currently using this FFmpeg command to create an MP4 video from WMV video, to be a component of a mosaic file from multiple MP4's; duration of this video is about 30 seconds:



ffmpeg -i TFootpFA.wmv -vf "crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706" -b:v 3M TFootpFA.mp4


I want to adjust to take audio from two other video files (which both have either mono or left/right stereo audio), and use their audio as the audio for the final MP4 file as follows; calling these files audioL.mp4 and audioR.mp4):




  • I would like to create that MP4 with stereo audio.

  • The audio from audioL.mp4 will be the left channel.

  • The audio from audioR.mp4 will be the right channel.

  • Each channel should have its audio combined/downmixed into one channel if that audio is stereo.


The duration of all three files is the same (within a few frames), but I want the target duration to be strictly that of the main WMV file I'm already using, TFootpFA.wmv.



What parameters can I use to achieve this?





EDIT: After originally posting this question, I found this other Super User question that seems to be asking the same thing, and that arrives at this command “Trying to encode multiple audio files and map them to specific channels with FFmpeg”:



 ffmpeg -i video.mov -i audio1.wav -i audio2.wav -filter_complex
"[1:a][2:a]amerge=inputs=2,pan=stereo|c0<c0+c1|c1<c2+c3,apad[aout]"
-map 0:v -map "[aout]" -shortest output.mp3


While this command has its output as an MP3 file rather than a video file, is it possible to use these settings for the FFmpeg command I already have?





EDIT: FWIW, I discovered that the command line I was originally using takes stereo audio in the source WMV file, and produces mono audio in the resulting MP4 file. I tried various filters to make the resulting MP4 file retain the stereo audio of the original WMV file, but nothing I tried worked. How would I accomplish this?





EDIT: I tried the method Gyan has posted in his answer:



ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



Unfortunately, the result was FFmpeg got stuck on frame=1 endlessly, while its “time” setting racked up over 3 hours in a matter of minutes of execution, until I terminated it. The final file was nonfunctional, although it did indeed report a length of over 3 hours.



As it happens, getting stuck on frame=1 is the same as what happened to me before when I tried to use a WMV file in a -filter_complex operation, as described in a question I asked over a year ago here on the Video Stack Exchange.



At that time, I settled on a workaround where I converted the WMV files to MP4 files before using them to create a “video mosaic” with -filter_complex. That is, in fact, what my original command line for this question was an example of.



After this current failure with a WMV file, I tried Gyan's method with an MP4 file instead.



Now, I mentioned earlier here that all my files have the same duration; short clips that are around 30 seconds. Gyan’s command with an MP4 file did avoid getting stuck on frame=1, but after its time got to about 30 seconds, instead of completing, it got stuck on frame=900 and then quickly racked up its own lengthy time value (stating over an hour before I terminated it). The resulting file played for about 30 seconds, and then got stuck again. This is as far as I got with this.



In the meantime, I searched around for alternative strategies. I didn’t find anything that actually worked for me, but I tried something I devised based on clues I picked up on the way.



I fell back on the lengthier approach of extracting the audio from my two audio-source video files (both of which turned out to be mono audio, I found out) into MP3 files, and then combining these MP3 files’ audio data into a stereo MP3 file with this command:



ffmpeg -i audioL.mp3 -i audioR.mp3 -filter_complex "join=map=0.0-FL|1.0-FR" TwoSound.mp3


It ran okay until it got to about 21 seconds out of 30 seconds, and then FFmpeg crashed.



However, the resulting file was at least a functional stereo MP3 file of 21 seconds duration of something that worked.



I then decided to go back and re-create TFootpFA.wmv with this new file as its audio track, using Windows Live Movie Maker, where I had created the WMV file in the first place.



As the sound itself was just sound effects of a very generalized nature, I applied the new 21-second audio file to the video to be produced, and then added 9 seconds of a second iteration of the audio file, to make the full 30 seconds the video needed. This worked fine, and I now had my file TFootpFA.wmv already incorporating my desired stereo audio (or a satisfactory approximation thereof), and went to carry out my original command line to obtain TFootpFA.mp4 with the desired stereo audio.



But that's where I hit my latest snag: With my original command, the resulting MP4 had the audio reduced to mono! Apparently my conversion-to-MP4 method has always had that result; I just never checked into that before.



So then I went and tried various FFmpeg filters to try and insure that the resulting MP4 file retained the stereo nature of the WMV source, but nothing has worked: the MP4 file always comes out mono.



So I end with the question:



Does anyone know how I can induce FFmpeg to have the finished MP4 file retain the stereo audio of the WMV source?










share|improve this question









New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm currently using this FFmpeg command to create an MP4 video from WMV video, to be a component of a mosaic file from multiple MP4's; duration of this video is about 30 seconds:



ffmpeg -i TFootpFA.wmv -vf "crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706" -b:v 3M TFootpFA.mp4


I want to adjust to take audio from two other video files (which both have either mono or left/right stereo audio), and use their audio as the audio for the final MP4 file as follows; calling these files audioL.mp4 and audioR.mp4):




  • I would like to create that MP4 with stereo audio.

  • The audio from audioL.mp4 will be the left channel.

  • The audio from audioR.mp4 will be the right channel.

  • Each channel should have its audio combined/downmixed into one channel if that audio is stereo.


The duration of all three files is the same (within a few frames), but I want the target duration to be strictly that of the main WMV file I'm already using, TFootpFA.wmv.



What parameters can I use to achieve this?





EDIT: After originally posting this question, I found this other Super User question that seems to be asking the same thing, and that arrives at this command “Trying to encode multiple audio files and map them to specific channels with FFmpeg”:



 ffmpeg -i video.mov -i audio1.wav -i audio2.wav -filter_complex
"[1:a][2:a]amerge=inputs=2,pan=stereo|c0<c0+c1|c1<c2+c3,apad[aout]"
-map 0:v -map "[aout]" -shortest output.mp3


While this command has its output as an MP3 file rather than a video file, is it possible to use these settings for the FFmpeg command I already have?





EDIT: FWIW, I discovered that the command line I was originally using takes stereo audio in the source WMV file, and produces mono audio in the resulting MP4 file. I tried various filters to make the resulting MP4 file retain the stereo audio of the original WMV file, but nothing I tried worked. How would I accomplish this?





EDIT: I tried the method Gyan has posted in his answer:



ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



Unfortunately, the result was FFmpeg got stuck on frame=1 endlessly, while its “time” setting racked up over 3 hours in a matter of minutes of execution, until I terminated it. The final file was nonfunctional, although it did indeed report a length of over 3 hours.



As it happens, getting stuck on frame=1 is the same as what happened to me before when I tried to use a WMV file in a -filter_complex operation, as described in a question I asked over a year ago here on the Video Stack Exchange.



At that time, I settled on a workaround where I converted the WMV files to MP4 files before using them to create a “video mosaic” with -filter_complex. That is, in fact, what my original command line for this question was an example of.



After this current failure with a WMV file, I tried Gyan's method with an MP4 file instead.



Now, I mentioned earlier here that all my files have the same duration; short clips that are around 30 seconds. Gyan’s command with an MP4 file did avoid getting stuck on frame=1, but after its time got to about 30 seconds, instead of completing, it got stuck on frame=900 and then quickly racked up its own lengthy time value (stating over an hour before I terminated it). The resulting file played for about 30 seconds, and then got stuck again. This is as far as I got with this.



In the meantime, I searched around for alternative strategies. I didn’t find anything that actually worked for me, but I tried something I devised based on clues I picked up on the way.



I fell back on the lengthier approach of extracting the audio from my two audio-source video files (both of which turned out to be mono audio, I found out) into MP3 files, and then combining these MP3 files’ audio data into a stereo MP3 file with this command:



ffmpeg -i audioL.mp3 -i audioR.mp3 -filter_complex "join=map=0.0-FL|1.0-FR" TwoSound.mp3


It ran okay until it got to about 21 seconds out of 30 seconds, and then FFmpeg crashed.



However, the resulting file was at least a functional stereo MP3 file of 21 seconds duration of something that worked.



I then decided to go back and re-create TFootpFA.wmv with this new file as its audio track, using Windows Live Movie Maker, where I had created the WMV file in the first place.



As the sound itself was just sound effects of a very generalized nature, I applied the new 21-second audio file to the video to be produced, and then added 9 seconds of a second iteration of the audio file, to make the full 30 seconds the video needed. This worked fine, and I now had my file TFootpFA.wmv already incorporating my desired stereo audio (or a satisfactory approximation thereof), and went to carry out my original command line to obtain TFootpFA.mp4 with the desired stereo audio.



But that's where I hit my latest snag: With my original command, the resulting MP4 had the audio reduced to mono! Apparently my conversion-to-MP4 method has always had that result; I just never checked into that before.



So then I went and tried various FFmpeg filters to try and insure that the resulting MP4 file retained the stereo nature of the WMV source, but nothing has worked: the MP4 file always comes out mono.



So I end with the question:



Does anyone know how I can induce FFmpeg to have the finished MP4 file retain the stereo audio of the WMV source?







command-line audio ffmpeg






share|improve this question









New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 18 hours ago







Alan Rat













New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 3 at 17:05









Alan RatAlan Rat

112




112




New contributor




Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Alan Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Cleaned up this question. The reality is while I believe I condensed it, I still see this question as a valid question that asks too much of the community to support. At the end of the day, one question morphed into new question and then even newer info based on an answer that still did not solve the issue. Phew! The way I am reading this is simply: “How to merge audio from two WMV video files into a third MP4 file and still retain the WMV audio as well?” I edited only as much as I feel I can do. Bu encourage the original poster to review and condense further. Good question but too long.

    – JakeGould
    23 hours ago



















  • Cleaned up this question. The reality is while I believe I condensed it, I still see this question as a valid question that asks too much of the community to support. At the end of the day, one question morphed into new question and then even newer info based on an answer that still did not solve the issue. Phew! The way I am reading this is simply: “How to merge audio from two WMV video files into a third MP4 file and still retain the WMV audio as well?” I edited only as much as I feel I can do. Bu encourage the original poster to review and condense further. Good question but too long.

    – JakeGould
    23 hours ago

















Cleaned up this question. The reality is while I believe I condensed it, I still see this question as a valid question that asks too much of the community to support. At the end of the day, one question morphed into new question and then even newer info based on an answer that still did not solve the issue. Phew! The way I am reading this is simply: “How to merge audio from two WMV video files into a third MP4 file and still retain the WMV audio as well?” I edited only as much as I feel I can do. Bu encourage the original poster to review and condense further. Good question but too long.

– JakeGould
23 hours ago





Cleaned up this question. The reality is while I believe I condensed it, I still see this question as a valid question that asks too much of the community to support. At the end of the day, one question morphed into new question and then even newer info based on an answer that still did not solve the issue. Phew! The way I am reading this is simply: “How to merge audio from two WMV video files into a third MP4 file and still retain the WMV audio as well?” I edited only as much as I feel I can do. Bu encourage the original poster to review and condense further. Good question but too long.

– JakeGould
23 hours ago










1 Answer
1






active

oldest

votes


















2














Use



ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



(As your audio inputs may be mono, the linked answer isn't reliable since it assumes stereo inputs)






share|improve this answer






















    protected by Ramhound 23 hours ago



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Use



    ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



    (As your audio inputs may be mono, the linked answer isn't reliable since it assumes stereo inputs)






    share|improve this answer




























      2














      Use



      ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



      (As your audio inputs may be mono, the linked answer isn't reliable since it assumes stereo inputs)






      share|improve this answer


























        2












        2








        2







        Use



        ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



        (As your audio inputs may be mono, the linked answer isn't reliable since it assumes stereo inputs)






        share|improve this answer













        Use



        ffmpeg -i TFootpFA.wmv -i audioL.mp4 -i audioR.mp4 -filter_complex "[0]crop=1092:788, eq=1.2:.03:gamma_g=.8:gamma_b=.7, scale=1020x706[v];[1]aformat=channel_layouts=mono[l];[2]aformat=channel_layouts=mono[r];[l][r]amerge=2,apad[a]" -map "[v]" -map "[a]" -b:v 3M -shortest TFootpFA.mp4



        (As your audio inputs may be mono, the linked answer isn't reliable since it assumes stereo inputs)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 4 at 4:52









        GyanGyan

        15.4k21846




        15.4k21846

















            protected by Ramhound 23 hours ago



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

            Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

            Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...