Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th April 2012, 04:31 PM
kazakore Offline
Registered User
 
Join Date: Apr 2011
Posts: 40
linuxfirefox
Transcode to M-JPEG help

Running Fedora Fc16 and have managed to get LiVES installed from Koji Russian Fedora rpm linked on their Download page after finding all the dependencies it asks for.

Downloaded a few clips from Archive.org and have been trying to prepare them for use. As I have a low powered netbook (idea is to see if anything is even possible on this) which I hope to be able to at least basic VJ stuff I wanted to transcode everything to the correct size etc before importing, including transcoding to mjpeg.

Transcoding to Null appears to work with:
$ transcode -i CEP140.mpg -o CEP140-800x600mjpg.mov -Z 800x600 -F mjpeg --export_fps 0,13 -y null (Note -y does not need to be specified here as null is the default.)

I can also export each fame as its own jpg file by using "-y jpg" but this isn't any more useful. All others I have tried say they do not recognise the mjpeg as codec.

Transcode export plugins:
$ ls -l $(tcmodinfo -p)/export*.so
-rwxr-xr-x. 1 root root 5436 Nov 19 19:26 /usr/lib/transcode/export_ac3.so
-rwxr-xr-x. 1 root root 34528 Nov 19 19:26 /usr/lib/transcode/export_divx5.so
-rwxr-xr-x. 1 root root 9636 Nov 19 19:26 /usr/lib/transcode/export_dvraw.so
-rwxr-xr-x. 1 root root 22172 Nov 19 19:26 /usr/lib/transcode/export_dv.so
-rwxr-xr-x. 1 root root 58416 Nov 19 19:26 /usr/lib/transcode/export_ffmpeg.so
-rwxr-xr-x. 1 root root 9624 Nov 19 19:27 /usr/lib/transcode/export_im.so
-rwxr-xr-x. 1 root root 9624 Nov 19 19:26 /usr/lib/transcode/export_jpg.so
-rwxr-xr-x. 1 root root 9536 Nov 19 19:26 /usr/lib/transcode/export_lame.so
-rwxr-xr-x. 1 root root 22144 Nov 19 19:26 /usr/lib/transcode/export_lzo.so
-rwxr-xr-x. 1 root root 17956 Nov 19 19:26 /usr/lib/transcode/export_mov.so
-rwxr-xr-x. 1 root root 9560 Nov 19 19:26 /usr/lib/transcode/export_mp2enc.so
-rwxr-xr-x. 1 root root 9548 Nov 19 19:26 /usr/lib/transcode/export_mp2.so
-rwxr-xr-x. 1 root root 13740 Nov 19 19:26 /usr/lib/transcode/export_mpeg2enc.so
-rwxr-xr-x. 1 root root 5404 Nov 19 19:26 /usr/lib/transcode/export_null.so
-rwxr-xr-x. 1 root root 9540 Nov 19 19:26 /usr/lib/transcode/export_ogg.so
-rwxr-xr-x. 1 root root 9600 Nov 19 19:26 /usr/lib/transcode/export_pcm.so
-rwxr-xr-x. 1 root root 22124 Nov 19 19:26 /usr/lib/transcode/export_ppm.so
-rwxr-xr-x. 1 root root 32796 Nov 19 19:26 /usr/lib/transcode/export_pvm.so
-rwxr-xr-x. 1 root root 9544 Nov 19 19:26 /usr/lib/transcode/export_pvn.so
-rwxr-xr-x. 1 root root 26272 Nov 19 19:26 /usr/lib/transcode/export_raw.so
-rwxr-xr-x. 1 root root 18016 Nov 19 19:26 /usr/lib/transcode/export_tcaud.so
-rwxr-xr-x. 1 root root 5440 Nov 19 19:26 /usr/lib/transcode/export_toolame.so
-rwxr-xr-x. 1 root root 5436 Nov 19 19:27 /usr/lib/transcode/export_wav.so
-rwxr-xr-x. 1 root root 34488 Nov 19 19:27 /usr/lib/transcode/export_xvid4.so
lrwxrwxrwx. 1 root root 15 Apr 13 12:53 /usr/lib/transcode/export_xvid.so -> export_xvid4.so
-rwxr-xr-x. 1 root root 22188 Nov 19 19:26 /usr/lib/transcode/export_yuv4mpeg.so

And proof mjpeg-tools is installed:
$ yum list instaled *mj*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
mjpegtools.i686 2.0.0-1.fc16 @rpmfusion-free
mjpegtools-devel.i686 2.0.0-1.fc16 @rpmfusion-free
mjpegtools-gui.i686 2.0.0-1.fc16 @rpmfusion-free
mjpegtools-lav.i686 2.0.0-1.fc16 @rpmfusion-free
mjpegtools-libs.i686 2.0.0-1.fc16 @rpmfusion-free

Also I want video only, no audio. What would I use for that? Would it still be with the -y parameter, so (assuming we find a encoder called mjpeg) it would be "-y mjpeg, null" to encode video and null/discard the audio?


Thans in advance.
Reply With Quote
  #2  
Old 13th April 2012, 09:42 PM
bonedome's Avatar
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 726
linuxfirefox
Re: Transcode to M-JPEG help

Hello
I believe ffmpeg can do what you're after, I just tried it
Code:
ffmpeg -i ~/videos/catchat.mp4 -an ~/videos/catchat.mjpeg
the -i is the input file -an is no audio and with no other options simply adding the .mjpeg suffix will create an mjpeg with default settings (don't know what they are mind)
I generally find with ffmpeg you're best off using no options making a sample and then tweaking, you can press q at any time while transcoding to check the output.
You can change just about anything so some reading is going to be required, I always try to keep things simple but I can help with some of the commands if you're stuck
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
Reply With Quote
  #3  
Old 14th April 2012, 04:27 PM
kazakore Offline
Registered User
 
Join Date: Apr 2011
Posts: 40
linuxfirefox
Re: Transcode to M-JPEG help

I'll give it a go once I've had breakfast and things. Tried "-y ffmpeg" in the Transcode command line and it said ffmpeg didn't know teh set codec (mjpeg) so seemsa little surprising it will simply do it on its own. Fingers crossed

---------- Post added at 04:27 PM ---------- Previous post was at 11:30 AM ----------

Thanks for the hint.

Your command worked, quality was shock which was fixed with -qscale 1, could not seek through the file which was cure with setting output file to .avi and using -vcodec jmpeg. Final step was just to add resize of -s 800x600 and everything seems good

Just got to remind myself how to batch process a folder to a different destination how and all will be good. Renaming to .avi I think has something to do with $file isn't it??
Reply With Quote
  #4  
Old 16th April 2012, 07:06 PM
bonedome's Avatar
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 726
linuxfirefox
Re: Transcode to M-JPEG help

Glad that worked
the .avi is the container, it holds all the meta-data for the audio, video and subtitles.
Containers like avi and mkv (matroska and it's open source) can read pretty much any codec and so are good for just about everything.
Only problem being a lot of devices aren't matroska friendly (my ps3 for one) so avi is probably the best choice, until mkv gets the recognition it deserves
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
Reply With Quote
Reply

Tags
mjpeg, transcode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP-Transcode w/ DVDrip shad0wx Using Fedora 2 21st September 2008 10:31 PM
transcode segfaults with FC5 evans Using Fedora 0 21st May 2006 04:11 AM
Transcode rpm lazlow Using Fedora 4 13th April 2006 09:31 PM
Transcode TreasonX Using Fedora 1 12th September 2005 06:41 PM


Current GMT-time: 02:39 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat