Ubuntu 14.04
I'm in the process of converting movies from .MKV to .MP4. I convert some, then once completed, remove the .mkv file, leaving the .mp4. As the .mp4 file is slightly smaller than the .MKV, my free space should be the same, or slightly more, however, I'm losing space i this process. for every 10GB's of files I convert, I lose 10GB's of space. So my question is....does avconv/ffmeg create temp files while processing movies, and if so, how can I find these to clean them up and reclaim my disk space?
thanks
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 11 of 11
			
		- 
	
- 
	exactly how did you "remove the .mkv file" ? Those numbers are suspicious for you forgetting to empty the trash folder (permanently deleting the mkv) 
- 
	I would agree, and hope that's the case...as Linux is not my forte. However, I've looked for /home/your_username/.local/share/Trash and it is not there. The part of the path shown that i can get to is /home. Looking around, people have said that the Trash folder may not exist until you delete something, but as I have, shouldn't it be created? 
 
 I'm using "rm" to delete the mkv's
 
 thanks
- 
	Try creating a new directory, set the batch file to save the outputs to the new directory, then manually delete the old directory when finished. Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
- 
	The first place to look for temp files is /tmp, you can try 
 list files including hidden ones
 get the total size of /tmp or any directoryCode:ls -lah /tmp 
 To check your free spaceCode:du -sh /tmp 
 To check for files above 500 MB that are not mp4 or mkv, iname means case insensitive so mkv and MKV will be excluded. Tweak to your liking.Code:df -h 
 Code:find /your/path/ -type f -size +500M ! -iname "*.mp4" ! -iname "*.mkv" Last edited by ackboo; 14th Feb 2016 at 20:07. 
- 
	Created a folder: /user/home/test cp a file movie*.mp4, rm to delete the movie and checked for "Trash" folder...still not there. 
 
 total 16KCode:ls -lah /tmp 
 
 20K /tmpCode:du -sh /tmp 
 
 /dev/sda1 2.0T 1.5T 463G 77% /Code:df -h 
 *...this was 497GB I converted 30GB of movies from MKV to MP4 and was at ~437GB, delete3d the .MKV's and shortly after returned to 463GB.
 
 This showed a few files that are still avi, and one that is named ".mkv.IF6Jkf", so not sure if this is a remnant of an interrupted process and is the temp fiel that avconv/ffmpeg creates and if so, where would the other ones be (just a guess)Code:find /your/path/ -type f -size +500M ! -iname "*.mp4" ! -iname "*.mkv" 
 
 thanks,
- 
	rm deletes files, period, it doesn't put files in the trash. Try to reboot the machine and do a df -h afterwards.rm to delete the movie and checked for "Trash" folder...still not there.
- 
	Assuming this is a remnant and that the naming is consistent tryThis showed a few files that are still avi, and one that is named ".mkv.IF6Jkf",
 If nothing is returned try running this on the root directory, this will require the use of sudo so be very careful.Code:find /your/path/ -type f -name "*.mkv.??????" 
 Code:find / -type f -name "*.mkv.??????" 
- 
	Well, now it's a complete mystery to me. 
 
 I used
 followed by thisCode:find -type f -iname ".*" -ls 
 Neither one showed me anything I hadn't seen before. I install "tree"Code:find -type d -iname ".*" -ls 
 I brought the list back over to my desktop, imported into Excel, filtered and started scanning...I noticed there were multiple instances of the .mkv and the .mp4 for the same file. Went back to the terminal to see how hard it would be to locate them, and now they are showing in the directory. I then ranCode:tree -h -A /videos > /videos/ouput.txt 
 and I'm back up to 493G free.Code:df -h 
 
 So as I said in the first line...a complete mystery to me. I had avconv running yesterday for 5 hrs straight till I killed it. Has it taken this long for Ubuntu file system to catch up?...
- 
	I guess it has to do with this 
 http://stackoverflow.com/questions/332629/rm-not-freeing-diskspace
 Maybe plex was still trying to read the files and delayed the free space recovery.
 
 Another possibility is that your hdd or filesystem is dying.
Similar Threads
- 
  Avconv.exe - trouble with downloadhelperBy WazaKrash in forum Video ConversionReplies: 8Last Post: 18th Oct 2015, 11:18
- 
  Dealing with Sony Vegas, and it's unstability, and recovering temp filesBy Jon.G in forum EditingReplies: 5Last Post: 24th Mar 2014, 16:18
- 
  subtitle forced flag lost with avconvBy bruchmann in forum Video ConversionReplies: 0Last Post: 13th Feb 2014, 08:18
- 
  Avconv Can not resample 6 channelsBy Beckend in forum Video ConversionReplies: 4Last Post: 20th May 2013, 21:34
- 
  DVD Flick Temp FilesBy jc daly in forum Authoring (DVD)Replies: 6Last Post: 16th Jul 2012, 23:33


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
