QuickTime | 1 Dec 02:27
Picon

Re: Help converting videos for MS Zune

 Dear:

Two months ago, I found the wmv with mp3 encoding was broken

try
 --- libavformat/asf-enc.c (r 11084)
+++ libavformat/asf-enc.c (working)
@@ -366,7 +366,10 @@
         hpos = put_header(pb, &stream_header);
         if (enc->codec_type == CODEC_TYPE_AUDIO) {
             put_guid(pb, &audio_stream);
-            put_guid(pb, &audio_conceal_spread);
+            if(enc->codec_id == CODEC_ID_MP3 || enc->codec_id ==
CODEC_ID_MP2)
+                put_guid(pb, &video_conceal_none);//compatible with Windows
Media Player
+            else
+                put_guid(pb, &audio_conceal_spread);
         } else {
             put_guid(pb, &video_stream);
             put_guid(pb, &video_conceal_none);

Good luck!

>
> I'm looking for some help converting a bunch of videos for my son's new
> Zune. If use MS Movie Maker to do the conversion the file specs end up
> like this:
>
> File Type: ASF (.WMA/.WMV)
(Continue reading)

matthieu castet | 1 Dec 10:38
Picon
Favicon

Re: How to close stuff initialized by av_open_input_stream

Mark Walker <furface <at> omnicode.com> writes:

> 
> Have you tried av_free?  Since there's no open file, then you don't need 
> to close anything.  You just need to free the memory???
> 
Yes but how I free all the memory that was allocated by intern function of 
ffmpeg. If you look at av_close_input_file code, you will see it does lot's 
of stuff for freeing everything.

Is there some example using av_open_input_stream ?

Thanks

Matthieu
Turbo Fredriksson | 1 Dec 22:07

No video output in WAV output

I'm trying to get FireFly/mt-daapd to provide my
AVI files.

With a little hacking in the database and config file,
I manage to get my AVI's provided and 'converted'.

BUT... Apparently iTunes need to have the file in WAV
formate (FireFly is converting ALL files - including MP3's
- to WAV). This is perfectly ok exept for video.

I can't get any video. The audio part plays just fine,
but not the video.

----- s n i p -----
FFmpeg version SVN-r11114, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-pthreads --enable-libvorbis --enable-liba52
--enable-libgsm --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264
--enable-libxvid --enable-libdc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Nov 30 2007 22:29:07, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Input #0, avi, from '/share/Movies/tmp/Filename.avi':
  Duration: 01:43:19.4, start: 0.000000, bitrate: 946 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 640x240 [PAR 1:1 DAR 8:3], 25.00 tb(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s
Output #0, wav, to 'pipe:':
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
(Continue reading)

Damon Timm | 2 Dec 04:15
Picon

2 Pass Encoding Issue

Hello,

Am new to the list though I have used ffmpeg a bit on and off over the
years.  Just getting started again and ran into an issue -- I am running
ffmpeg on Mac OS X via the MacPorts installation (SVN-r9102).  Here is the
problem:

When I add the -pass 2 flag I get an "Error while opening codec for output
stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or
height" -- which I don't get with the same options minus the -pass 2.  Am
not sure how to troubleshoot this or what the problem is, exactly, and
wondering if someone might be able to help.  I am including two test runs --
one without the -pass 2 and the other with it ... so you can see the
difference.

Any help is greatly appreciated!  Thanks in advance.

*********************************
NUMBER 1 (no -pass flag):
**********************************

$ ffmpeg -i NOYBTV-Idol-WIDE -f flv test1.flv
FFmpeg version SVN-r9102, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/opt/local --prefix=/opt/local --disable-vhook
--mandir=/opt/local/share/man --enable-shared --enable-pthreads --enable-gpl
--enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libtheora
--enable-xvid --enable-x264
  libavutil version: 49.4.0
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
(Continue reading)

Muneeb Dawood | 2 Dec 17:51
Picon
Favicon

Re: uvc webcam capture and display

Thanks for the reply

yes I have tried using the given method but ffplay is unable to play rtp stream. 

Mark Walker <furface <at> omnicode.com> wrote: This person seems to have gotten it to work, but with problems.
http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-May/008592.html

Muneeb Dawood wrote:
> Hi All
>
> I want to use ffmpeg to capture and display live video from uvc based webcam. I have tried searching the
ffmpeg docs but  i havnt been able to find command to capture and display live stream from uvc webcam using
ffmpeg. I would be grateful if anybody can guide me in this regard
>
> Thanks
>
>
> Muneeb
>        
> ---------------------------------
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user <at> mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
>
>   

_______________________________________________
ffmpeg-user mailing list
(Continue reading)

Yohann Martineau | 2 Dec 18:02
Picon
Gravatar

Re: uvc webcam capture and display

Le dimanche 02 décembre 2007 à 08:51 -0800, Muneeb Dawood a écrit :
> Thanks for the reply
> 
> yes I have tried using the given method but ffplay is unable to play rtp stream. 
> 
> Mark Walker <furface <at> omnicode.com> wrote: This person seems to have gotten it to work, but with problems.
> http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-May/008592.html
> 
> 
> 
> Muneeb Dawood wrote:
> > Hi All
> >
> > I want to use ffmpeg to capture and display live video from uvc based webcam. I have tried searching the
ffmpeg docs but  i havnt been able to find command to capture and display live stream from uvc webcam using
ffmpeg. I would be grateful if anybody can guide me in this regard
> >
> > Thanks
> >
> >
> > Muneeb
> >        

please stop top posting and look for top posting in wikipedia to
understand what it means if you don't know.

and another thing, look at previous mails... I sent the answer
previously:

ffmpeg -i udp://@?local_port=1243 [...]
(Continue reading)

Dmitri | 2 Dec 18:14

what does the start value mean?

Hello

Can someone tell me what do the 'start 4.000000' mean in this line?
This is on of the line from the ffmpeg output:

Duration: 00:03:40.3, start: 4.000000, bitrate: 502 kb/s

--

-- 

Open Source ALL content management
with streaming video
http://wiki.sharedlog.com
Tobias Brockamp | 2 Dec 20:55
Picon
Picon

Re: iPhone and H264

the iphone plays only h264 which comply with the specs:

http://www.apple.com/iphone/specs.html

this could also be helpful:
	
http://rob.opendot.cl/index.php/useful-stuff/ipod-video-guide/

Am 18.11.2007 um 00:32 schrieb Phenpa2g:

> Hey there,
>
> I have been using ffmpeg on a school project to compile video  
> samples using
> the h264 codec for use on the Apple
> Iphone. I use the -vcodec h264  option and the file compiles  
> perfectly. Its
> playable by Quicktime, however when I
> go to install it on the iPhone through iTunes, I get an error  
> message saying
> the file format is not supported.
> When I used the -vcodec mpeg4 option, the video installs and plays  
> fine on
> the iPHone.
>
> I was wondering if you could explain why this is. The iPHone claims  
> to be
> able to play H264 video but video files
> made with ffmpeg are not accepted.
>
(Continue reading)

Dmitri | 2 Dec 22:14

what is bitrate tolerance here?

Hello!

I am trying to extract images from a movie in order to create animated 
gif from them.

First I calculated the frame rate based on number of images I want and 
the total number of frames in the movie.
Then I entered this command:

usr/local/bin/ffmpeg -i 
"/usr/local/apache/sites/imglog.com/private/14692-b2_istoria.wmv" -y -ss 
3 -an -sameq -f image2 -r 0.023009664058905 
/usr/local/apache/sites/imglog.com/img/tmp/14692%03d.jpg

I get an error:
# bitrate tolerance too small for bitrate

This does not happen all the time, with some clips it works fine, but 
with this particular one I am getting this error.

What is the bitrate tolerance and is there some option that I can try to 
add to make this command work?

Thanks.

--

-- 

Open Source ALL content management
with streaming video
http://wiki.sharedlog.com
(Continue reading)

Michel Bardiaux | 2 Dec 22:38
Picon

Re: 2 Pass Encoding Issue

Damon Timm wrote:
> Hello,
> 
> Am new to the list though I have used ffmpeg a bit on and off over the
> years.  Just getting started again and ran into an issue -- I am running
> ffmpeg on Mac OS X via the MacPorts installation (SVN-r9102).  Here is the
> problem:
> 
> When I add the -pass 2 flag I get an "Error while opening codec for output
> stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or
> height" -- which I don't get with the same options minus the -pass 2.  Am
> not sure how to troubleshoot this or what the problem is, exactly, and
> wondering if someone might be able to help.  I am including two test runs --
> one without the -pass 2 and the other with it ... so you can see the
> difference.
> 
> Any help is greatly appreciated!  Thanks in advance.
> 
> *********************************
> NUMBER 1 (no -pass flag):
> **********************************

[snip]

> *********************************
> NUMBER 2 (with -pass flag):
> **********************************
> 
> $ ffmpeg -i NOYBTV-Idol-WIDE -f flv -pass 2 test2.flv

(Continue reading)


Gmane