Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th November 2021, 13:25   #1  |  Link
rupeshforu3
Registered User
 
rupeshforu3's Avatar
 
Join Date: Mar 2021
Posts: 88
Ffmpeg wrong compression video resolution changed as I have not expected.

Hi I am Rupesh from India and I have a PC with windows and Linux installed. I have a MP4 video file with size 460 mb of length 4 minutes 20 seconds.

I have compressed this particular file using ffmpeg guis called format factory in windows and tragator in Linux. Unfortunately the video resolution of output file is inverted.

Actually the original video file resolution is 1920\*1080 with aspect ratio 16:9 with video bitrate as 15 mbps. This file is captured from android smartphone OnePlus which has Qualcomm Snapdragon 860 processor.

The output file video resolution is 1080\*1920.

First i have tried to convert in windows and after that I have converted the same file in Linux. The output file video resolution is same in both cases. In both cases I have selected video bitrate as 400 kbps.

After that I have opened hand brake and I have tried to change the settings for the output file. I mean I have tried to select resolution as 1920\*1080 but failed. The handbrake is always taking the resolution as 1080\*1920.I have tried to make such changes in dimensions section under the fields width and height.

Please try to suggest how I can compress the video file in my current PC.

Regards,
Rupesh.

Sent from my LM-G710 using Tapatalk
rupeshforu3 is offline   Reply With Quote
Old 29th November 2021, 14:27   #2  |  Link
rupeshforu3
Registered User
 
rupeshforu3's Avatar
 
Join Date: Mar 2021
Posts: 88
I have compressed this particular video file in my lmg710eaw lg g7 smartphone using ffmpeg gui ffmpeg media encoder and surprisingly I got what I want.

But I can't achieve what I want in windows and Linux PC.

Sent from my LM-G710 using Tapatalk
rupeshforu3 is offline   Reply With Quote
Old 29th November 2021, 16:04   #3  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 534
maybe this ffmpeg in windows cmd:

ffmpeg -i input.mp4 -aspect 1920:1080 -c copy output.mp4
varekai is offline   Reply With Quote
Old 29th November 2021, 16:22   #4  |  Link
rupeshforu3
Registered User
 
rupeshforu3's Avatar
 
Join Date: Mar 2021
Posts: 88
Can you specify command with 400 kbps video bitrate

Sent from my LM-G710 using Tapatalk
rupeshforu3 is offline   Reply With Quote
Old 1st December 2021, 15:41   #5  |  Link
rupeshforu3
Registered User
 
rupeshforu3's Avatar
 
Join Date: Mar 2021
Posts: 88
I have resolved this issue in PC and how I done I am giving below.

First i have opened the ffmpeg media encoder in my android smartphone and tried to convert a small video file and fortunately this app has option to view all options in command window.

After that I have noted down the command in pc notepad and after that I have issued the command in the windows command prompt and Linux terminal emulator.

The quality of output video file generated is very good. The fact is that the quality of video file generated using ffmpeg guis like format factory and tragator is not good as the quality of video file generated by ffmpeg command itself.

I am giving the command seen in the android smartphone as below

ffmpeg -y -i "/storage/emulated/0/FFMPEG/to convert/sample.mp4" -c:v libx265 -b:v 400k -c:a libfdk_aac -b:a 64k -ar 44100 "/storage/emulated/0/FFMPEG/sample.mp4"

Sent from my LM-G710 using Tapatalk
rupeshforu3 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.