[FFmpeg-user] How to use ffserver to provide a valid source for Window Media Services 2008

2014-07-16 Thread 曾若瑜
Hi, I'm using ffserver (ffmpeg 2.2.2) with this config -- Feed feed1.ffm Format asf NoVideo AudioCodec wmav2 AudioChannels 2 AudioBitRate 128 AudioSampleRate 44100 StartSendOnKey AVOptionAudio flags +global_header -

[FFmpeg-user] mp3 duration is not correct

2014-07-16 Thread Abu Abdullah
Hi i have this file which is giving wrong duration (6 sec where it is 54 sec): http://www.maknoon.com/download/audios/quran/alafasy/114.mp3 ffmpeg -i 114.mp3 ffmpeg version N-64711-gfa6716c Copyright (c) 2000-2014 the FFmpeg developers built on Jul 16 2014 22:02:05 with gcc 4.8.3 (GCC) config

Re: [FFmpeg-user] Changing the Quicktime "Format" visible in Quicktime Player

2014-07-16 Thread Joakim Ziegler
Ok, thank you. This doesn't sound very hard to do myself (I'll probably just do it afterwards instead of changing the ffmpeg code, so I don't have to maintain that patch). If I could make a suggestion, it might be something that would be good to have in ffmpeg, though, perhaps as a part of -m

Re: [FFmpeg-user] Changing the Quicktime "Format" visible in Quicktime Player

2014-07-16 Thread Marcus Johnson
you can't, it's hardcoded, you yourself can in your program that you're calling the libX functions with make a function that writes "H.264" to the encoder field after it's finished, it wouldn't really be that hard to do. or you could create a script to replace the bytes at X to Y with string Z, ju

Re: [FFmpeg-user] Transcode videos

2014-07-16 Thread Steve Boyer
On Wed, Jul 16, 2014 at 10:17 AM, Felipe Lacerda wrote: > Hello, > Hi! > > I'm arrested in this part of installation below, can you help me please? > I'll do my best! > > root@s5-ul [~]# ffmpeg --prefix=/usr/local/cpffmpeg --enable-shared > --enable-nonfree --enable-gpl --enable-pthreads --en

Re: [FFmpeg-user] libx264 vs android 4.4

2014-07-16 Thread Patrick Shirkey
On Wed, July 16, 2014 11:33 pm, Carl Eugen Hoyos wrote: > Patrick Shirkey boosthardware.com> writes: > >> Output #0, h264, to 'http://localhost:8090/feed1.ffm': > >> av_interleaved_write_frame(): Connection reset by peer > > It appears that whatever you setup to receive your > stream does not lik

Re: [FFmpeg-user] Transcode videos

2014-07-16 Thread Felipe Lacerda
Hello, I'm arrested in this part of installation below, can you help me please? root@s5-ul [~]# ffmpeg --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enab

Re: [FFmpeg-user] libx264 vs android 4.4

2014-07-16 Thread Carl Eugen Hoyos
Patrick Shirkey boosthardware.com> writes: > Output #0, h264, to 'http://localhost:8090/feed1.ffm': > av_interleaved_write_frame(): Connection reset by peer It appears that whatever you setup to receive your stream does not like the h264 format. (Maybe the receiving end expected ffm?) Carl Eu

Re: [FFmpeg-user] Bug in I-Frame Retrieval?

2014-07-16 Thread Zbigniew Zdziarski
On 16-07-2014 14:21, Carl Eugen Hoyos wrote: Zbigniew Zdziarski cs.tcd.ie> writes: Here's the command to use if you want to keep the frame rate the same as the input frame rate: ffmpeg -i vid3.mp4 -vf select='1',setpts='N/([OUTPUT_FRAME_RATE]*TB)' %04d.png Did you try -vsync 0 ? Carl Euge

Re: [FFmpeg-user] processing of mxf videoclips with ffmpeg

2014-07-16 Thread Carl Eugen Hoyos
Pawel Por gmail.com> writes: > ffmpeg -i flowers.mxf -ss 0 -t 4 -c copy -y out.mxf How can I reproduce A/V desync with this sample? If you want to provide another sample, please either use http://www.datafilehost.com/ or read https://ffmpeg.org/bugreports.html (there is no filesize limit).

Re: [FFmpeg-user] Bug in I-Frame Retrieval?

2014-07-16 Thread Carl Eugen Hoyos
Zbigniew Zdziarski cs.tcd.ie> writes: > Here's the command to use if you want to keep the frame > rate the same as the input frame rate: > ffmpeg -i vid3.mp4 -vf select='1',setpts='N/([OUTPUT_FRAME_RATE]*TB)' > %04d.png Did you try -vsync 0 ? Carl Eugen __

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Roger Pack
On Thu, Jul 10, 2014 at 6:42 AM, Rickoo wrote: > Hi everyone, > > Im trying to write a bitbake recipe for crossbuilding ffmpeg2.1.1 for arm > (Colibri-t20), i wrote this simple recipe: > > SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"; > SRC_URI[md5sum] = "294749b2ebdd22ef7d9b9d

Re: [FFmpeg-user] libx264 vs android 4.4

2014-07-16 Thread Patrick Shirkey
On Wed, July 16, 2014 10:56 pm, Carl Eugen Hoyos wrote: > Patrick Shirkey boosthardware.com> writes: > >> ffmpeg -f fbdev -r 1 -i /dev/graphics/fb0 -vcodec libx264 >> -f h264 -preset:v slow -pix_fmt yuv420p >> http://localhost:8090/feed1.ffm > > I don't know your use case but I wonder if a faster

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > | ERROR: oe_runmake failed What is oe_runmake ? Note that the other files it cannot find are part of the FFmpeg source (since a long time). Please explain what you were doing and please also explain why: I still believe that building FFmpeg is not difficult and w

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > Configure goes well but when compiling i get error : > libavdevice/alldevices.c:21:20: fatal error: > config.h: No such file or directory config.h is one of two files created by configure. Did you do the following or something different? $ cd ffmpeg $ make distclean

Re: [FFmpeg-user] Bug in I-Frame Retrieval?

2014-07-16 Thread Zbigniew Zdziarski
On 14-07-2014 18:40, Zbigniew Zdziarski wrote: On 14-07-2014 14:29, Zbigniew Zdziarski wrote: Hello, I'm trying to extract I frames from mpeg files but I've noticed something weird happening. The frames that are saved in my folder by ffmpeg do not match the frames marked as I frames either by f

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
> Copy or symlink the cross-compiled sdl-config to that path I found : /home/rick/oe-core/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/libsdl/1.2.15-r2/package/usr/bin/sdl-config, which im guessing is the crosscompiled sdl-config your were talking about, and cp it to : /home/rick/o

Re: [FFmpeg-user] libx264 vs android 4.4

2014-07-16 Thread Carl Eugen Hoyos
Patrick Shirkey boosthardware.com> writes: > ffmpeg -f fbdev -r 1 -i /dev/graphics/fb0 -vcodec libx264 > -f h264 -preset:v slow -pix_fmt yuv420p > http://localhost:8090/feed1.ffm I don't know your use case but I wonder if a faster preset with a higher frame rate wouldn't be more useful. (I

Re: [FFmpeg-user] libx264 vs android 4.4

2014-07-16 Thread Patrick Shirkey
On Fri, July 11, 2014 9:33 pm, Patrick Shirkey wrote: > > On Fri, July 11, 2014 8:37 pm, Carl Eugen Hoyos wrote: >> Patrick Shirkey boosthardware.com> writes: >> >>> On Fri, July 11, 2014 4:55 pm, Carl Eugen Hoyos wrote: >>> > Patrick Shirkey boosthardware.com> writes: >>> > >>> >> ffmpeg -f raw

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > The path you mentionned does not provide any > pkg-config or sdl-config Yes, this is the problem that you have to fix. Copy or symlink the cross-compiled sdl-config to that path. (You can specify your global sdl-config or pkg-config to use with configure but this

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
The path you mentionned does not provide any pkg-config or sdl-config (/home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-angstrom-linux-gnueabi) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Issue-Crossbuilding-ffplay-with-openembedded-tp46

Re: [FFmpeg-user] MPEG TS output - muxing queue - max_interleave_delta

2014-07-16 Thread Carl Eugen Hoyos
Matej tam.si> writes: > ffmpeg -loglevel debug -max_interleave_delta 1500 > -rtbufsize 128000k -threads 0 -re -i udp:// :1300 > -re -i "http://live.radiohit.si:9560"; -codec copy > -s 720x576 -q 10 -shortest -f mpegts > udp://192.168.1.150:1236?pkt_size=1316?buffer_size=65535 Is your is

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > I have both pkg-config(0.26) For cross-compiling, pkg-config defaults to: ${cross_prefix}pkg-config so you don't need pkg-config but: .../armv7ahf-vfp-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-pkg-config > and sdl-config(1.2.15) installed. Same for sdl-conf

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
I have both pkg-config(0.26) and sdl-config(1.2.15) installed. So it means that the recipe cannot use "inherit pkgconfig" for some reasons? I dont understand : "Since you are cross-compiling, you do not need: $ sdl-config --version But (using your variable): $ ${CROSS_COMPILE}sdl-config --version"

[FFmpeg-user] MPEG TS output - muxing queue - max_interleave_delta

2014-07-16 Thread Matej
Hi, we are trying to output two inputs (mpeg2video and mp3) to an mpegts output stream with the following command: ffmpeg -loglevel debug -max_interleave_delta 1500 -rtbufsize 128000k -threads 0 -re -i udp://@:1300 -re -i "http://live.radiohit.si:9560"; -codec copy -s 720x576 -q 10 -shortest -

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > check_pkg_config sdl SDL_events.h SDL_PollEvent > false --exists --print-errors sdl > check_header linux/fb.h sdl can either be enabled via pck_config or via sdl-config. If I read your config.log correctly, you don't have pkg-config installed so you have to use sd

Re: [FFmpeg-user] -preset help: error in wiki?

2014-07-16 Thread Tom Evans
On Wed, Jul 16, 2014 at 6:44 AM, Luke Davis wrote: > On the page: > > https://trac.ffmpeg.org/wiki/Encode/H.264 > > It states: > > You can see a list of current presets with -preset help, and what settings > they apply with x264 --fullhelp. > > I get "trailing options were found on the commandline

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
Output of config.log : check_pkg_config sdl SDL_events.h SDL_PollEvent false --exists --print-errors sdl check_header linux/fb.h check_cpp BEGIN /tmp/ffconf.BBrjntYs.c 1 #include 2 int x; END /tmp/ffconf.BBrjntYs.c /home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7