Thanks.
If I run:
nc -l -p 6666 > rec.flv
and then check received file, get:
# ffmpeg -i rec.flv
FFmpeg version SVN-r23014, Copyright (c) 2000-2010 the FFmpeg developers
built on May 4 2010 05:44:46 with gcc 4.3.2
configuration:
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
*[flv @ 0x8ad6420]negative cts, previous timestamps might be wrong
Last message repeated 11 times
[flv @ 0x8ad6420]Estimating duration from bitrate, this may be inaccurate*
*Seems stream 0 codec frame rate differs from container frame rate: 1154.00
(1154/1) -> 577.00 (1154/2)*
Input #0, flv, from 'rec.flv':
Metadata:
duration : 0
width : 320
height : 240
videodatarate : 195
framerate : 577
videocodecid : 7
filesize : 0
Duration: 00:00:00.00, start: 0.000000, bitrate: 200 kb/s
Stream #0.0: Video: h264, yuv420p, 320x240, 200 kb/s, 577 tbr, 1k tbn,
1154 tbc
At least one output file must be specified
Do you know what is the problem?
2010/5/25 Luca Abeni <[email protected]>
> On Tue, 2010-05-25 at 10:07 -0300, Gnu Dev wrote:
> > You can simulate using netcat:
> >
> > nc -l 6666
>
> I don't have x264 installed, here. So, I changed the video codec to
> MPEG4 (and the output format to NUT). After that, the program works (and
> I can even play the stream received by netcat).
> The program prints something like "pkt_encode error" for every frame,
> but this is because of a wrong printf in the program.
>
>
> Luca
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user