10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I was inquiring myself if it's possible to call ffmpeg in loop, an in each iteration, ffmpeg will pick one of the files in a directory and produce a new with a slightest different name. Can be as simple as a '*' in the beginning of the file name.
I know how to use ffmpeg to do the... (2 Replies)
Discussion started by: colt
2. Shell Programming and Scripting
I have two files with me file1.txt and file2.txt
ccc is related to 333 only, bbb is related to 222 only and aaa is related to 111 only.
I have to get the values from each of the file and pass them in the URL... (3 Replies)
Discussion started by: ankur328
I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg.
I ran below code:
ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \
-c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4
When I play it in VLC,... (2 Replies)
Discussion started by: baris35
4. Shell Programming and Scripting
I am writing in a file through cat command. This file will contain the path of file along with filename. e.g. /home/user/folder1/folder2/filename.txt
There might be very large number of this path in same file like say 140
when I try to run while command:
while read -r file
//command... (8 Replies)
Discussion started by: Pulkit Lall
5. Shell Programming and Scripting
I need small help on for loop syntax in C shell.
How can we read the values from a file (line by line) through C shell loop.
I have to print those values in a variable and have to perform some steps...
Can anyone help on... (2 Replies)
Discussion started by: raghu.iv85
6. Shell Programming and Scripting
I am on HP-UX and K shell.
When I am using while/for loop for reading a file. It is working fine but not reading tabs:
Suppose, if the line is: ; ;COMP; ; ; ;
then loop is reading as
; ;COMP; ;... (5 Replies)
Discussion started by: ezee
7. Shell Programming and Scripting
I know I should be able to see a way of doing this easily, but my brain just won't engage.
I have a script working on an embedded device that checks to see if an item is in a blacklist before performing some actions.
At the moment the code reads thus....
while read BLACKLIST ; do
... (7 Replies)
Discussion started by: Bashingaway
I am building a script to grep for a string in all the files from a folder and display the results.
I am reading the files one by one by placing the names in other file using while loop
my code is as below
while read inp
chk=`grep -c "$str" $pth/$inp`
... (2 Replies)
Discussion started by: sekhar gajjala
9. Shell Programming and Scripting
Hi Friends ,
Sorry if this is a repeated question ,
The input file contains 5 lines , so the the values of the variables i and count should b
but the variables are not updating , the value of variables showing i=0 and count =0 only.:mad:
can any1 help me please. (11 Replies)
Discussion started by: babusek
10. UNIX for Dummies Questions & Answers
To make it clearer:
I have a file, List.txt
List.txt contains: (these are actually splitted files w/c I got from ls command and dump them to the List.txt file)
And I want to rename these files to have a .dat extension.... (3 Replies)
Discussion started by: JohnBalayo