[Gllug] convert .ts files to MPEG

michael norman michaeltnorman at ukfsn.org
Mon Mar 3 03:46:14 UTC 2008


On Sunday 02 March 2008 18:53:21 John G Walker wrote:

> > >
> > >  I would like to convert them to a format that I can then edit out
> > > the adverts and other bits.  I don't want to make dvds, just be
> > > able to watch them without the adverts on my pc.
> >
> > I suspect ffmpeg will do the conversion:
> > e.g. ffmpeg -i input.ts -sameq -o output.mpg
> >
> > --
> > goibhniu
>
> Please report back. I think there's more than a few people on this list
> who'd be interested in the results,
>
> --
>  All the best,
>  John

Tried that, here is the output

michael at bonds:/data_2> ffmpeg -i Legends_Louis_Prima.ts sameq -0 output 
Legends_Louis_Prima.mpg
FFmpeg version SVN-r11346, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  
configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid --enable-liba52 --enable-swscaler --enable-pp --enable-gpl --enable-vhook --enable-x11grab --enable-libgsm --enable-libx264 --enable-libamr-nb --enable-libamr-wb --enable-libdc1394
  libavutil version: 49.6.0
  libavcodec version: 51.49.0
  libavformat version: 52.3.0
  built on Dec 29 2007 07:56:38, gcc: 4.2.1 (SUSE Linux)
Input #0, mpegts, from 'Legends_Louis_Prima.ts':
  Duration: 01:00:27.6, start: 47214.861578, bitrate: 3309 kb/s
  Program 19520
  Program 19456
  Program 18688
  Program 18624
  Program 18560
  Program 18496
  Program 18240
  Program 18176
  Program 18112
  Program 18048
  Program 17984
  Program 17920
  Program 17024
  Program 16960
  Program 16832
    Stream #0.0[0xc9]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 
16:9], 15000 kb/s, 25.00 tb(r)
    Stream #0.1[0x191](eng): Audio: mp2, 48000 Hz, stereo, 256 kb/s
    Stream #0.2[0x192](eng): Audio: mp2, 48000 Hz, mono, 64 kb/s
    Stream #0.3[0x259](eng): Subtitle: dvbsub
  Program 16768
  Program 19968
  Program 19584
Unable to find a suitable output format for 'sameq'
michael at bonds:/data_2>    

Mike                                                                      
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list