LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-21-2004, 09:29 PM   #1
PhilD
Member
 
Registered: Mar 2003
Location: Iowa, US
Distribution: Mint
Posts: 174

Rep: Reputation: 30
Angry video - complete frustration


Okay, I have a digital camera that also takes video. It is in mjpg format and plays fine with mplayer or xine. I have done a tcprobe -i on the file and the output is below:

Code:
[tcprobe] RIFF data, AVI video
[avilib] V: 15.162 fps, codec=MJPG, frames=420, width=288, height=208
[avilib] A: 8112 Hz, format=0x07, bits=8, channels=1, bitrate=64 kbps,
[avilib]    420 chunks, 224688 bytes, CBR
[tcprobe] summary for sv400010.avi, (*) = not default, 0 = not detected
import frame size: -g 288x208 [720x576] (*)
       frame rate: -f 15.162 [25.000] frc=0 (*)
      audio track: -a 0 [0] -e 8112,8,1 [48000,16,2] -n 0x7 [0x2000] (*)
                   bitrate=64 kbps
           length: 420 frames, frame_time=65 msec, duration=0:00:27.699
I am trying to convert it into a format I can edit and put up on the web. At a minimum it would be nice to simply crop the file or pull out a small section. I have tried cinelerra, LiVES, several transcode scripts and everything else I can find. I have had some luck with pulling audio from the file, but I have found nothing to work with the video.

Could someone please help me figure this out. A little more than try this program would be nice, although I would take that. This is about to make me pull my hair out!!

Thanks for the help!

PhilD

Last edited by PhilD; 12-21-2004 at 09:38 PM.
 
Old 12-22-2004, 02:41 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I've pulled out segments using mencoder/mplayer quite easily. It's trying to figure out what frame(s) you want that seemed (for me) to be the hard part. I had to pause and play A LOT to grab the exact frames I wanted.

Another option is Kino (I prefer this for my digital video editing, and then I tweak the aspect/bitrate with mencoder).

Mencoder would be something like (this is just a weak example):
mencoder -ovc copy -oac copy -ss 1111

The -ss command seeks to the desired seconds to begin the cut. Check out the mplayer man page for ALOT more info (if you don't need to audio, you can even transform into jpg's and then use imagemagick to create an mng or gif to show the short flick).

Cool
 
Old 12-22-2004, 07:44 AM   #3
PhilD
Member
 
Registered: Mar 2003
Location: Iowa, US
Distribution: Mint
Posts: 174

Original Poster
Rep: Reputation: 30
I will give that a try. So far, the programs I have tried seem to have problems with either the odd frame rate or the odd audio sampling.

I will be out of town for a week or so but I will let you know how it worked. Any other suggestions are alway welcome.

PhilD
 
Old 03-18-2006, 10:48 AM   #4
danielson
Member
 
Registered: Jun 2004
Location: Bern, Switzerland
Posts: 37

Rep: Reputation: 15
Hi
I have a similar problem. I just can't edit my canon (Ixus 40) MJPG movies in Cinelerra. But I have ffmpeg installed and i can watch the the movies with mplayer and vlc. Does anybody know how you can make cinelerra use the right codecs with this format, so i can directly edit my clips in cinelerra without transcoding them first with mencoder? Or is this impossible?

To show movies in the web i recommend you the flash format, because almost everybody (Win, Mac and Linux) has it installed.
Here's our version of a Anything to Flash converter:
http://www.nyk.ch/cgi-bin/avi2flash.cgi
source: http://nyk.ch/code/avi2flash.cgi.html
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete FC4 Lockup -- video veritcal bars perihelion Linux - Software 1 09-12-2005 11:31 AM
Gaim Frustration justaguynsrq Slackware 4 03-10-2005 03:51 AM
sound frustration Th3_J3st3R Slackware 9 07-18-2004 04:27 PM
shorewall = frustration renato167 Linux - Networking 3 05-19-2003 12:25 AM
Frustration with Mandrake 9.1 frkstein Linux - General 2 04-02-2003 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:12 AM.

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