LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2007, 09:43 PM   #1
coldbeer
Member
 
Registered: May 2006
Location: Orion–Cygnus Arm, MWG
Distribution: Slackware, Ubuntu
Posts: 249

Rep: Reputation: 130Reputation: 130
Cool FYI: ffmpeg & Pure Digital PSV-351 Flip camcorder AVI files


FYI: Just wanted to document this issue here in case others run across it, since I just spent 5 hours figuring this out!

The Pure Digital PSV-351 Flip Camcorder is pretty popular (I just bought one ) but I had problems with the AVI files it produces and FFMPEG.

Here is the issue: the Flip camcorder creates an AVI file using microsoft mono 16000 Hz adpcm audio. When trying to use ffmpeg to convert this to any other format, the codecs see the pcm audio but seem to expect it to be stereo format. So the video is converted ok but the audio taken as stereo not mono and is converted to garbage.

So what I found finally that works is:
1)Strip out the audio (the "-acodec copy" param seems to be the only way to get the audio out of the flip avi):
ffmpeg -i flip.avi -vn -acodec copy flip_audio.wav

2)Convert the stripped out audio to a stereo format (with a wav file as the input, the codec *does* seem to recognize its mono and convert it correctly):
ffmpeg -i flip_audio.wav -acodec mp3 -ar 44100 -ab 192 -ac 2 flip_audio.mp3

3)Combine the orginal flip avi with the new stereo audio file and convert to the target video format (for compact format):
ffmpeg -i flip.avi -i flip_audio.mp3 -map 0:0 -map 1:0 combined_video.mp4
(or for ntsc-dvd compatible video):
ffmpeg -i flip.avi -i flip_audio.mp3 -map 0:0 -map 1:0 -aspect 4:3 -target ntsc-dvd my_dvd_video.mpg

Have a great day!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
avi to dvd with ffmpeg Synesthesia Linux - Software 9 03-06-2006 12:29 AM
is it possible to use a digital camcorder as a webcam matt_w_lambert Linux - Hardware 1 03-20-2005 02:46 PM
Getting digital video off a camcorder with USB BertBert Linux - Hardware 1 05-07-2004 10:09 PM
Digital camcorder, footage out through USB how? purplecow Linux - Hardware 1 03-27-2004 04:22 AM
IEEE 1394/Digital Camcorder MasterC Linux - General 2 04-21-2002 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration