Search found 14 matches

by mbat
Thu Mar 19, 2015 5:00 pm
Forum: Other
Topic: How to discard probed data
Replies: 0
Views: 1363

How to discard probed data

Hello, I would like to know if it possible for ffmpeg to discard probed data instead of sending it very quickly after probing ends. Default behaviour is not really good when input is a stream (with own rate) that need to be restreamed. In my case it takes ~5sec to probe data, then it bursts ~145 fra...
by mbat
Wed Oct 22, 2014 6:12 pm
Forum: Developement with FFmpeg
Topic: Read EXIF data from jpeg
Replies: 0
Views: 2360

Read EXIF data from jpeg

hello, I would like to know if it possible to read jpeg EXIF data using libavformat/libavcodec. I can see there is an exif tag list in ffmpeg sources, but I don't know how to access to it. Using "metadata.c" example in doxygen, I can't read anything. AVFormatContext->metadata is null. Even if I deco...
by mbat
Fri Oct 17, 2014 6:56 pm
Forum: Usage
Topic: Supporting glob pattern
Replies: 3
Views: 2549

Re: Supporting glob pattern

llogan wrote:I'm not sure if glob works with Zeranoe builds, but try changing *.png to " *.png".
No way.
Is there any specific reason why glob pattern is not supported in Zeranoe builds?

Thanks
by mbat
Fri Oct 10, 2014 7:24 am
Forum: Usage
Topic: Supporting glob pattern
Replies: 3
Views: 2549

Supporting glob pattern

hello, I see in ffmpeg doc that image2 demuxer supports "glob" pattern, but when I try to use it, I get this message: ffmpeg -pattern_type glob -i *.png out.mkv [image2 @ 00628ba0] Pattern type 'glob' was selected but globbing is not supported by this libavformat build *.png: Function not implemente...
by mbat
Sun Dec 15, 2013 6:56 am
Forum: Usage
Topic: Questions about PTS/DTS shifting
Replies: 0
Views: 1560

Questions about PTS/DTS shifting

hello, I have this theoretical question: Suppose a video with 2 tracks a/v (25fps, uncompressed so that pts=dts) made like that (timebase is 1/1000 for both tracks): first video pts = 40 first audio pts = 72 I would like to reach at least one of the following goals: A: Shifting one track to 0 keepin...
by mbat
Fri Nov 01, 2013 3:38 pm
Forum: Usage
Topic: How to set PCR interval on mpegts
Replies: 1
Views: 5349

Re: How to set PCR interval on mpegts

Some updates. With the following script: ffmpeg -re -i video.mpg -vf scale="720:576" -aspect 4:3 -vcodec mpeg2video -g 12 -bf 2 -pix_fmt yuv420p -b:v 2150k -maxrate 2200k -bufsize 2200k -acodec mp2 -ac 2 -ar 48000 -ab 128k -async 48000 -streamid 0:256 -streamid 1:512 -f mpegts udp://[IP]:[port]?pkt_...
by mbat
Wed Oct 30, 2013 7:39 pm
Forum: Usage
Topic: How to set PCR interval on mpegts
Replies: 1
Views: 5349

How to set PCR interval on mpegts

hello, I would like to know if, from command line, it is possible to set PCR (Program Clock Reference) interval for a transport stream. It seems that some hardware decoders want a pcr around 30 ms, but default ffmpeg value is bigger. I've read that there is a relation between pcr, "-muxrate" and pac...
by mbat
Sun Oct 13, 2013 4:44 pm
Forum: Usage
Topic: Using named pipes on windows
Replies: 1
Views: 11001

Using named pipes on windows

hello, the following command works (without audio) on my windows pc: ffmpeg -i abc.avi -f rawvideo - | ffplay -f rawvideo -s 624x352 -pix_fmt yuv420p - Now I would like to run ffmpeg on a console and ffplay on another one (or grabbing ffmpeg output from a custom application). How to achieve this? I'...
by mbat
Sun Feb 03, 2013 9:48 am
Forum: Usage
Topic: Reducing stream latency
Replies: 1
Views: 8035

Reducing stream latency

hello, I'm streaming from a webcam this way: ffmpeg -re -f dshow -i video="Logitech QuickCam Communicate STX":audio="Logitech Mic (Communicate STX)" -vcodec libx264 -s 320x240 -g 15 -r 15 -q:v 1 -acodec libmp3lame -q:a 1 -tune zerolatency -f mpegts udp://192.168.0.27:1200 and i'm playing stream like...
by mbat
Mon Jan 21, 2013 8:25 am
Forum: Usage
Topic: Fixing bad DTS/PTS without reencode
Replies: 6
Views: 8620

Re: Fixing bad DTS/PTS without reencode

It was not easy to explain my problem, but in the end I collected some informations, so I can post something here. Time discontinuities in video files exists, it's a normal fact in real life. You cannot simply change timecode to fix them because: 1. If you also have an audio track, you can go out of...