LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2005, 02:21 PM   #1
bjuhn
LQ Newbie
 
Registered: Jan 2005
Distribution: gentoo, slackware, fedora core 4
Posts: 16

Rep: Reputation: 0
convert mpeg transport stream?


hi
i've got a mpeg transport stream data file (according to file) that i need to convert to mpeg sequence v2 program multiplex in order for dvdstyler to accept it.
how can i do that
 
Old 09-23-2005, 11:49 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
My very narrow knowledge in this area translates what you said as:

I have an mpeg TS file that I need to conver to mpeg2, how?

My understanding is that an mpeg TS file IS an mpeg2 file. My guess is your resolution is what's probably holding you back.

You can use mencoder or transcode (or ffmpeg) to resize the file to a DVD standard (720x480 NTSC OR 720x576 PAL). Depending on what you've got installed or want to install, each have their advantages (I'd use mencoder personally). Check the documentation for whichever application you choose for info on resizing.

Cool
 
Old 09-25-2005, 04:25 AM   #3
Arkanoid
LQ Newbie
 
Registered: Mar 2005
Location: Copenhagen, Denmark
Distribution: Gentoo 2005.1, Slackware 10.1
Posts: 12

Rep: Reputation: 0
The problem is, that dvdstyler (a GUI to dvdauthor) won't insert the file, and says "not a valid mpeg file" whenever we try to insert it.
The only difference between this and the rest of the video sequences is, what the command 'file' says:
[arkanoid@arwen Finished]$ file ES03.mpeg
ES03.mpeg: MPEG transport stream data
[arkanoid@arwen Finished]$ file ES04.mpeg
ES04.mpeg: MPEG sequence, v2, program multiplex

If i try to play both files, using mplayer, it says both times that the format is 720x576.

However, according to mplayer, the latter file isn't a mpeg TS file, but a mpeg PS file:
Playing ES03.mpeg.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=68)AUDIO MPA(pid=69) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 50(pid 69), video: 10000002(pid 68)...POS=564
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 7500.0 kbps (937.5 kbyte/s)

Playing ES04.mpeg.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 7500.0 kbps (937.5 kbyte/s)

So I guess I need to convert the file to this PS-version of the mpeg-format. I've tried, using
[arkanoid@arwen Finished]$ mencoder -ovc copy -oac copy -mpegopts format=dvd -o ES03_new.mpeg ES03.mpeg
But that didn't work, since the file is converted to avi-format

Any help on what command to issue, would be much appreciated

Oh, and just to clear that up, bjuhn and I work together on this project
 
Old 09-26-2005, 03:22 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
To do the conversion, you may want to take a look at ProjectX:
http://www.doom9.org/index.html?/Dig...-fullguide.htm

Good Luck!

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer problems. MPEG: no audio stream found. hondaman Linux - Software 0 10-10-2005 10:28 AM
How would I convert WMV to MPEG? db391 Linux - Software 6 11-16-2004 05:17 PM
Convert AVI to MPEG? mrgrieves Linux - Software 1 07-10-2004 03:04 PM
convert avi to mpeg xgreen Linux - Software 7 11-30-2003 09:45 AM
How to convert mpeg file in mpeg-PS or TS hawkgreatelf Linux - Software 1 05-01-2003 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration