Search results

  1. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    Thanks for your research upon me. I have created small ffmpeg scripts for myself and found useful and so I thought that these may be useful to you also and so I made visible to all of you. Previously I have said a lot that using ffmpeg gui is not always recommend but you have not received it...
  2. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    Hi the main reason behind creating these scripts is to reduce the size group of video files. These scripts must be modified by people who are experts in video encoding concepts and distribute to others. Upto now there are lot of guis for ffmpeg tool but there are no proper scripts. Using guis...
  3. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    At present I am able to achieve what I want using the scripts provided by me. If you want to encode with details such as subtitles, mono Dolby etc., and you have time try to read manuals of ffmpeg, ffprobe which are short. ffprobe is an useful tool and can be used to get properties of input...
  4. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    In the scripts I have provided I used the variable $br which represents video bitrate. If you want to use your own just replace $br with what you want. Running processor at 99 percent is not good as it raises temperature. Every cpu has specifications that say if you run above suppose 70 degrees...
  5. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    Ok thanks for your clarification. My source files which are downloaded from YouTube and captured from android smartphone are mostly x264 only. I thought x265 offers good quality at small file size and it's true. Another interesting fact is that there is some work going on related to x266 and...
  6. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    I have downloaded an video file from YouTube in my android smartphone and after that I have copied it to my system and tried to compress. At first I have seen the properties of the above video file in media info tool and noticed that video codec used is x264 and video bitrate is 260 kbps. Audio...
  7. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    500 kbps or 1000 kbps is enough to mp4 video file. The video captured from android smartphone consists of 18 mbps. So if you use crf 24 or crf 27 options the output video bitrate will be 5 mbps. Definitely the output video file size will be less. If you pass 500 kbps or 1 mbps to the video...
  8. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    My opinion is The main role of reducing the output file size is the video bitrate passed to the x265 encoder. If crf is set lower higher video bitrate is passed to x265 encoder while crf is set higher lower video bitrate is passed to x265 encoder. When crf option is used one cannot specify...
  9. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    As I have already stated mp4 video file consists of both video and audio. If you see the reduction of output file size then the audio stream might have compressed with lower audio bitrate not video stream. At present try to convert any x264 video file of size 100 mb with crf 20 option. After...
  10. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    My experiences are as follows. I thought that converting x264 mp4 to x265 mp4 file would reduce the memory space to half but it's not true. The source file and compressed file are of same size and some times output video file size is greater than source file. There are two streams in any video...
  11. R

    Linux Linux shell scripts and ffmpeg builds for you to compress mp4 video file according to your needs.

    Hi I am Rupesh from India and I have some mp4 video files which are downloaded from YouTube and captured from android smartphone camera. I have compressed these files using ffmpeg script and I am providing to you which may help you to do the same. Generally these files are of large size...
  12. R

    How to work with ffmpeg tool and scripting with file names containing non ASCII characters.

    Hi ffprobe tool can be used to extract the bitrate of the source input mp4 video file which later can be used in ffmpeg command as below. ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1 input.mp4 Actually the above process is working with one...
  13. R

    How to work with ffmpeg tool and scripting with file names containing non ASCII characters.

    I have solved this issue by the following option -cpucount 3 Where my processor consists of 4 cores. Another issue is suppose the input mp4 video file consists of bitrate 160 kbps then after converting this particular file the output mp4 video file consists of bitrate 250 kbps. In the above...
  14. R

    How to work with ffmpeg tool and scripting with file names containing non ASCII characters.

    How to limit the cpu usage while running ffmpeg tool and x265 in Linux
  15. R

    Encoding errors from ffmpeg x265 pass 2 which succeeded in pass 1.

    Can you say what is the meaning of the following option -profile:v main --preset medium Does the above option helps producing quality output.
  16. R

    Encoding errors from ffmpeg x265 pass 2 which succeeded in pass 1.

    I thought that pass 2 encoding and command line tools like ffmpeg, x265 produces more quality output than guis.
  17. R

    Encoding errors from ffmpeg x265 pass 2 which succeeded in pass 1.

    Hi I am Rupesh from India and I have a PC with Linux installed and I have large size YouTube and WhatsApp MP4 files with codec x264. I want to convert these files into MP4 files with codec x265. I have tested to convert these files using ffmpeg command x265 pass 1 and Linux shell script and I...
  18. R

    How to work with ffmpeg tool and scripting with file names containing non ASCII characters.

    Ok do you mean that handbrake is better than ffmpeg. There are other tools like x media recode, avidemux etc. Which is best among these I think that the file converted using command line tool has high quality than the ones converted by guis.
  19. R

    How to work with ffmpeg tool and scripting with file names containing non ASCII characters.

    As you said I am providing the conetnts of the file which consists of non ASCII characters below గోదా దేవి చరిత్ర _ Unknown old history of goda devi _ Tirumala _ United original.mp4 గోవిందరాజస్వామి vlog _ Tirumala sri govindaraja swamy temple _ dhasaavathaaram history ( 240 X 426 ).mp4 I am...
  20. R

    How to work with ffmpeg tool and scripting with file names containing non ASCII characters.

    Hi I have copied script code from Linux tutorial and ffmpeg x265 help page. The ffmpeg x265 link is https://trac.ffmpeg.org/wiki/Encode/H.265 I am listing the code as below for i in *.mp4; do name=`echo $i | cut -d'.' -f1`; echo $name; ffmpeg -y -i "$i" -c:v libx265 -x265-params pass=1 -an -f...