Visit Jeremy's Blog.
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 12-04-2008, 04:14 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
how do I convert a .m2t to an image sequence (tiff,tga or png)?

Hi all,
Just switched to linux from os x and I'm trying to figure out my new video workflow. I've used dvgrab to capture my hv20's 24p stream. Now I want to strip out the extra frames (reverse telcine) and create a 24 fps image sequence of the video. Preferably tiff, but tga or png would work too. Is this possible with mplayer or ffmpeg maybe? any advice much appreciated. thanks, jayson
Old 12-04-2008, 08:12 AM   #2
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,797

Rep: Reputation: 108Reputation: 108

Happy Penguins!
Old 12-05-2008, 12:20 AM   #3
LQ Newbie
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Hey kaz2100,
thanks for the link. I figured it out earlier today and forgot to post my solution:

alright looks like i figured it out. It's not perfect but for now it works.
so i have a canon hv20.
I captured the 24p hdv off the camera via firewire and dvgrab
then I typed all this into the command line in a directory that I want the png images to be written into:

mplayer /mnt/cycle/grab/test.m2t -aspect 16:9 -mc 0 -fps 30000/1001 -delay -0.222 -ao null -vf pullup,softskip,scale=768:576 -vo png

notice I reduced the image from HD 1440:1080 (4mb per png) to Pal 768:576(1.3mb per png), because I like working with smaller files and mostly just make web video anyway so I don't need the extra HD rez. But if you want to keep it HD replace 768:576 with 1440:1080.

there's probably a cleaner way to do this since the commandline reports all kinds of errors:

For AVI files, try to force non-interleaved mode with the -ni option.
Cannot sync MAD frame
TS_PARSE: COULDN'T SYNC 2.688 ct: 0.000 255/255 40% 258% 3.4% 27 0
Cannot sync MAD frame
Cannot sync MAD frame

but the png's look good


ffmpeg, image, mencoder, mplayer, png, sequence, tiff

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
how to convert kaffeine m2t (mpeg ts) to mp3 rjwilmsi Linux - Software 4 05-16-2014 02:01 AM
convert image.png image.jpg changing colours MikeyCarter Linux - Software 1 11-17-2006 11:16 AM
Image viewer that can rotate and save tiff mwildam Linux - Desktop 13 09-30-2006 07:35 AM
How to display a tiff image in java? MRMadhav Programming 4 07-02-2006 03:39 AM
mgetty convert fax to tiff problem hankycheng Linux - Software 4 08-04-2004 11:36 PM > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration