PDA

View Full Version : FFMpeg transcoding problem


Othenan
30th September 2005, 15:40
Hi folks ,
I need some help for converting my .vob file to MPEG2 PS files with MPEG2 video & PCM audio and MPEG2 video & AAC audio respectively , using FFMPeg. I dont seem to get the audio to encode properly in both cases and it does not play well on different players available like WinDVD , Windows Media , PowerDVD on Windows( Files get created but do not play with audio or I just hear cracks & squeals) . Mpeg4 DirectShow filters are also installed and I am able to create & play aac files separately.

THe ffmpeg command I have used for AAC along with MPEG2 video is :
ffmpeg -i x.vob -f dvd -vcodec mpeg2video -acodec aac test.mpg.

The ffmpeg command I have used for PCM along with MPEG2 video is :
ffmpeg -i x.vob -f dvd -vcodec mpeg2video -acodec pcm_s16le test_pcm.mpg

The source .vob is MPEG2 video with AC3 audio.

I am using latest version of FFMPeg ( 0.4.9 pre 1) and shows the startup banner with --enable-faad --enable-faac --enable-a52 --enable-memalign-hack along with other options.

I would really appreciate if somebody could tell me what I am doing wrong which is peventing me from getting PCM , AAC audio with MPEG2 video .

Thanks
Othenan

Pookie
1st October 2005, 10:21
I like using FFMPEG from the command line for video encodes, but I think there are better command line tools for audio out there. Check out BatchDemux and bbtools - all command line demultiplexers. DgIndex will also do that from the command line.