Ubuntu Need help with a video conversion script

2017-01-10  Source: Original Site  Category:Ubuntu  Views:166 

Advertisement

I am new to programing in linux, i have worked with c++ for a while though.

I am trying to make a simple program to take every single movie i have in a folder and convert it using mencoder, i have it working to run the commands,

i just need to know to get a list of all the files in the directory (im asuming ls or dir) and store them to a variable probably an array

Related articles
  • Ubuntu Need help with a video conversion script 2017-01-10

    I am new to programing in linux, i have worked with c++ for a while though. I am trying to make a simple program to take every single movie i have in a folder and convert it using mencoder, i have it working to run the commands, i just need to know t

  • Ubuntu Need help with very basic bash script 2013-06-02

    I'm trying to write a bash script that will help me automate my backups. I'm not really familiar with bash scripting so any help with the following would be much appreciated: I want to execute a command (that btw includes a bunch of arguments) and I

  • Ubuntu Need help with a large Bash script... 2014-05-15

    Well, I got Ubuntu 3 months ago. I enjoy it sure, way better then Windows. I program in C with Vim and use the terminal for complex shell scripts. Well, I am making a programming language with C, so I made a draft of the C program in a Shell script..

  • Ubuntu Need help with my video drivers (n00b) 2012-11-06

    I know everyone by now is really getting upset with all the n00b linux users such as me on the forums always bombarding the more experienced users for help but if you could please help me. My video card is "Intel Corporation 82852/855GM Integrated Gr

  • Ubuntu Need help with a very simple script for both nautilus and through bash 2013-01-23

    i'm trying to develop a simple script to convert my video files on my PC to files that can be more easily viewed on my Palm TX. i'm using ffmpeg, and have developed the exact parameters that i want to use to convert my videos, but i'm just having tro

  • Ubuntu Need help with embedded video in Firefox 2013-08-08

    I have been trying for hours on end to make video files play embedded within Firefox. I have tried different how-to's and support threads from the Ubuntu forums and I just cant seem to make it work. When I go to http://trailers.apple.com/trailers/ I

  • Ubuntu Need Help With 7-Zip Extracting Script 2013-12-23

    Well, I already have a feel for 7-Zip and how to get stuff extracted, except I'm trying to simplify things with a script and do things with a script instead of always writing it out in command line. I want to just be able to right click on a archive

  • Ubuntu Need help with very simple php script 2014-08-19

    This script im trying to create reads through every line of a file which includes blacklisted ip's. it then compares the time they got blacklisted with the current time. if its been 45 minutes i want the line removed from the file. i dont know php so

  • Ubuntu Need help with multiple video cards 2015-02-03

    So a few days ago, I got a nice projector for watching videos coming from my computer. After about an hour of tweaking my xorg.conf, I finally got it to work. Only, I'm using the second port on my Nvidia Quadro 900XGL, which is normally plugged into

  • Ubuntu Need help with Find and Replace script 2012-04-05

    I have a few .htm files that I would like to convert to XHTML standard. To do think I need to find for example <HTML> and replace it with <html> I did some googling: http://www.brunolinux.com/02-The_Terminal/Find_and%20Replace_with_Sed.ht

  • Ubuntu Need help with Audio/video Codecs 2012-04-27

    To start off, i have no linux expirience whatsoever. I'm trying to get an mp3 codec to install and went through several guides to use said mp3s, and cannot install it. One guide said i needed: gstreamer0.10-plugins-bad gstreamer0.10-gl gstreamer0.10-

  • Ubuntu Need help with a simple programming script 2013-09-15

    I have an application that I run that requires user input at regular intervals and I would like to automate the input (as it's quite repetitive) but I have absolutely no idea on how to do this. The application generates a window in GDM and what I wou

  • Ubuntu Need Help With Playing Video Files. 2013-11-16

    i've just installed ubuntu 2 days ago and absolutely love it. however, i' unable to play any video files. when i open the files, i get this error message. Totem could not play 'file:///home/davio/Desktop/116698_c1cf8_256k.wmv'. There were no decoders

  • Ubuntu need help with flash video 2014-01-25

    I successfully installed Edubuntu 7.10 for my 6-year-old, and most everything is working fine. Now he wants to watch beginner guitar videos at http://www.littlekidsrock.tv/. Firefox said I needed a plug-in so we installed Gnash and tested it with som

  • Ubuntu Need Help With Streaming Videos 2014-05-25

    For some apparent reason I cannot watch videos on Firefox. I am running Ubuntu 9.10 and I have Toshiba 64 bit laptop. I have installed the latest adobe flash player Can you help me?

  • Ubuntu Need help with streaming video's in mplayer 2014-09-07

    When I try to play streaming video from QVC or HSN the quality is very poor. QVC has very jerky playback and HSN has very poor A/V sync. The web sites in question are> QVC (http://www.qvc.com) and HSN (http://www.hsn.com/cnt/program_guide/default.

  • Ubuntu Need help with picture batch resizing script 2015-05-31

    Okay, so here's a background: I'm a hobbyist photographer, and I use Bibble 5 as my RAW converter on Linux. I've found that using a step resizing method helps retain sharpness in web-sized images: See here for more details: http://www.fredmiranda.com

  • Ubuntu Need help with Intel Video card + widescreen monitor 2012-01-15

    I am trying to switch from Windows to Linux. After looking at several distributions I decided on Ubuntu. I tried installing both Edgy Eft and Fiesty Fawn but run into the same problem in both (and all other Linux distros for that matter), I can't fig

  • Ubuntu Need help with Mythtv (videos/dvd) 2012-03-25

    So, yesterday I had some friends that came over to watch some dvds (internal player). Sadly, they did not play. When trying to open it up in Mplayer, it said I don't have the necessary plugins. Also, since i upgraded, lirc broke. >.< Can anyone

  • Ubuntu Need help with Intel video 2013-04-06

    I'm running Xubuntu 8.10. I have integrated Intel 810E graphics video and notice my machine does weird resolution things with it. Is there a driver for this somewhere?