Avidemux to combine m2v & mp2 files

Asked by John Rose on 2012-12-29

I was following the instructions at
https://help.ubuntu.com/community/Converting%20DVB-T%20streams%20to%20AVI%20files

The relevant isntructions are:
"Open AVIDemux from Applications> Sound & Video> AVIDemux(GTK+). Click the open button and open the .m2v file created by ProjectX. The video will now appear in the preview pane. Now click Audio> Main Track, and from the dropdown box select "Use External AC3", browse for the audio track created by ProjectX. Click ok to load it in. "

Note that even though my audio file is an mp2, the instructions above say "to select "Use External AC3"". So I did. Result window displayed with title "Failure to open file" containing "Not a wav file?". Is this a bug or are instructions referred to above incorrect?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu avidemux Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-12-31
Last query:
2012-12-31
Last reply:
2012-12-29

Source:
http://my.opera.com/TheNell/blog/2010/06/28/saving-and-editing-mythtv-recordings

sudo apt-get install mjpegtools
mplex -f 8 -o output_file.mpg input1.m2v input2.m2v

Hope that helps

John Rose (johnaaronrose) said : #2

There are two m2v files specified. I only have one. Should the second be the mp2 file? Is this CLI instruction meant to be a replacement for Avidemux?

John Rose (johnaaronrose) said : #3

There are two m2v files specified. I only have one. Should the second be
the mp2 file? Is this CLI instruction meant to be a replacement for
Avidemux?

Regards,
John
01902 331266

On 29/12/12 12:41, actionparsnip wrote:
> Your question #217863 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/217863
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Source:
> http://my.opera.com/TheNell/blog/2010/06/28/saving-and-editing-mythtv-recordings
>
> sudo apt-get install mjpegtools
> mplex -f 8 -o output_file.mpg input1.m2v input2.m2v
>
> Hope that helps
>

Sure, try it

John Rose (johnaaronrose) said : #5

It didn't work. I tried it both ways for input1 & input2:

john@JohnDesktop:~$ mplex -f 8 -o 'Animal Kingdom.mpg' 'Animal Kingdom.m2v' 'Animal Kingdom.mp2'
   INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
**ERROR: [mplex] Unable to open file Animal Kingdom.m2v for reading.

john@JohnDesktop:~$ mplex -f 8 -o 'Animal Kingdom.mpg' 'Animal Kingdom.mp2' 'Animal Kingdom.m2v'
   INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
**ERROR: [mplex] Unable to open file Animal Kingdom.mp2 for reading.
john@JohnDesktop:~$

John Rose (johnaaronrose) said : #6

Apologies. I forgot to cd to my Videos folder! It works. I'll create a GUI to do the equivalent of the mplex command: provided that Gambas3 allows me to pass single quotes to the Exec command, which executes commands.

John Rose (johnaaronrose) said : #7

Thanks actionparsnip, that solved my question.

John Rose (johnaaronrose) said : #8

CombineAV is GUI for above mplex command. It will be automatically downloaded by using:
https://www.dropbox.com/s/nguu17rgifbhimu/combineav.deb