Page 1 of 2

TS to MPG Convertor: Dry-run for DD's new MPG routines

Posted: Tue Jun 17, 2008 1:43 pm
by rel
MPGCONV: TS to MPG command-line conversion utility

This tool utilizes the new ts-to-mpg conversion engine developed for DVB Dream.
To convert a TS file, simply enter the file name as parameter.


DETAILS:
---------------------

TS to MPEG-PS Convertor v1.1 (c) www.dvbdream.org, Rel

USAGE:
mpgconv [-fi <input file>] [-fi <output file>] [-v <int>] [-a <int>] [-ac3]
mpgconv <input file> (automatically detects v/a pids and audio type)

-fi Input file name (*.ts)
-fo Output file name (*.mpg)
-v Video pid (-1 if not available)
-a Audio pid (-1 if not available)
-ac3 Specifies that audio is an AC3 stream
-pids Lists the pids in the file



EXAMPLES:
mpgconv file1.ts (automatic pids)
mpgconv "file june 12.ts" (automatic pids, long file name with spaces)
mpgconv abc.ts -v 201 -a 202 (manual pids)
mpgconv test.ts -v 524 -a 562 -ac3 (when TS file includes AC3 sound)
mpgconv "file1.ts" -pids (lists all pids in the file)

Download: http://www.dvbdream.org/files/mpgconv_setup_v1.2.exe

Unable to execute.

Posted: Tue Jun 17, 2008 6:28 pm
by TazM
C:\Program Files\dvbdream\Record>mpgconv.exe
The system cannot execute the specified program.

Using windows xp

C:\Program Files\dvbdream\Record>mpgconv.exe "Vu401 King of the Cage_Opposing Forces 20080525_190338 #1.ts"
The system cannot execute the specified program.

quad core 6600 from dvbdream 1.4i p1 and VP 1020

Re: Unable to execute.

Posted: Wed Jun 18, 2008 12:27 am
by rel
C:\Program Files\dvbdream\Record>mpgconv.exe
The system cannot execute the specified program.

Using windows xp

C:\Program Files\dvbdream\Record>mpgconv.exe "Vu401 King of the Cage_Opposing Forces 20080525_190338 #1.ts"
The system cannot execute the specified program.
Thanks , fixed and updated the first post with v1.1

Posted: Wed Jun 18, 2008 3:55 am
by Snuffer
great tool and work exelent here.

Posted: Wed Jun 18, 2008 4:54 am
by saentist
no audio in auto mode with few audio streams ;( (euro news)
only video maby default shoud be a first audio stream

add option to show pid-s

Posted: Fri Jun 20, 2008 11:13 am
by rel
http://www.dvbdream.org/files/mpgconv_setup_v1.2.exe

What's New
---------------------
v1.2 (19.06.2008)
- The TS files which are not synced to TS packet boundaries are handled now.
- Drag & Drop for GUI
- "-pids" parameter added to list pids in the file

Posted: Fri Jun 20, 2008 11:18 am
by rel
Released, on web site.

Posted: Fri Jun 20, 2008 5:51 pm
by saentist
is it posible more info in -pids

Code: Select all

H:\FOR CD\DVB\dvb dream\mpgconv_setup_v1.2>mpgconv.exe "Euronews noevent 2007101
3_024731 #1.ts" -pids
Input file...: Euronews noevent 20071013_024731 #1.ts (0 mb) <---<<
Output file..: Euronews noevent 20071013_024731 #1.ts.mpg



PID LIST:
- PID 0 (0x0000)
- PID 1 (0x0001)
- PID 18 (0x0012)
- PID 768 (0x0300)
- PID 1034 (0x040a)
- PID 2221 (0x08ad)
- PID 2231 (0x08b7)
- PID 2232 (0x08b8)
- PID 2233 (0x08b9)
- PID 2234 (0x08ba)
- PID 2235 (0x08bb)
- PID 2236 (0x08bc)
- PID 2237 (0x08bd)
- PID 2238 (0x08be)
is the zero show file size or ?

more iformative will be as this

Code: Select all

Video: MPEG2 Video 720x576 (4:3) 25.00fps 3165Kbps [Video (PID 2221 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2232 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2231 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2233 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2234 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2235 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2236 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2237 @ Prog# 2047)]
Audio: MPEG Audio 48000Hz mono 64Kbps [Audio (PID 2238 @ Prog# 2047)]
(mpc hc info)

maby and size of each stream will be good info
using color in reading proces is good
mark pids info with color for diferent types (audio, video other data)

bug: strange window showing C++ error when on drive is not posible to be writen (no permision)
Image

Posted: Sat Jun 28, 2008 12:13 pm
by cyran0
Needed that tools ! Not many players handle TS files playback (Media Player Classic is one).

Is it just me or this tool eat up all resources. I could not post this reply until completion because all memory was allocated by this tool : on a 512MB laptop, 150MB mem, 350 MB virtual !!!

When I played back the result, I observed many pixelarizations every 5 secs.

Source was a 8GB file movie Hoodwinked HD with ac3 (B3V).

Suggestion, add dest in GUI frontend.

Nice work and hoping a new ver soon ... :)

NEED HELP with mpgconv 1.2

Posted: Sat Jun 28, 2008 2:29 pm
by motornut
:cry:
No success with North America files.
Output file in auto is 10% size of original and no video.
Do NOT know what to enter in "Manual" blocks.

Please help
Thanks

Posted: Wed Jul 02, 2008 10:51 am
by smarg
Actually i wrote my own tool for converting ts files into DVR-MS files (which are the same old MPEG2 in different container).

This way i can import my DDrecordings into Vista Media Center!

ts tp MPEG

Posted: Wed Jul 02, 2008 3:47 pm
by motornut
Actually i wrote my own tool for converting ts files into DVR-MS files (which are the same old MPEG2 in different container).

This way i can import my DDrecordings into Vista Media Center!
*************************
CAN YOU SHARE?

*************************

THANKS

Posted: Mon Jul 07, 2008 11:10 am
by smarg
I will... when i will finish building my site i will post it there.

Posted: Wed Jul 09, 2008 12:07 pm
by vitreda
Trouble with program , ts to mpg conversion there is are no video, but video and audio find pids. If more data need, write. I ability C++ and if need help.

just tried it...

Posted: Sun Oct 12, 2008 4:22 am
by Chom95
Hello. Thank you for this new tool. :)

It would be great to have the PID list automaticaly provided (GUI).

BTW, there is an excellent freeware to read TS files (and almost any other format) : VLC http://www.videolan.org.

Cheers.
C95