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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-04-2008, 04:14 AM
|
#1
|
LQ Newbie
Registered: Nov 2008
Posts: 2
Rep:
|
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
|
|
|
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,847
Rep: 
|
|
|
|
12-05-2008, 12:20 AM
|
#3
|
LQ Newbie
Registered: Nov 2008
Posts: 2
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|