[FFmpeg-user] saving rtsp stream
Lars von Gehr
larsvg at web.de
Fri Mar 2 19:17:27 EET 2018
Hi William,
thanks for your answer. Unfortunately it now fails with an unknown protocol. I’m thinking of errors in the url, but as I told it is working in vlc.
~$ ffmpeg -i "rtsp://192.168.178.254:554/?freq=322&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6208,6209,6212,6214" -t 30 -acodec copy -vcodec copy /volume1/video/test1.ts
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.4 (crosstool-NG crosstool-ng-1.22.0-169-g87eb166) 20150629 (prerelease)
configuration: --prefix=/usr --incdir='${prefix}/include/ffmpeg' --arch=arm64 --target-os=linux --cross-prefix=/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-decoder=ac3 --disable-decoder=ac3_fixed --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
rtsp://192.168.178.254:554/?freq=322&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6208,6209,6212,6214: Protocol not found
> Am 02.03.2018 um 16:57 schrieb William McCall <william.mccall at gmail.com>:
>
> Try putting the URL in quotes.
>
> On Fri, Mar 2, 2018 at 3:33 PM, Lars von Gehr <larsvg at web.de> wrote:
>> Hi users,
>> I’m trying to save a rtsp tv stream from my fritzbox 6490. Streaming in VLC player is no problem.
>> When I’m trying to save it following output is generated. The process is not stopping itself.
>>
>> Xxx:~$ ffmpeg -i rtsp://192.168.178.254:554/?freq=322&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,6208,6209,6212,6214 -t 30 -acodec copy -vcodec copy /volume1/video/test1.ts
>> [4] 20759
>> [5] 20760
>> [6] 20761
>> [7] 20762
>> [8] 20763
>> [9] 20764
>> -sh: -t: command not found
>> [5] Done bw=8
>> [6] Done msys=dvbc
>> [7] Done mtype=256qam
>> [8] Done sr=6900
>> [9] Done specinv=0
>> Xxx:~$ ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
>> built with gcc 4.9.4 (crosstool-NG crosstool-ng-1.22.0-169-g87eb166) 20150629 (prerelease)
>> configuration: --prefix=/usr --incdir='${prefix}/include/ffmpeg' --arch=arm64 --target-os=linux --cross-prefix=/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-decoder=ac3 --disable-decoder=ac3_fixed --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc
>> libavutil 54. 27.100 / 54. 27.100
>> libavcodec 56. 41.100 / 56. 41.100
>> libavformat 56. 36.100 / 56. 36.100
>> libavdevice 56. 4.100 / 56. 4.100
>> libavfilter 5. 16.101 / 5. 16.101
>> libswscale 3. 1.101 / 3. 1.101
>> libswresample 1. 2.100 / 1. 2.100
>> libpostproc 53. 3.100 / 53. 3.100
>>
>>
>>
>> After hitting any key the process stops with following command.
>>
>>
>> [4]+ Stopped(SIGTTOU) ffmpeg -i rtsp://192.168.178.254:554/?freq=322
>>
>> I tried to change all the options, but always the first option after the url is not found. I don’t have more ideas. Maybe anyone is more familiar with it.
>>
>> Thanks in advance
>> Lars
>>
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
>
>
> --
> William McCall
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list