[FFmpeg-user] Help required in vp9 streaming and capturing on LAN

2020-09-07 Thread USMAN AAMER
Hi,
I am streaming videos on LAN using VP9 encoding (and .sdp file on
client-side) but able to capture the videos in a single file (at the
client). How can I capture those video files as a sequence of videos?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] facing max delay reached. Need to consume packets. RTP missed packets

2020-09-28 Thread USMAN AAMER
lid data found when processing input
Last message repeated 2 times
frame=  250 fps=5.1 q=0.0 size= 159kB time=00:00:11.54 bitrate=
112.5kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 6 times
frame=  250 fps=5.1 q=0.0 size= 159kB time=00:00:11.54 bitrate=
112.5kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
frame=  250 fps=5.0 q=0.0 size= 159kB time=00:00:11.54 bitrate=
112.5kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
frame=  250 fps=4.9 q=0.0 size= 159kB time=00:00:11.54 bitrate=
112.5kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
frame=  250 fps=4.9 q=0.0 size= 159kB time=00:00:11.54 bitrate=
112.5kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
frame=  250 fps=4.8 q=0.0 size= 159kB time=00:00:11.54 bitrate=
112.5kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
frame=  251 fps=4.7 q=0.0 size= 159kB time=00:00:11.57 bitrate=
112.1kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
frame=  251 fps=4.7 q=0.0 size= 159kB time=00:00:11.57 bitrate=
112.1kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
frame=  251 fps=4.6 q=0.0 size= 159kB time=00:00:11.57 bitrate=
112.1kbits/s
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
frame=  251 fps=4.6 q=0.0 size= 159kB time=00:00:11.57 bitrate=
112.1kbits/s

On Mon, Sep 28, 2020 at 12:08 PM Tom Sparks  wrote:

> On 28/09/2020, USMAN AAMER  wrote:
> > Hi,
> > I am streaming videos on LAN using ffmpeg - VP9 encoding and facing the
> > issue at client (screenshot is attached): "max delay reached. Need to
> > consume packets. RTP missed packets"
> > how to resolve this?
> > [image: image.png]
> >
> Can include the command line of ffmpeg
> also do not use screenshots, copy and paste the output
>
> tom
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] facing max delay reached. Need to consume packets. RTP missed packets

2020-09-28 Thread USMAN AAMER
Hi Chris,
I have observed that the machine that is receiving stream is lack behind as
the streaming server approaches the fps count of around 200 or above when
the client starts streaming the fps. Kindly guide me. should I replace the
client machine?

Thanks.

On Mon, Sep 28, 2020 at 12:52 PM Chris Miceli  wrote:

> Hi Usman,
>
> You may wish to look into whether the machine which is encoding is able to
> keep up realtime when you see something like this. More than likely, it is
> running out of resources (either from encoding or from the source material
> in the form of a bad network mount). Without more information about the
> exact setup, the encoding command and the hardware utilisation information
> (from something like top) it is going to be particularly difficult to get
> to the bottom of.
>
> A potentially useful addition to these kinds of bug reports might be an
> atop record (https://www.atoptool.nl/) to allow investigation of the
> system
> at the time of encoding as well. Caveat being that this will only work on
> Linux. I'd love to hear what others here think about this kind of thing as
> well, potentially with a script in the git repo people can run.
>
> Many thanks,
> *Chris Miceli*
>
> On Mon, Sep 28, 2020 at 5:08 PM Tom Sparks 
> wrote:
>
> > On 28/09/2020, USMAN AAMER  wrote:
> > > Hi,
> > > I am streaming videos on LAN using ffmpeg - VP9 encoding and facing the
> > > issue at client (screenshot is attached): "max delay reached. Need to
> > > consume packets. RTP missed packets"
> > > how to resolve this?
> > > [image: image.png]
> > >
> > Can include the command line of ffmpeg
> > also do not use screenshots, copy and paste the output
> >
> > tom
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Help required in vp9 streaming on LAN using 2 Pass encoding

2020-10-14 Thread USMAN AAMER
Hi,

I am working on vp9-RTP streaming over LAN and want to perform 2 pass
encoding but unable to do so as it is not generating .sdp file.

I am using the following command:

  ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 1M -pass 1 -an -f null /dev/null
&& ffmpeg -i input.mp4 -c:v libvpx-vp9 -an -b:v 1M -pass 2 -c:a -f rtp
rtp://192.168.12.5:5004

Kindly guide me that what mistake I am doing. or in what way I can perform
2 pass encoding.

Thanks
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Can I stream videos using HLS without making playlist?

2020-10-20 Thread USMAN AAMER
Hi,
I am streaming videos over LAN using ffmpeg HLS streaming.
Can I stream videos (like RTP) directly to the clients without creating
playlist?


Thanks.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2020-10-29 Thread USMAN AAMER
Hi,
I am trying to stream videos with RTSP using the following command:

>ffmpeg -re -i v1.mp4 -c:v libx265 -an -preset slow -crf 30 -rtsp_transport
tcp -f rtsp rtsp://localhost:554/live.sdp

Streaming does not start and the following error occurred:
Could not write header for output file #0 (incorrect codec parameters ?):
Immediate exit requested
Error initializing output stream 0:0 --

How can I resolve the issue?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2020-11-01 Thread USMAN AAMER
Hi,

following is the output:

D:\new downloads\video dataset\30sec nature>ffmpeg -re -i v1.mp4 -c:v
libx265 -an -pix_fmt yuv420p -preset slow -crf 30 -rtsp_transport tcp -f
rtsp rtsp://localhost:554/live
ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 10.2.1 (GCC) 20200805
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
--enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
--enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm
--enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx
--enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
--enable-libopenmpt --enable-amf
  libavutil  56. 58.100 / 56. 58.100
  libavcodec 58.101.101 / 58.101.101
  libavformat58. 51.101 / 58. 51.101
  libavdevice58. 11.101 / 58. 11.101
  libavfilter 7. 87.100 /  7. 87.100
  libswscale  5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'v1.mp4':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: isommp42
creation_time   : 2018-03-08T14:28:45.00Z
  Duration: 00:00:30.00, start: 0.00, bitrate: 1210 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
bt709), 1280x720 [SAR 1:1 DAR 16:9], 1080 kb/s, 29.97 fps, 29.97 tbr, 90k
tbn, 59.94 tbc (default)
Metadata:
  creation_time   : 2018-03-08T14:28:45.00Z
  handler_name: ISO Media file produced by Google Inc. Created on:
03/08/2018.
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 125 kb/s (default)
Metadata:
  creation_time   : 2018-03-08T14:28:45.00Z
  handler_name: ISO Media file produced by Google Inc. Created on:
03/08/2018.
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
x265 [info]: HEVC encoder version 3.4+2-73ca1d7be377
x265 [info]: build info [Windows][GCC 10.2.1][64 bit] 8bit+10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices  : 1
x265 [info]: frame threads / pool features   : 2 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt: 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb   : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress: CRF-30.0 / 0.60
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing
lslices=4
x265 [info]: tools: deblock sao

and here CMD starts waiting and when I cancel the command using 'Ctrl + C'
it shows the following:

Could not write header for output file #0 (incorrect codec parameters ?):
Immediate exit requested
Error initializing output stream 0:0 --

encoded 0 frames
Exiting normally, received signal 2.

On Thu, Oct 29, 2020 at 9:20 PM Carl Zwanzig  wrote:

> On 10/29/2020 1:50 AM, USMAN AAMER wrote:
> > How can I resolve the issue?
>
> Start by posting the entire command output that fails.  (and remember not
> to
> top-post on this list)
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] -rtsp_transport tcp tag

2020-12-01 Thread USMAN AAMER
Hi, I am streaming videos over LAN and I want to confirm that either
-rtsp_transport
TCP tag is used at the server-side command or client-side.

Looking forward to the kind response.

Thanks
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] facing a error/issue in compression efficiency under h.265

2021-02-10 Thread USMAN AAMER
Hi,

I am comparing the compression efficiency of H.264 and H.265 codecs.
I have studied many research papers showing that the compression efficiency
of H.265 is much better than H.264.

But I am not able to get the same results.
I am trying to compress 664 YUV 4:2:0 video sequence with ffmpeg under
H.264 and H.265 codecs and got the resultant videos of following sizes:
H.264: 5.58 MB
H.265: 6.66 MB

I am using the following commands for compression:
H.264:
ffmpeg -i video.y4m -c:v libx264 -an -strict experimental -preset slow -CRF
30 - b:v 800k -f mp4 output.mp4

and for H.265:
  ffmpeg -i video.y4m -c:v libx265 -an -strict experimental -preset slow
-CRF 30 - b:v 800k -f mp4 output1.mp4

Kindly tell me what is the issue. Waiting for the kind response.

Thank you.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".