Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 0
convert mpeg transport stream?

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
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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.

Old 09-25-2005, 04:25 AM   #3
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.
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
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
To do the conversion, you may want to take a look at ProjectX:

Good Luck!



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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 AM.

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