-
AVCHD on Linux
Hello guys !
I am trying to run a installation script for converting some .mts HD videos from my camcorder and getting some error message: /bin/csh: bad interpreter: Permission denied
I am just finding so difficulties to installing source. I tried to execute the SU (sudo su) command. I'm sure it's something completely simple that I don't know yet.
I hope,you all can help me to solve this problem.
-
Re: AVCHD on Linux
Hello dude !
The script that you are using contains some different and not acceptable by the Linux.You need to use some predefined and popular converter tool to convert the media files.
Here is the written procedure used:
1. The xporthdmv tool to convert the file into .mpv and .mpa files.
2. The ldecod to convert the .mpv file into a .yuv file.
3. Rename the .mpa file ldecod created to .ac3
4. Convert the .yuv file into a .y4m file using yuv4mpeg.
-
AVCHD on Linux
If you are a Linux user and got the media files to play in your Linux provided players but get failed to play those file then you have to perform the conversion operation using provided tools and if you feel necessary third party tools then you can use also.
There are some plug-in can be downloaded from the internet for Linux to use the files of the camcorder.
-
AVCHD on Linux
I got your question and spend a lot time to get something interesting related to this problem and then finally I got some different segments from different sites and then combined all those solutions.
This is one of the script which can help you and I have tested it for myself.
Code:
ffmpeg -i /tmp/FILE.y4m -i /tmp/FILE.ac3 -acodec copy -vcodec h264 -sameq -s 1440x1080 -aspect 16:9 -b 15000000 FILE.avi
After executing this script,it will produce some output.After this operation,I tried the mpegvideo code and it runs very successful.
-
AVCHD on Linux
These are some simple commands which you can use to convert the files according to the category and format of the file which can be supported by the Linux.
The codes are as follows-
Code:
1- xporthdmv -nh FILE.m2ts 1 1 1
2- ldecod -i bits0001.mpv -o /tmp/FILE.yuv
mv bits0001.mpa /tmp/FILE.ac3
yuv4mpeg -w 1440 -h 1080 -x 420mpeg2 < /tmp/FILE.yuv > /tmp/FILE.y4m
3- ffmpeg -i /tmp/FILE.y4m -i /tmp/FILE.ac3 -acodec copy -vcodec h264 -sameq -s 1440x1080 -aspect 16:9 -b 15000000 FILE.avi
If you all have some different suggestions and tricks then don't get hesitate to share with us.
Page generated in 1,750,045,157.57334 seconds with 10 queries