Author Topic: No audio file produced by ProjectX from .ts produced by 2.6.1  (Read 12671 times)

johnaaronrose

  • Newbie
  • *
  • Posts: 24
No audio file produced by ProjectX from .ts produced by 2.6.1
« 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.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #1 on: January 28, 2013, 11:03:22 AM »
.ts / .trp should be handled ok by avidemux, if these are the source videos you use.

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #2 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.
 

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #3 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?

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #4 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

Second segment is b.ts at:
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


Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #5 on: January 28, 2013, 02:14:42 PM »
Can't download:
Quote
Please 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.
« Last Edit: January 28, 2013, 02:20:49 PM by Jan Gruuthuse »

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #6 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/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?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #7 on: January 28, 2013, 03:07:35 PM »
Load part one with open video in avidemux
Load part two from keyboard: press simultaneous both keys [Control] [A].


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
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
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.
« Last Edit: January 28, 2013, 03:10:50 PM by Jan Gruuthuse »

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #8 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)?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #9 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:

Qt:

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:
Code: [Select]
/usr/bin/avidemux3_qt4
« Last Edit: January 28, 2013, 04:15:49 PM by Jan Gruuthuse »

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #10 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/
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.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #11 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.

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #12 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.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #13 on: January 28, 2013, 05:15:38 PM »
Only thing i figured out: How to create launcher on your Desktop. Once created you can drag drop this on launcher bar on the left.

johnaaronrose

  • Newbie
  • *
  • Posts: 24
Re: No audio file produced by ProjectX from .ts produced by 2.6.1
« Reply #14 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) 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