Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: johnaaronrose on January 28, 2013, 09:37:31 AM

Title: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 09:37:31 AM
avidemux 2.6.1 allowed me to append the second part of a movie to the first part,  and to save the full movie under a different name. However, ProjectX did not produce an audio (e.g. mp2) file though it did produce the video file (.m2v). BTW ProjectX worked OK when doing the parts separately.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 11:03:22 AM
.ts / .trp should be handled ok by avidemux, if these are the source videos you use.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 12:35:21 PM
All the .ts files that I used were created by recording on a TV with a tuner to a memory stick which I then transferred to a computer running Ubuntu 32 bit Precise.

Both input files (2 parts of a movie) were .ts. Below is an extract from the log of ProjectX after avidemux 2.6.1 was used to append a .ts file to another .ts file before the result was saved:
summary of created media files:
.Video (m2v):   256460 Frames   02:50:58.400      '/home/john/Temporary/The Girl with the Dragon Tattoo.new.m2v'
=> 3,597,923,945 bytes written...

Below is an extract from the log of ProjectX when avidemux is not used and a .ts file (a full movie) is input to ProjectX:
summary of created media files:
.Video (m2v):   210343 Frames   02:20:13.720      '/home/john/Temporary/X.m2v'
Audio 00 (mp2):   350571 Frames   02:20:13.704   0-1-7-0   '/home/john/Temporary/X.mp2'
SubPicture 00:   1536 subpictures      '/home/john/Temporary/X.sup'
=> 1,799,192,877 bytes written...

As you can see, the first log extract shows that no audio (.mp2) file is created whereas the second log extract shows that an .mp2 file is created. One interesting point (from the first case) is that the .ts file produced by avidemux is 3.6GB whereas the first part's .ts is 4.26GB and the second part's .ts is .2GB i.e. the .ts file produced by avidemux is much smaller than expected.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 01:23:47 PM
Can you upload 2 original mpeg-ts recordings from the same channel, around 5 seconds in duration each @ rapidshare.com or similar and provide a download link to it? See if I can reproduce the issue here on 2.6.1 r8447.
The recording is this from DVB-S/S2/T/T2/C/C2?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 02:02:11 PM
First segment is a.ts at:
https://www.box.com/files/0/f/0/1/f_5813602646 (https://www.box.com/files/0/f/0/1/f_5813602646)

Second segment is b.ts at:
https://www.box.com/files/0/f/0/1/f_5813607644 (https://www.box.com/files/0/f/0/1/f_5813607644)

I just used avidemux 2.6.1 on both these files followed by appending b.ts to a.ts and saving to c.ts. Result was that a.ts & b.ts both created .m2v & .mp2 (as well as other files e.g. .sup) whereas c.ts only created a .new..m2v file.

I recorder from Film4 (a FreeView, i.e.terrestrial, channel). I assume that means that it is DVB-T?

PS Correction: I'm using Avidemux 2.6.0, installed from
deb http://mirror.informatik.uni-mannheim.de/pub/mirrors/getdeb/ubuntu/ precise-getdeb apps

Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 02:14:42 PM
Can't download:
QuotePlease log in to access Box

Use the login form to the right to access your files. Don't have a Box account yet? Sign up for free.
Yes that is dvb-t. Those debs are for stable and no nightly builds. Made already inquiry about nightly precise32 being empty. Hope this solved soon. As I'm on Precise (64-bit). What box are you making recordings on? Are these straight .ts or a sub-format like .trp, .001, ... , ....

PS.: don't let avidemux append .ts files. When asked: reply no and use [Ctrl][A] to append manual.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 02:29:29 PM
Apologies. I gave you the wrong URLs. Correct ones are:
https://www.box.com/s/t233m2fq8g7fkmn1todg (https://www.box.com/s/t233m2fq8g7fkmn1todg)
https://www.box.com/s/63uqng0ibdvgqjm364hc (https://www.box.com/s/63uqng0ibdvgqjm364hc)

TV is a Kogan 32" with tuner & integral DVD player: approx 6 months old. Manual & Kogan's website don't give any info about whether straight .ts or sub-format.

I don't understand about not appending a .ts file. I've opened a.ts. What do I do then to 'add' b.ts to end of it?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 03:07:35 PM
Load part one with open video in avidemux (https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Abutton_open-qt.png&hash=ef6876eefa7b1476a8178253aa62f94cb46cbbc5)
Load part two from keyboard: press simultaneous both keys [Control] [A].
(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.atlaspm.com%2Fwp-content%2Fuploads%2F2012%2F08%2FSelectAllCells_Ctrl_A_A.png&hash=376745e6049b8aae85b19e78266e5fbb67086e30)

Best practice to edit/cut mpeg-ts video: load all parts sequential
move to 1st point where you want to cut out with slider. Select cutting point only using up/down keyboard arrow (this is important).
mark start of cutout with (https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Amarka-qt.png&hash=189d291fddf3d351bf65fd648eb8d5cc627347e2)
proceed to end of block you want to cut out and select end point only using up/down keyboard arrow (this is important)
mark this end with (https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Amarkb-qt.png&hash=68fc05f09e92ec121ad3d453fb6056cc78867ac7)
You can now cut out this block with simultaneous keypress [Control][X]
Proceed now to next block you want to cut out and repeat above procedure.
When finished cutting out unwanted parts, you can save the video with Copy setting for both video and audio, Output format: Mpeg TS Muxer (ff)

The b.ts seems to have some issues at the start.
I have joined a and b and uploaded the result c.ts here: http://rapidshare.com/files/1720887774/c.ts Audio is present in c.ts.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 04:01:39 PM
Pressing Ctrl & A simultaneously does nothing after a.ts opened. Pressing Ctrl & A & Shift simultaneously does nothing. Pressing Ctrl & A & CapsLock simultaneously does nothing. Is this because of version of Avidemux I'm using (namely 2.6.0 from a getdeb mirror)?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 04:12:56 PM
Weird: Main Menu: File should show the combinations for append and other stuff. You do use the QT version and not Gtk?
Gtk: (https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Atoolbar-gtk.png&hash=b860b2551613671100cb9adc27cd4fbf80dbbb86)

Qt: (https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fwww.avidemux.org%2FadmWiki%2Flib%2Fexe%2Ffetch.php%3Fmedia%3Dusing%3Atoolbar-qt.png&hash=36949a894d22c7e494fb33d2d17dc423ea60db07)

You did install these .debs in this order?:
- avidemux3-core-2.6.1
- avidemux3-plugins-COMMON-2.6.1
- avidemux3-qt4-2.6.1
- avidemux3-plugins-QT4-2.6.1

and call from terminal: /usr/bin/avidemux3_qt4
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 04:24:11 PM
I installed using Synaptic Package Manager using instructions at
http://handytutorial.com/install-avidemux-2-6-in-ubuntu-12-10-12-04/ (http://handytutorial.com/install-avidemux-2-6-in-ubuntu-12-10-12-04/)
Only sudo apt-get install was for avidemux2.6. I just looked and this resulted in using the avidemux2.6-plugins-gtk and no packages with qt in their names.

The repo for the above is at
http://mirror.informatik.uni-mannheim.de/pub/mirrors/getdeb/ubuntu/

Please tell where I can download the debs that you refer to. They're not on Ubuntu's standard repos or the above getdeb one.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 04:33:17 PM
download from here: http://avidemux.org/nightly/precise32/ just made available special for you. Install in order as mentioned above. When downloaded double click each and allow software center to install.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 28, 2013, 04:54:17 PM
Thanks for the instructions. They worked. I feel like I'm going back in time to invoke apps from the Terminal! I'll now try to create a Unity Launcher for this app: I'm new to Precise having just switched from Lucid.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on January 28, 2013, 05:15:38 PM
Only thing i figured out: How to create launcher on your Desktop (http://www.avidemux.org/smf/index.php/topic,9835.msg53453.html#msg53453). Once created you can drag drop this on launcher bar on the left.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 30, 2013, 12:50:33 PM
Thanks for that Jan. I've written a GUI for creating, modifying, validating, installing & uninstalling Desktop Configuration Files in Ubuntu. It's written in Gambas3. It should pull down the required Gambas3 components (if there's a version/dependency problem on installation, you may need to add nemh's Gambas3 ppa (see https://code.launchpad.net/~nemh/+archive/gambas3 (https://code.launchpad.net/~nemh/+archive/gambas3)) to your Software Sources when installing it by use of Software Centre or gdebi after downloading it from the link below:
http://dl.dropbox.com/u/3928731/maintaindesktopconfigurationfiles.deb (http://dl.dropbox.com/u/3928731/maintaindesktopconfigurationfiles.deb)
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 30, 2013, 03:22:02 PM
One point that I forgot to mention about avidemux: when the Calculator icon is clicked, nothing seems to happen. The reason that I clicked the Calculator icon is that I was following instructions from Ubuntu re creating an .avi containing an MPEG4-AVC & MP3 (from  a.ts). The instructions state:
Now click the Calculator button at the top of the main screen. Leave the format as AVI. Change the medium to custom and enter your desired final filesize in the text box. 350mb is typical for a 1 hour tv program (with ads removed so 45 odd minutes actual playtime). Now click apply. Take note of the number calculated for Video Size (MB). Close the calculator. Now click the configure button for video. Use the dropdown to select "Two Pass - Video Size". Change the number there to the Video size number you got from the calculator. Click Apply.

The instructions are at
https://help.ubuntu.com/community/Converting%20DVB-T%20streams%20to%20AVI%20files (https://help.ubuntu.com/community/Converting%20DVB-T%20streams%20to%20AVI%20files)
though they were last edited in 2009.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 30, 2013, 05:07:25 PM
I've just tried the append that I referred to in Reply #2. I'm still getting the same problem - namely after appending the 2nd file after the 1st files (without doing any editing afterwards) & saving the result under a different name as a .ts and inputting this new file to ProjectX, ProjectX creates a .new.m2v file but no .mp2 file. If I run either of the original .ts files into ProjectX, then I get both a .m2v & .mp2 file. So the problem must be with Avidemux. Any suggestions?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: mean on January 31, 2013, 07:38:53 AM
Why do you need projectX ?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 31, 2013, 09:00:34 AM
@mean
To demux video & audio so that they can be muxed together with mplex. The reason for this is so that video & audio are kept in sync when using avidemux or handbrake to 'convert' .ts to mpg.
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: mean on January 31, 2013, 02:34:07 PM
Did you try with 2.6.x ?
They will be in sync
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on January 31, 2013, 07:07:17 PM
@mean
Thanks for the suggestion of just using avidemux to convert .ts to .mpg. It kept audio & video in sync.

I've found that on large .ts files if I append one to the other to create a new .ts, then ProjectX will not create a .m2v & .mp2 file but will only create a .new.m2v file - even though when ProjectX is run on each .ts file separately it created a .m2v & .mp2 file for each one.

Is there any word on when Canonical will put avidemux 2.6 into the Ubuntu Precise repos?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: johnaaronrose on February 07, 2013, 10:35:11 AM
When will version 2.6 become stable?
Title: Re: No audio file produced by ProjectX from .ts produced by 2.6.1
Post by: Jan Gruuthuse on February 07, 2013, 06:44:46 PM
News: http://avidemux.berlios.de/news.html. My understanding 2.6.0 was released, 2.6.1 now ßeta? I could be wrong with this interpretation?