How to keep ascpect ratio 16:9
How to keep ascpect ratio 16:9
Dear Steipal,
We are trying to transcode .mkv source files to .wmv taget, if we use Windows Media encoder files processed successful, but if we use Custom FFmpeg encoder it's fails to transcode, showing "Invalid file! Could not process."
I am using below ffmpeg command.
-vcodec wmv8 -qscale 4 -s 352x288 -r 25 -aspect 16:9 -acodec wma2 -ab 96k -ac 2 -ar 44000 -async 1 -vsync 1 -scodec copy
Please let us know if I am missing anything. Or let me know how can I keep aspect ratio 16:9 in Windows Media encoder?
Thanks
Vijay
We are trying to transcode .mkv source files to .wmv taget, if we use Windows Media encoder files processed successful, but if we use Custom FFmpeg encoder it's fails to transcode, showing "Invalid file! Could not process."
I am using below ffmpeg command.
-vcodec wmv8 -qscale 4 -s 352x288 -r 25 -aspect 16:9 -acodec wma2 -ab 96k -ac 2 -ar 44000 -async 1 -vsync 1 -scodec copy
Please let us know if I am missing anything. Or let me know how can I keep aspect ratio 16:9 in Windows Media encoder?
Thanks
Vijay
Re: How to keep ascpect ratio 16:9
Hi Vijay and thank you for using FFAStrans
Are you using the "A/V Decoder" and in that case, have you also added the "ChannelMapper"-filter?
-steipal
Are you using the "A/V Decoder" and in that case, have you also added the "ChannelMapper"-filter?
-steipal
Re: How to keep ascpect ratio 16:9
Yes I am using both "A/V Decoder" and "ChannelMapper"-filter, still I am getting that error. My source files are 720x576 16:9 and want to transcode them to 352x288 16:9 but after conversion I am getting 1.22 aspect ratio in Windows Media encoder. This is correct aspect ratio for 352x288 resolution but I wanted to keep the aspect ratio as source. Please advice.
Re: How to keep ascpect ratio 16:9
Can you please set "A/V Decoder" to "Full decoding"?
-steipal
-steipal
Re: How to keep ascpect ratio 16:9
Ok will try and let you know.
Re: How to keep ascpect ratio 16:9
I've found the bug: Your ffmpeg-parameters are not valid. There is no such thing as "wmv8" or "wma2" encoders. The correct should command line should be:
-vcodec wmv2 -qscale 4 -s 352x288 -r 25 -aspect 16:9 -acodec wmav2 -ab 96k -ac 2 -ar 44000 -async 1 -vsync 1 -scodec copy
Please consult the latest version of ffmpeg on correct usage. http://www.ffmpeg.org/documentation.html
-steipal
-vcodec wmv2 -qscale 4 -s 352x288 -r 25 -aspect 16:9 -acodec wmav2 -ab 96k -ac 2 -ar 44000 -async 1 -vsync 1 -scodec copy
Please consult the latest version of ffmpeg on correct usage. http://www.ffmpeg.org/documentation.html
-steipal
Re: How to keep ascpect ratio 16:9
Thanks Steipal.... it's worked.
I also wanted to move source files to job completed folder once the trascode is finish, is it possible?
I have found Backup Original option but backup folder path is default and disabled, can we enable it manually to change the location?
Please advice.
I also wanted to move source files to job completed folder once the trascode is finish, is it possible?
I have found Backup Original option but backup folder path is default and disabled, can we enable it manually to change the location?
Please advice.
Re: How to keep ascpect ratio 16:9
Glad it worked
You can move originals by combining several options:
1. Unselect the "Set as global across workflows"-option under main "Configuration"
2. Select "Backup original" and "Delete original" under the "Maintainance"-tab in the workflow configuration.
3. Unselect "Use default" in the same "Maintainance"-tab.
Now you can set destination folder for the originals to be moved.
-steipal
You can move originals by combining several options:
1. Unselect the "Set as global across workflows"-option under main "Configuration"
2. Select "Backup original" and "Delete original" under the "Maintainance"-tab in the workflow configuration.
3. Unselect "Use default" in the same "Maintainance"-tab.
Now you can set destination folder for the originals to be moved.
-steipal
Re: How to keep ascpect ratio 16:9
Steipal I am not able to move the source files to require path it's still moving to work folder path and it's creating sub-folder under the specified path (.backup_20150427-154715-884-8F7D5FE5)
I also wanted to rename the file as per below.
My source file name is "Test Sample.mkv" and wanted to rename it as "Test Sample_27_04_2015_HH_MM_SS.wmv". I want to add time stamp from the source file properties Modified date and time option.
I also wanted to rename the file as per below.
My source file name is "Test Sample.mkv" and wanted to rename it as "Test Sample_27_04_2015_HH_MM_SS.wmv". I want to add time stamp from the source file properties Modified date and time option.
Re: How to keep ascpect ratio 16:9
I'm very sorry but I have seem to misinterpret my own software
My method does not work. It will create the ".backup...." folder when the "Backup original" is checked. That was a good thing at a time but now that you can create your own unique folders based on time variables you really don't need that hard coded functionality. I will remove it in the next release so that the ".backup" folder cannot be created.
BUT, you won't be able to manipulate the file that is moved. At least not yet you want. That's not a bug, rather a lack of feature. However, now that the issue has come to my attention it makes sense to be able to perform a name change on the moved file. So I will look at this in a future release.
-steipal
My method does not work. It will create the ".backup...." folder when the "Backup original" is checked. That was a good thing at a time but now that you can create your own unique folders based on time variables you really don't need that hard coded functionality. I will remove it in the next release so that the ".backup" folder cannot be created.
BUT, you won't be able to manipulate the file that is moved. At least not yet you want. That's not a bug, rather a lack of feature. However, now that the issue has come to my attention it makes sense to be able to perform a name change on the moved file. So I will look at this in a future release.
-steipal