LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   which software to convert video files then join them together? (https://www.linuxquestions.org/questions/linux-software-2/which-software-to-convert-video-files-then-join-them-together-4175494914/)

schneidz 02-14-2014 07:59 PM

that sux... it seems like mencoder is unable to output aac audio. i saw this on a google search result:
Code:

mencoder -oac faac -faacopts quality=800 -ovc copy -o WPC.56.1-2.avi WPC.56.S02E01.m4v WPC.56.S02E02.m4v

Shadow_7 02-14-2014 08:12 PM

If they're all the same resolution and same framerate, you can use avconv or ffmpeg to output rawvideo, then cat the many outputs to one big file (in sequence) and encode that to a single video. All things being equal of course.

Audio may not be as simple as you might need to fudge a bit. 1601.6 samples per frame at 30 fps (30000/1001) at 48kHz. You'll need to account for full audio for all frames, any failure means audio sync issues.

And any variations in frame rate makes things infinitely more complex to travel that very manual road. KDENLive, lives, cinelerra, and many other more GUI orientated methods to "edit" videos to a product. Probably with a significantly smaller learning curve if you have the hardware to handle it. Since they'll do the math for you most times.

harryhaller 02-14-2014 08:52 PM

Quote:

Originally Posted by schneidz (Post 5117970)
that sux... it seems like mencoder is unable to output aac audio. i saw this on a google search result:
Code:

mencoder -oac faac -faacopts quality=800 -ovc copy -o WPC.56.1-2.avi WPC.56.S02E01.m4v WPC.56.S02E02.m4v

Try:

Code:

-oac pcm

Shadowmeph 02-14-2014 09:17 PM

Quote:

Originally Posted by harryhaller (Post 5117979)
Try:

Code:

-oac pcm

that is what I did it orginally and it does work but the size of the avi file is almost twice as large as a avi if I could leave the file mv4 it would not be so large


All times are GMT -5. The time now is 03:57 AM.