General :: Encoding Multi-jpegs With Mencoder, Skipping Broken Files?
Jan 16, 2011
I've multiple jpegs uploaded form IP cam via FTP, I use mencoder to periodically pack them into single avi file, problem is that sometimes one or two jpegs submitted by cam are broken, and this make mencoder exit, without producing movie
I recently upgraded to Maverick and am loving it. Converting over my various scripts to work on the new box I notice that my video trascoding script, which uses mencoder to re-encode video as h264, now does not work.
Code: mencoder $inpfile -oac mp3lame -lameopts vbr=3:q=3 -ovc x264 -x264encopts crf=22:threads=auto:subq=4:bframes=2:b_pyramid:weight_b:turbo=1 -ofps 25 -o $outfile For a long time this has worked just fine but the command basically bombs out every time with Code: FATAL: Cannot initialize video driver. I tried using the medibuntu mplayer/mencoder but still no dice.
Does anyone know how I can get this important functionality back?
My 1st and only grandson turned 1 year old and we have taken about 1 million pics of him. I wanted to make a video from pictures taken in the past year. The first one is an ultra sound picture. The last one was taken this last Saturday. I have 153 12 MPixel pictures in a folder. They are named C001.jpg - C153.jpg (I can rename them if needed).
I had noticed mencoder or ffmpeg can create movies from jpegs. But, I didn't think about the frames per second. Would I need to make like 20 copies of each picture and then make it like 10 FPS? or something like that? Optimally, I would like to have a video where each picture lasts for 8-10 seconds or so and I would be able to add a song as audio. (I think I know how to use mencoder to add the audio).
I use the script h264enc (installed from the repos) to encode my dvds into avi and mp4. It was working flawlessly under 9.10, now I get the error that MEncoder doesn't support AAC encoding? I have installed all the restricted drivers and I can play dvds, mp4's, .
For backup purposes, I have been trying to find out a solution for Rsync -avr sourcefolder targetfolder with Skipping 0 bytes files option.
However it seems that they are no solutions. Would someone have an idea, to skip to source files into the sourcefolder that have no content, ie. 0 bytes?
I am only using the 128 character set defined in the original ANSI standard. But as a whole how are the files implmeneted differently. I am not concerned with the display, i.e. if a tab is displayed with 6 or 8 characters but the actual internal representation in memory
One differnce I've hear is the use of (Windows) vs. for line termination (Linux).
how to search in files text that is one-byte encoding? places - search for files in gnome in ubuntu searches only utf-8 text.i know one way: install wine and total commander, then search with it. what are better ways?[URL]
I have noticed that my music, which is all in .ogg format, is skipping every once in a while in Ubuntu, but not in Windows (I use Banshee in Ubuntu; Winamp for when I use Windows). My whole music collection isn't skipping entirely--that is, not every music file has this problem. However, the ones that do, the music file skips like a scratched CD for 1-2 seconds. The same music file doesn't do this at all when played with Winamp in Windows. Are my music files corrupted? What is going on? None of the music files were like this before (with the skipping), but for some reason, the skipping occurs only in Ubuntu, not Windows/Winamp. Not every music file has this happening, but some of them do.
I have been thinking about converting all my music files to .mp3, or re-converting the files as .ogg as another copy,
full snapshot of ArchLinux Repo for x86_64I want to use this as my restore backup should I need to reinstall Arch without network support.How do I build several *tar volumes of my /mount/my_repo to fit into 4.5GB DVDs ... the thing is 18 GB size...How do I extract all the *tar created to a folder later on...? is it the same as extracting a single *tar, will tar find all volumes in the same directory level so as to continue extracing or do I need to merge them in some way
I'm trying to copy some files via terminal because i had some issues with nautilus crashing in the middle of the operation. So how can i copy files recursively while skipping existing ones?
I just tried to install kubuntu 6 times on my laptop. I have downloaded the file from a different mirror each time and burned the image via brasero. This used to work for me... Kubuntu will not install. Keeps saying its skipping missing files or something. Anyone else getting this? I eventually gave up on 9.10 and am now trying alpha 1...
I can play WMAs with MPlayer but when I try to skip forward a few minutes it plays for a split second, and then plays at another random part of the video making it impossible to play a WMA from anywhere but the beginning.
Code: mplayer -demuxer lavf ccent01.wmv.The above command opens the video but there is no menubar, scroll bar, or any reaction to right click although strangely scrolling my mouse wheel seems to randomly skip through the video. In VLC when trying to play the same file I get the error:
Code: No suitable decoder module: VLC does not support the audio or video format "wmas". Unfortunately there is no way for you to fix this. No suitable decoder module: VLC does not support the audio or video format "MSS2". Unfortunately there is no way for you to fix this.After converting the .wma file to .mpg, and also .avi using a command similar to:
Code: mencoder ccent01.wmv -ofps 23.976 -ovc lavc -oac copy -o ccent01.mpg. There is no change playing the file with mplayer and in VLC it now only gives one error: Code: No suitable decoder module: VLC does not support the audio or video format "wmas". Unfortunately there is no way for you to fix this. I'm preparing for a Cisco exam later in the week and would like to spend tomorrow watching hours of computer based training videos but would rather not have to do it in Windows. Already tried using Media Player Classic in WINE but it crashed. Is there a workaround? Oh and I already have ubuntu-restricted-extras installed.
I wonder capability of awk to manipulate data in consecutive multi files by read one batch file.for example I have files: data1.dat, data2.dat,data3.dat and listfile.txt
Just go myself a new computer and thinking of how set it up. I have win7 HP and will probably install at least some version of Ubuntu on it shortly to have dual boot. Might come other Linux distros too in the future. I have a 1TB HDD and my question is what's the smartest way to share files on all OS's? In what format?
I was thinking of ~100GB for Windows for apps and games etc. ~20-50GB for Ubuntu and some third partition, where I store my common files like media, pics, docs, downloads and stuff, taking the rest of the free space.
What filesystem should the shared partition be? Is there some smart way to get windows home directories and linux home directories to point to the same place on the shared partition or would it be recommended to just keep them separated?
One of the most common qs i see in forums is >>> How to convert multiple jpg files to one one pdf file by one click . I have got 2 solutions that I consider solve this situation to the best ....
*1.* Install SCRIBUS from synaptic package manager . It can convert jpegs to pdf without any issues . F Spot Photo Manager can also be used .
*2.* This 2nd step I find much better .... I have been using it myself for some time now ... and its flaw less ...
A) Install WINE using the terminal . For beginers .... Its a software that can run selected windows applications on a linux destro like ubuntu. Installing is very easy >>>> open synaptic manager and in quick search box type Wine. Once the wine files show in the search mark them for installation. For details on easy manual for wine installation check here .. [URL]
B) Now go to the page below .... Its a free software.
[URL]
Down load and save the software from the link given . Open the file using wine ( Right click on the file and choose the option open with wine.) The installer will run and the programme will be installed . And Viola ... Its ready .... Import ur jpg files and merge them all in to 1 pdf file .. Very Useful In Merging Comics together.
I use mplayer/mencoder to make *.avi files from mpegs. Now I wonder is it possible to someway queue commands. I needed because I try to use mencoder at night time, while I sleep. I could encode about 4-5 movies / night but how to do it?
I have a fresh install of Karmic and get the occasional skipping when I play files through amarok.If a play a CD through Rythmbox the sound is ok, so I don't think its got anything to do with pulseaudio. Could it be the xine backend?
dir1subdir1subdir2etc.and at the lowest level they contain all of these jpegs that I need. The problem is that I only need some of them. They're named like this:
pic1.jpg pic1_med.jpg pic1_small.jpg pic2.jpg pic2_med.jpg etc.
I want to just grab the ones without the size suffix and copy them all to another set of folders, while preserving the directory structure. The numbering all starts at 1 for each low level subdirectory, so I think that the directory structure is the only way to not get them mixed up.
I know that cp has a recursive option -r but how do I just extract the ones without the underscore? And then how do I preserve the directory structure when I move them over?
The first command goes well by generating utf8 files from all txt files, but the second command fails with error message. Could someone enlighten me about the mistake in the command and share a workable solution?
I have been having a problem with K9 Copy whenever I try to convert a DVD to MPEG files using the method without encoding, but for some reason lately it seems to be splitting each episode into about 6 or 7 pieces instead of just one. I never usually have a problem with this, but for some reason it seems to be doing this whenever I try to rip something. On a side note, I am running on Obuntu 9.10 and have K9Copy version 2.3.0 installed. I have tried installing several other versions, but it does the same thing with each.
Is there an app or find parameter that can search for video files using a specific (DivX for example) encoding? On Windows, you can do this, so I was hoping there would be some way on Linux whether it's with find or another app. I want to find all (*.avi OR *.divx) on my file system with the DiVX fourcc tag (i think that's what its called)
How is it possible to add a new hpfs disk with utf16 encoding files system? I would like to add my windows 7 device at the boot beginning automaticly? I could mount in gnome with nautilus with a one mouse click.
Code: # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name
I have been having a problem with K9 Copy whenever I try to convert a DVD to MPEG files using the method without encoding, but for some reason lately it seems to be splitting each episode I am trying to rip into about 6 or 7 pieces instead of just one.
I never usually have a problem with this, but for some reason it seems to be doing this whenever I try to rip something. I am running on Obuntu 9.10 and have K9Copy version 2.3.0 installed. I have tried installing several other versions, but it does the same thing with each.
According to the man page, rsync should copy "special" and "device" files if the corresponding options are set. Also the man page says that the -a option (--archive) includes the -D option, which is "same as --devices and --specials". BUT We use the -a option, and still get the following in our report:
Today encoders are getting smarter. They can compress Blu ray similar quality in 700MB. It seems header of video file contain info about frame rate, audio/video encoder etc. which can't be guessed. In MPEG audio , every part of file is independently playable. If a movie is binary split into 6 parts & I don't have the first part then it is unplayable.
Code: example ls -rwxrwxrwx 1 root root 280M 2010-12-07 20:23 irn2-cd1.mkv -rwxrwxrwx 1 root root 50M 2011-05-26 13:09 last-50M-cd2 -rwxrwxrwx 1 root root 50M 2011-05-26 13:44 first-50M-cd1 file * first-50M-cd1: Matroska data last-50M-cd2: data irn2-cd1.mkv: Matroska data
I'm trying to backup a drive with an LVM2 partition. 8 of the 10 partitions in the LVM restore fine, two do not. SDA1 is the boot partition, SDA2 is an LVM2 partition with 10 partitions inside of it. When I restore the image created by Clonezilla the partition names are there but two of the partitions are unreadable and unmountable. I'm certain Clonezilla is skipping these two partitions because its entire image is around 40G and when I TGZ these two partitions I get an 80GB file. Clonezilla doesn't appear to give any errors and as it "winds up" it shows that it's unmounting the LVM partitions and I see my missing two in its list but when Clonezilla makes the image it never mentions the two I (really) want. I'm trying Clonezilla's DD method right now but it appears to be DDing each partition (going through the LVMs right now).
I'm working on a ~1 TB disk that was loaded with all kinds of images and documents that lost it's HFS+ partition table. The person for which I'm doing the favor of running scalpel says it's likely there's 90GB of stuff. Somehow, the disk got relabeled/MBR changed to some FAT variant that works on the whole Terrabyte.
Attempts to recover the partition info failed.My first try with scalpel finds more than 90GB of image file headers alone and that blows through all of my storage. Of the headers found and recovered as images, a simple test shows most of the image files are broken. The cluster size option does not work if I use it by itself. It errors out before it gets going.I want to speed things up and skip the countless broken image files.