Software :: Remove Chunks From A Video File Programatically?

Oct 22, 2009

I need to remove sections from video files (from the middle and the end) on the command-line. Generally these will be mp4 and avi files.

For instance, I have a .mp4 file which is 32:30 minutes long. I'd like to remove from 2:49 to 3:20, and remove the last 60 seconds.

Any ideas on how I can achieve this?

View 1 Replies


ADVERTISEMENT

General :: Split A Video File Into Smaller Chunks?

Sep 1, 2011

Tool like Media File Segmenter for Linux

I know that one can use ffmpeg to extract a smallfile.avi from a largfile.avi. But What I am looking for is an tool/command to split a large file into several files of a given size.

View 1 Replies View Related

Ubuntu :: Text File 3 Million Url Into Chunks Of 5,000?

Dec 16, 2010

I have a text file with 3 million urls that I want split into chunks of 5,000.

Anyone have idiot proof simple instructions to accomplish this in the command line?

View 9 Replies View Related

General :: Check Small Chunks Compared To Original File?

Feb 21, 2011

i want to upload my iso collection to adrive(.)comi have a slow upload and i want to split each iso file in chunks of 100 MB so they upload while every browsing session of mine.i figured i should use split and cat commands to do that.but i cant afford to upload some corrupt archives, so how may i go about checking the small chunks to the original file before uploading

View 7 Replies View Related

Networking :: How To Enable DHCP Programatically

Mar 23, 2010

I am doing a project on which i need to switch between dhcp and manual network configuration. I want to know how can i set dhcp programatically. I will not be able to edit any config files as my file system is read only. i am looking for some APIs which could do the task.

View 2 Replies View Related

Software :: Programatically Feed Top With Key Strokes?

Aug 30, 2010

I'm writing a simple bash script and I would like it to be able to to execute top (that's the easy part) and then to supply the parameters to top
programatically.

Here is the explanation:
Top is an interactive program that requires user input to do stuff, sort etc. I would like to programatically do so, for example:

top;
supply input;
get info;
quit;

Is it possible with simple bash?

View 4 Replies View Related

CentOS 5 :: Convert Some RTF Files To PDF Programatically?

Jan 23, 2011

We need to convert some RTF files to PDF programatically, so cli needed. Used Ted before. [URL].. Whats the best way to find a repo that will install Ted into CentOS 5.5 ? Otherwise I'm stuck with rpm and failed dependencies.

View 10 Replies View Related

Software :: Programatically Determine Device In RAID Array?

Oct 30, 2009

I'm writing a bash script that needs to know whether or not a device node is part of a RAID array. I'm just curious if anyone knows of a good way to determine if a device node is in a RAID array. I know that you can run mdadm -Q or mdadm --examine on the device node and that will tell you. But I don't want to rely on screen scrapping and would rather have something that would return a boolean. Any ideas?

View 2 Replies View Related

Programming :: Get Uuid Of A Device / Partition In System Programatically?

Mar 13, 2011

I am very much new to Linux programming. My question is Is there any way to read UUID of a device or partition in linux programatically. Is there any c/c++ API for user-space applications. I found some commands "sudo vol_id --uuid /dev/sda1", "sudo blkid", "ls -l /dev/disk/by-uuid/". But all are commands which we need to run in terminal. But i need to achieve this from a c/c++ program. Can some one help me in this problem.(FYI: I need to read uuid of root filesystem ("/") where Linux has been installed.)

View 9 Replies View Related

Debian Multimedia :: Convert SWF Video File To AVI Video File?

Dec 18, 2010

how could i convert SWF video file to AVI video file on linux? is there any tools ?

View 1 Replies View Related

General :: Copy Data In Chunks And With Timed Breaks?

May 2, 2011

I have a hard drive with a bad PCB board. It stays on when not under heavy load and it will restart if I copy too much data off it. So far I have had good luck doing folders under 500 MB in size if I copy one folder to my good hard drive, wait five minutes, copy another, etc.

If I mount the bad drive and try to copy a folder of several GBs in size it will start and then stop as the hard drive restarts. When I try to mount the drive again Linux says it can't read the superblock. I have several folders with over 30 GB of data in many different folders.

What I am looking for is a way of copying a folder in Linux such that the commands grab the whole folder in chunks with a timed break in-between.

View 3 Replies View Related

Ubuntu :: How To Copy And Paste Large Chunks Of Data

Jun 16, 2011

I want to copy about 40GB - to a partiton. There are two hard drives in my box one won't boot but I can aaccess it and mount partitions and I aim to move data from it to a new bootable hard drive. Doing a simple cp copy command may not be the best way to copy and paste such a large chunk? Also I want to backup the data I plan to copy/paste using a USB hard drive to backup. But I could also paste data from the backup to the new drive instead of from old internal hd to new hd. - that's another option.

View 1 Replies View Related

Programming :: [C] Parsing Lines Into Chunks And Writing Each Chunk?

Sep 10, 2010

My C foo is terrible! I am working with some code which reads lines from a file and then reformats the lines and writes them to a new file.The input lines look like this:

Code:
+[NEOTEST?]
+[NEOTEST]

[code]...

View 2 Replies View Related

Programming :: Python - Parsing Data In Chunks / Sections?

Nov 5, 2010

As a curious side project I'm playing with mzXML data(an xml format for holding mass spec data). A typical scan can be quite large, even up into GB size. I'm wondering how would one go about parsing an xml file in sections, one section at a time. The idea being if the computer doesn't have enough memory to load up the entire data file, work on chunks of it at a time.

View 3 Replies View Related

Hardware :: Remove Files Are On A Video DVD?

Dec 12, 2010

I installed Ubuntu 9.10 along with XP.When I opened one drive from XP as File System (as Ubuntu OS takes on) on the top of the drive "These files are on a video DVD Open Movie Player" like captioncoming but on other XP drive this does not occurNow I wish to what this is what this means How toremove this caption from drive being displayed

View 1 Replies View Related

OpenSUSE Multimedia :: Remove Audio From Video Clips?

Jun 11, 2011

I would like to remove the audio tracks from various video clips (.avi, .mpg. .wmv, .flv, etc.).I Googled and found lots of ways to strip off the audio and save that sound as an mp3 file, but I have found nothing that would allow me to remove the audio and save my video clip (silently)

View 5 Replies View Related

Ubuntu :: Is It Safe To Remove Xserver-xorg-video-all

Jul 11, 2011

PROBLEM: My computer has an nvidia video card. I'd like to remove the packages that support ati and radeon. When I try to remove xserver-xorg-video-ati or xserver-xorg-video-ati, the package manager wants to remove xserver-xorg-video-all.

QUESTION: Is it safe to remove xserver-xorg-video-all? Obviously, I want to keep support for my nvideo card.

View 9 Replies View Related

Ubuntu Multimedia :: Remove Video Driver Module For VESA

Sep 16, 2010

I'm trying to remove 3Dlabs / Oxygen gmx , and install vesa - Generic VESA-compliant video driver module.How do I remove 3Dlabs / Oxygen gmx ?I can click on VESA in the 'Choose By Name...' , but when I close that box, it shows No Driver.

View 4 Replies View Related

General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies View Related

Software :: Check The Contents Of A Text File For A Specific String And Remove It From The File From The Command Prompt?

Oct 14, 2010

I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.

View 4 Replies View Related

Ubuntu :: Unable To Determine File Type Of Any Of Video File

Oct 14, 2010

I am writting a script to allow uploading of certain files. I want to limit the files by their filename and mime type, and by making sure the two match up.The first thing I need to do is make sure I've got all the mime types I need added. I have never done this before, but I understand that 'file' (which is what PHP's mime-type finding is based off of) uses magic databases that tell at which point in the file should have signatures of the filetype.

My trouble started when I was unable to determine the filetype of any of my video files. Currently, I have some .MOV and .MP4 files that I am using to test.

View 4 Replies View Related

Ubuntu Multimedia :: Covert Video File To .asf File Type?

Jan 24, 2011

I want to be able to play a video file on my pda(Tungsten T5) but from memory the only video file i have seen playable on it was the asf file that is used when it starts up/reboots. I tried other file types in the past that were suggested in maybe a manual or forum or something but they never worked/played. I think it is because of the player installed and i tried installing another player but from memory that didn't install properly or just did not play anything. So if anyone knows of a way to convert files maybe using winff or mencoder i would love that info. I have been googling and have found nothing specific to what i am asking. I do not see anything in winff to convert to asf and cannot remember ever using mencoder.

View 9 Replies View Related

Software :: Convert An .iso Video File To An .avi File?

Feb 1, 2010

I want to convert an .iso video file to an .avi file. Google searches suggested using dvd:rip. Dvd::rip didn't work for me because I am using a netbook that doesn't have a DVD drive. I'm using eeebuntu on an Asus eeePC 1000HE.

View 4 Replies View Related

Programming :: Remove Lines In A Text File Based On Another Text File?

Jan 28, 2009

I have a text file called file1.txt containing many lines eg.

line1
line2
line3
line4
line5
line6

Then i have another text file called file2.txt contains

3
5
6

Is there a command to remove the lines in file1.txt based on the keywords in file2.txt? note: It should remove line3,line5,line6 based on 3,5,6

View 10 Replies View Related

General :: Remove The Last From A File?

Mar 10, 2010

I have a file sample.xml . If I do "vi sample.xml" I can see the following

bash$ cat sample.xml
<content/>
bash$
but I don't want the last character so that it becomes following
bash$ cat sample.xml
<content/>bash$

View 12 Replies View Related

OpenSUSE :: Cannot Remove Empty File?

Mar 2, 2011

I was copying an .avi file to an external hard drive and half way through the copy the drive reset and required remounting. Consequently I have an empty .avi file on the hard drive. I tried to recopy the file and overwrite, but I keep getting 'Could not write to media/harddrive/filename.avi'. I tried to rename to file to be copied but got the same response, I cannot delete the empty file either, as I get an error telling I cannot delete it. I have tried to do this as the user and root with the same result.Any other file I tried to copy onto the external hard drive is fine, just this one zero length file and the file I was trying to copy, the original of the file. I also tried to delete the file on another computer but couldn'tExternal hard drive is a WD elements ntfs, which works great except for this glitch.

View 3 Replies View Related

General :: Remove File From The Dir With Different Permisison?

May 25, 2011

Dir - test - ls -ld shows ls -ld testdrwxr-xr-x 2 joe stduser 4096 May 25 16:25 testinside test dir :-rw-r--r-- 1 admin stduser 0 May 25 16:25 a.txtHow to remove a.txt with out using sudo ..I just tried sudo -u admin rm test/a.txtrm: cannot remove `test/a.txt': Permission denied

View 3 Replies View Related

Ubuntu :: Can't Remove File With Sudo?

Feb 23, 2010

I have this nasty file that eats away my very soul, since I can not remove it.When I try the following I get this output:

Code:
sudo rm -rf 1
rm: cannot remove directory `1': Directory not empty
Code:
ls *
ls: cannot access the filename png: No such file or directory
Code:

[Code]...

View 3 Replies View Related

Ubuntu :: Only Remove File / Folder If It's There

Oct 27, 2010

This is probably a very simple question and answer, so here goes... Doing the basic:

Code:
rm -fv -R "FILE1" "FILE2" "FILE3" "FILE4" "FOLDER" "FILE_WHATEVER"
...works just fine, but I would like to know if there is a way to only remove if the files are actually there. Currently, I know of this format, which works just fine:
[Code]...

...however, it seems to only work one file/folder at a time. Is there a way to modify it: I tried this, but it didn't seem to work:

[Code]...

View 9 Replies View Related

General :: How To Remove .tar.gz File / Slackware 13 - 37

Jun 14, 2011

I installed the wrong file and now I would like to remove it. It was one of those .tar.gz files you have to install with ./configure, make, make install.I suspect files were installed all over the place.Is there a utility for removing a .tar.gz file ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved