[FFmpeg-user] FFmpeg muxing over HTTP

2019-03-13 Thread Glenn W
Hello,

I am trying to mux my raw h264 video to RTSP packets over HTTP.

However, using wireshark and reading the docs, I see this is not an option.

I tried a hack using `-f rtsp http:xxx.x.x.:xxx/xx`  but it was still only
sending over TCP.

My use case is that I am needing to send this stream to a web app running
in cloud.

If not using RTSP, is there any other way to use FFmpeg to send raw h264
packets over HTTP. I have looked into HLS protocol, but this is more only
used for hosting. I need to SEND h264 packets efficiently as possible, and
over HTTP.

I don't understand why this should not be possible, as FFmpeg can use RTSP
protocol to request over HTTP when demuxing. On my server side, I am also
using FFmpeg to read rtsp stream using `ffmpeg -rtsp_flags listen
-rtsp_transport http -i `
___
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] -map switch doesnt work

2019-03-13 Thread Carl Eugen Hoyos
2019-03-13 18:07 GMT+01:00, Loadlinx :

> Stream #0:1[0x898]:
> Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
> Stream #0:2[0x899]:
> Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, fltp

It seems that there is no audio in your udp stream, 0 channels
basically means that no data was found that could be analyzed.

Feel free to dump the stream (with tcpdump iirc) and test with
the resulting file.

Your email looks very broken and hard to read:
http://ffmpeg.org/pipermail/ffmpeg-user/2019-March/043724.html

Carl Eugen
___
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] When AIFF to WAV, ReplayGain is not extracted as Side data.

2019-03-13 Thread yas tam
Thank you for posted patch.
I applied that patch to source code and built them.
It works perfectly. Great!
ReplayGain works correctly when decoding AIFF with FFmpeg.
Thank you from the bottom of my heart.


2019年3月13日(水) 18:31 Moritz Barsnick :

> On Wed, Mar 13, 2019 at 12:30:16 +0900, yas tam wrote:
> > I uploaded the sample file of AIFF with ReplayGain.
> > I also uploaded Flac file and Apple Lossless file of the same sound
> source.
> >
> >
> https://www.dropbox.com/sh/zk3l8sn69zo2skc/AACgAyNqfgW2Pdsob90R7MBva?dl=0
>
> Nice, thanks!
>
> I have posted a proposed patch to the ffmpeg development mailing list:
> http://ffmpeg.org/pipermail/ffmpeg-devel/2019-March/241033.html
>
> It works for me with your provided AIFF file - I can now see the
> sidedata displayed for the input file, and the volume filter takes
> effect when used with "-af volume=replaygain=track".
>
> If you build your own ffmpeg from source, you can apply that patch and
> try for yourself. Otherwise wait and see whether the maintainers accept
> it.
>
> Cheers,
> Moritz
> ___
> 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] -map switch doesnt work

2019-03-13 Thread Loadlinx
I cant seem to map video/audio for some reason from my stream. Without -map
switch the process works but I have no audio. Is there any way to fix this?
I tried different options with no luck.


















































































































































































































































*/root/bin/ffmpeg -i
'udp://0.0.0.0:9001?fifo_size=256000_size=2097152_nonfatal=1
'
-vcodec libx264 -vb 1500k -bufsize 128k -acodec libfdk_aac -ar 44100
-preset fast -map 0:0 -map 0:1 1.mp4ffmpeg version N-93276-g3b23eb2
Copyright (c) 2000-2019 the FFmpeg developers  built with gcc 5.4.0 (Ubuntu
5.4.0-6ubuntu1~16.04.10) 20160609  configuration:
--prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
--enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libx264
--enable-openssl --enable-nonfree  libavutil  56. 26.100 / 56. 26.100
libavcodec 58. 47.102 / 58. 47.102  libavformat58. 26.101 / 58.
26.101  libavdevice58.  6.101 / 58.  6.101  libavfilter 7. 48.100 /
 7. 48.100  libswscale  5.  4.100 /  5.  4.100  libswresample   3.
 4.100 /  3.  4.100  libpostproc55.  4.100 / 55.  4.100[udp @
0x3bb9400] attempted to set receive buffer to size 2097152 but it only
ended up set as 425984SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in 

Re: [FFmpeg-user] Error message when combining -vf and -af in command line

2019-03-13 Thread Christian Ebert

* Kieran O'Leary on Wednesday, March 13, 2019 at 15:27:21 +:

It appears that this is ticket 7712: https://trac.ffmpeg.org/ticket/7712


Ah, right, for some reaseon I didn't catch that when searching the bug
tracker.


and it was introduced here: 
https://github.com/FFmpeg/FFmpeg/commit/301cee61fa61c55b1c178ebfbc590872e8b033e6
 as an attempt to fix an existing bug: https://trac.ffmpeg.org/ticket/4184


Indeed, I kind of guessed that this is meant to warn about
duplicate -vf or -af.

--
LAST SHIP HOME
Die Weltumsegelung der Peter von Danzig
Ein Film von Michael Weber und Christian Ebert
--->> https://lastshiphome.de
___
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] Error message when combining -vf and -af in command line

2019-03-13 Thread Kieran O'Leary
It appears that this is ticket 7712: https://trac.ffmpeg.org/ticket/7712 and it 
was introduced here: 
https://github.com/FFmpeg/FFmpeg/commit/301cee61fa61c55b1c178ebfbc590872e8b033e6
 as an attempt to fix an existing bug: https://trac.ffmpeg.org/ticket/4184 

Best,

Kieran.
___
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] Error message when combining -vf and -af in command line

2019-03-13 Thread Christian Ebert

Hi,

Using -vf and -af in 1 command results in this error message:

Only '-vf scale' read, ignoring remaining -vf options: Use ',' to separate 
filters
Only '-af aresample' read, ignoring remaining -af options: Use ',' to separate 
filters

The message does not have any consequences.

Happens also with -filter:v plus -filter:a

Does not happen with -filter_complex

Does this mean that -vf plus -af is deprecated? Or is it a bug?

ffmpeg -i BigBuckBunny_640x360.m4v -vf scale -af aresample out.mpeg
ffmpeg version N-93330-g7ff89574c7 Copyright (c) 2000-2019 the FFmpeg developers
 built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
 configuration: --enable-gpl --enable-nonfree --enable-shared --enable-openssl 
--enable-pic --enable-libspeex --enable-libopus --enable-libfdk-aac 
--enable-libx265 --enable-libx264 --enable-libmp3lame --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libvidstab --enable-libfreetype 
--enable-libzimg --enable-libass --extra-cflags=-I/sw/include 
--extra-libs='-L/sw/lib -L/sw/lib/freetype219/lib -L/sw/lib/gcc7/lib'
 libavutil  56. 26.100 / 56. 26.100
 libavcodec 58. 47.103 / 58. 47.103
 libavformat58. 26.101 / 58. 26.101
 libavdevice58.  6.101 / 58.  6.101
 libavfilter 7. 48.100 /  7. 48.100
 libswscale  5.  4.100 /  5.  4.100
 libswresample   3.  4.100 /  3.  4.100
 libpostproc55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BigBuckBunny_640x360.m4v':
 Metadata:
   major_brand : M4V 
   minor_version   : 1

   compatible_brands: M4V M4A mp42isom
   creation_time   : 2008-06-03T05:23:28.00Z
   copyright   : © 2008 Blender Foundation | www.bigbuckbunny.org
   title   : Big Buck Bunny
   artist  : Peach Open Movie Team
   composer: Sacha Goedegebure / Ton Roosendaal
   date: 2008
 Duration: 00:09:56.46, start: 0.00, bitrate: 1626 kb/s
   Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 127 kb/s (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Sound Media Handler
   Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), 
yuv420p(tv, smpte170m/smpte170m/bt709), 640x359, 1495 kb/s, 24 fps, 24 tbr, 
2400 tbn, 4800 tbc (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Video Media Handler
Only '-vf scale' read, ignoring remaining -vf options: Use ',' to separate 
filters
Only '-af aresample' read, ignoring remaining -af options: Use ',' to separate 
filters
Stream mapping:
 Stream #0:1 -> #0:0 (h264 (native) -> mpeg1video (native))
 Stream #0:0 -> #0:1 (aac (native) -> mp2 (native))
Press [q] to stop, [?] for help
[mpeg @ 0x7f84ee004e00] VBV buffer size not set, using default size of 230KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, mpeg, to 'out.mpeg':
 Metadata:
   major_brand : M4V 
   minor_version   : 1

   compatible_brands: M4V M4A mp42isom
   date: 2008
   copyright   : © 2008 Blender Foundation | www.bigbuckbunny.org
   title   : Big Buck Bunny
   artist  : Peach Open Movie Team
   composer: Sacha Goedegebure / Ton Roosendaal
   encoder : Lavf58.26.101
   Stream #0:0(eng): Video: mpeg1video, yuv420p, 640x359, q=2-31, 200 kb/s, 24 
fps, 90k tbn, 24 tbc (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Video Media Handler
 encoder : Lavc58.47.103 mpeg1video
   Side data:
 cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: -1
   Stream #0:1(eng): Audio: mp2, 44100 Hz, stereo, s16, 384 kb/s (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Sound Media Handler
 encoder : Lavc58.47.103 mp2
frame=14316 fps=1218 q=31.0 Lsize=   47920kB time=00:09:56.46 bitrate= 
658.1kbits/s speed=50.7x
video:19500kB audio:27960kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 0.968647%


TIA

Christian

--
LAST SHIP HOME
Die Weltumsegelung der Peter von Danzig
Ein Film von Michael Weber und Christian Ebert
--->> https://lastshiphome.de
___
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] ffmpeg crash when transcoding with vpp_qsv and pad filters

2019-03-13 Thread Li, Zhong
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> qw
> Sent: Wednesday, March 13, 2019 9:57 PM
> To: ffmpeg-user@ffmpeg.org
> Subject: [FFmpeg-user] ffmpeg crash when transcoding with vpp_qsv and
> pad filters
> 
> hi,
> 
> 
> I use the following command, and ffmpeg 4.0 will crash:
> 
> 
> ffmpeg -v trace -hwaccel qsv -c:v h264_qsv -i
> test-clips/football_avc_600p_24fps_1000k.flv \ -rw_timeout 1000
> -acodec libfdk_aac -profile:a aac_he -ar 44100 -ac 2 -ab 64000 -c:v
> h264_qsv -vb 100 -r 15/1 -force_key_frames "expr:gte(t,n_forced*5)" \
> -minrate 100 -maxrate 150 -bufsize 200 -preset fast -profile:v
> main \ -vf "vpp_qsv, pad='1280:720:128:64'" -max_muxing_queue_size 2000
> \ -f flv football_avc_600p_24fps_1000k_output.flv
> 
> 
> it's a bug, isn't it?

1. Please simplify your command line as possible as you can to reproduce the 
bug. As far as I can see, it is due to vpp_qsv can' support pad.
2. If you think it is a bug, please report your issue to 
https://trac.ffmpeg.org with detail description. 

___
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] ffmpeg crash when transcoding with vpp_qsv and pad filters

2019-03-13 Thread qw
hi,


I use the following command, and ffmpeg 4.0 will crash:


ffmpeg -v trace -hwaccel qsv -c:v h264_qsv -i 
test-clips/football_avc_600p_24fps_1000k.flv \
-rw_timeout 1000 -acodec libfdk_aac -profile:a aac_he -ar 44100 -ac 2 -ab 
64000 -c:v h264_qsv -vb 100 -r 15/1 -force_key_frames 
"expr:gte(t,n_forced*5)" \
-minrate 100 -maxrate 150 -bufsize 200 -preset fast -profile:v main 
\
-vf "vpp_qsv, pad='1280:720:128:64'" -max_muxing_queue_size 2000 \
-f flv football_avc_600p_24fps_1000k_output.flv


it's a bug, isn't it?


Thanks!


Regards


Andrew
___
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] When AIFF to WAV, ReplayGain is not extracted as Side data.

2019-03-13 Thread Moritz Barsnick
On Wed, Mar 13, 2019 at 12:30:16 +0900, yas tam wrote:
> I uploaded the sample file of AIFF with ReplayGain.
> I also uploaded Flac file and Apple Lossless file of the same sound source.
> 
> https://www.dropbox.com/sh/zk3l8sn69zo2skc/AACgAyNqfgW2Pdsob90R7MBva?dl=0

Nice, thanks!

I have posted a proposed patch to the ffmpeg development mailing list:
http://ffmpeg.org/pipermail/ffmpeg-devel/2019-March/241033.html

It works for me with your provided AIFF file - I can now see the
sidedata displayed for the input file, and the volume filter takes
effect when used with "-af volume=replaygain=track".

If you build your own ffmpeg from source, you can apply that patch and
try for yourself. Otherwise wait and see whether the maintainers accept
it.

Cheers,
Moritz
___
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".