osdir.com
mailing list archive

Subject: Reverse Audio and Video - msg#00148

List: video.ffmpeg.user

Date: Prev Next Index Thread: Prev Next Index
Is there any way with FFMpeg to encode an ASF file with the audio
stream first, and then the video stream? It seems that the Mustek
PVR-A1 personal media center can only play files encoded that way. I
have AVI videos where the first stream is video and the second is
audio, and I need an ASF with the first stream as audio and the second
as video.

-Brian Cornell


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Crackling audio

Hi On Friday 24 December 2004 12:37, Mike Kordik wrote: > On Fri, 2004-12-24 at 11:18 +0100, Erik Slagter wrote: > > On Thu, 2004-12-23 at 12:18 -0500, Mike Kordik wrote: > > > On Thu, 2004-12-23 at 18:11 +0100, Erik Slagter wrote: > > > > On Thu, 2004-12-23 at 12:06 -0500, Mike Kordik wrote: > > > > > > > > All I wanted to do was to extract a subset of the movie to > > > > > > > > another, shorter, movie. > > > > > > > > > > > > > > Use mpgtx. Or use ffmpeg with -ss and -t. > > > > > > > > > > > > Why do it difficult if you can do it graphically, with avidemux2? > > > > > > > > > > I started with avidemux2 but I couldn't get any audio from my > > > > > mpegs. The information dialog message in avidmux2 showed that there > > > > > is no audio in my mpeg so I tried kino. > > > > > > > > Then, what audio codec is used in your "mpg", according to ffmpeg or > > > > e.g. tcprobe? > > > > > > tcprobe -i > > > > > > [tcprobe] MPEG program stream (PS) > > > [tcprobe] summary for {King of the Hill}{2000-04-09}{Hank's Bad Hair > > > Day}{06.30 PM Wed Dec 22, 2004}{WRGT}.mpg, (*) = not default, 0 = not > > > detected import frame size: -g 480x480 [720x576] (*) > > > aspect ratio: 4:3 (*) > > > frame rate: -f 29.970 [25.000] frc=4 (*) > > > PTS=0.1780, frame_time=33 ms, bitrate=5800 kbps > > > audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] > > > (*) PTS=0.1587, bitrate=192 kbps > > > -D 0 --av_fine_ms 19 (frames & ms) [0] [0] > > > > Ow, sorry, tcprobe doesn't say what audio codec is used. What does > > ffmpeg say? > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Ffmpeg-user mailing list > > Ffmpeg-user@xxxxxxxxxxxxxxxxxxxxx > > https://lists.sourceforge.net/lists/listinfo/ffmpeg-user > > Erik, > I really appreciate your help. This is the output of my file from > ffmpeg: > > ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice > Bellard > built on Dec 23 2004 09:02:56, gcc: 3.4.3 20041125 (Gentoo Linux > 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) > Input #0, mpeg, from 'mymovie.mpg': > Duration: 00:29:50.7, bitrate: 5257 kb/s > Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps > Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s > > I am embarrassed to say that I was playing with avidemux again to see if > it would work on a different file and I noticed a dialog that I didn't > see when I loaded the movie that I wanted to edit. It asked me which > audio channel and codec to use. So, I deleted the .mpg.idx file and > reloaded my movie and I saw the dialog and chose scan audio. I used > avidemux to edit my file and that worked great. No crackling audio! I > just didn't notice it the first time. > > Too bad ffmpeg didn't work though. Maybe I had the wrong settings. I am > still curious about the crackling audio. upgrade to cvs, if the problem persists upload (part of) the problematic file [...] -- Michael "I do not agree with what you have to say, but I'll defend to the death your right to say it." -- Voltaire ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

Next Message by Date: click to view message preview

Re: Reverse Audio and Video

On Sun, Dec 26, 2004 at 04:02:06PM -0600, Brian Cornell wrote: > Is there any way with FFMpeg to encode an ASF file with the audio > stream first, and then the video stream? It seems that the Mustek > PVR-A1 personal media center can only play files encoded that way. I > have AVI videos where the first stream is video and the second is > audio, and I need an ASF with the first stream as audio and the second > as video. this question makes no sense. in asf files, audio and video are always interleaved. avi is supposed to be interleaved too, but some very broken software creates noninterleaved avi file (an oxymoron..) and technically they're valid files which can be played by most software. if you really need such broken crap i suggest you write your own remuxer to do it. but first you need to figure out which is it you want: asf or avi? and then, you need to ask yourself what the real reason is why this mustek thing can't play your files. i _really_ doubt it's the reason you think... rich ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

Previous Message by Thread: click to view message preview

Crackling audio

I have an mpeg that I wanted to extract a scene from. I used kino to do that but it doesn't read mpegs. After looking through the kino forums I found a post that said to use: ffmpeg -i infile.mpg -s ntsc -ac 2 -ar 48000 outfile.dv This gave me a file that kino could read and edit. Unfortunately the .dv file has crackling (popping) audio. The original mpeg does not have this problem. I also used ffmpeg to convert to a vob and also to an avi and there was no crackling audio so it appears it is related to my command line above or converting to the dv format. I am brand new to video format conversion and editing so if there is a better/easier way I would like to know. All I wanted to do was to extract a subset of the movie to another, shorter, movie. Thanks Mike -- Mike Kordik <Mike@xxxxxxxxxx> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

Next Message by Thread: click to view message preview

Re: Reverse Audio and Video

On Sun, Dec 26, 2004 at 04:02:06PM -0600, Brian Cornell wrote: > Is there any way with FFMpeg to encode an ASF file with the audio > stream first, and then the video stream? It seems that the Mustek > PVR-A1 personal media center can only play files encoded that way. I > have AVI videos where the first stream is video and the second is > audio, and I need an ASF with the first stream as audio and the second > as video. this question makes no sense. in asf files, audio and video are always interleaved. avi is supposed to be interleaved too, but some very broken software creates noninterleaved avi file (an oxymoron..) and technically they're valid files which can be played by most software. if you really need such broken crap i suggest you write your own remuxer to do it. but first you need to figure out which is it you want: asf or avi? and then, you need to ask yourself what the real reason is why this mustek thing can't play your files. i _really_ doubt it's the reason you think... rich ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by