![]() |
Help transcoding video with avconv
I'm trying to convert Blender Foundation videos into a format accepted by an oppo BDP-83 projector but I'm failing miserably and don't know how to proceed.
For instance, for Elephants Dream, I'm trying the following sequence of commands: Code:
avconv -y -i /home/mpn/FOSS-TGIF/blender/ED_HD.avi -pass 1 -passlogfile ED_HD \ And when trying analogous commands for Sintel no usable output is created. As a matter of fact, it would be ideal if for some of the content I could just pass it as-is. For instance, Sintel uses h264 for video and AAC for audio which both seem to be supported by BD player I'm interested it, yet the container is not, so all I really need is to move streams from one container to another. Any help would be greatly appreciated! |
Try:
Code:
ffmpeg -i input.mkv -vcodec libxvid -q:v 5 -s 640x272 -aspect 640:272 -r 23.976 -g 240 -bf 2 -acodec libmp3lame -ab 160k -ar 48000 -async 48000 -ac 2 -pass 1 -an -f rawvideo -y /dev/null |
Thanks! “-q:v 5” is what I needed.
I've also found “-c:a copy” which avoids transcoding (even though MPlayer was unable to seek correctly if audio stream has been copied, ie. seeking video worked fine but audio started from start each time). |
Which video are you trying to convert anyway ? The projector says it supports h264 and aac, and various different containers.
|
That is correct, but when the video is encoded using supported code it's in unsupported container and the other way around, so I could not find a working file.
|
To convert containers you just use '-vcodec copy' and '-acodec copy' and put the output format as needed.
|
All times are GMT -5. The time now is 04:44 PM. |