Closed kampari89 closed 4 years ago
If you're on Synology, please ensure that Video Station is installed and use following path: /volume1/@appstore/VideoStation/bin/ffmpeg If you still have any problems, please provide a larger log part including times and ffmpeg call parameter shown there. Also see my manual for more tweaks.
Okay, i've changed it from "/volume1/@appstore/ffmpeg/bin/ffmpeg", but i get the same problem.
2020-01-16 19:46:35.868 | Record: Thread timer for 'test' started for 24 seconds 2020-01-16 19:47:00.026 | FFMPEG (rtp) record 'test' called with: 2020-01-16 19:47:00.027 | ['/volume1/@appstore/VideoStation/bin/ffmpeg', u'-i', 'rtp://87.141.215.251@232.0.20.35:10000', u'-y', u'-t', u'59', u'-loglevel', u'fatal', u'-acodec', u'copy', u'-vcodec', u'copy', u'/volume1/Grab/Aufnahmen/20200116194700 - test.ts'] 2020-01-16 19:48:30.151 | FFMPEG record 'test' ended 2020-01-16 19:48:33.152 | FFMPEG Record 'test' termination error, process might be running 2020-01-16 19:48:33.152 | FFMPEG Record 'test': termination may have failed
should we switch to German perhaps? :) your URL is a little weird... can it be played with a desktop video player like VLC? you can also try another file extension like .mpg or .mkv you can also find related issues is the Germany community forum linked in readme in a worst case you can always check it using DS console
the URL is for MagentaTV and it is playable on VLC on PC/Smartphones.
without "Additional output arguments" i get
2020-01-16 22:41:00.005 | FFMPEG (rtp) record 'test' called with: 2020-01-16 22:41:00.006 | ['/volume1/@appstore/VideoStation/bin/ffmpeg', u'-i', 'rtp://87.141.215.251@232.0.20.35:10000', u'-y', u'-t', u'59', u'/volume1/Grab/Aufnahmen/20200116224100 - test.ts'] 2020-01-16 22:42:30.024 | FFMPEG record 'test' ended with an error:ffmpeg version 3.3.7 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease) configuration: --prefix=/usr/pkg --incdir='${prefix}/include/ffmpeg' --arch=armv7 --target-os=linux --cross-prefix=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-version3 --enable-nonfree --enable-encoders --enable-pthreads --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffserver --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --extra-cflags=-I/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/pkg/include --extra-ldflags=-L/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/pkg/lib --cc=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc --enable-shared --disable-static --enable-libfdk-aac libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 rtp://87.141.215.251@232.0.20.35:10000: Immediate exit requested Exiting normally, received signal 15. 2020-01-16 22:42:33.024 | FFMPEG Record 'test' termination error, process might be running 2020-01-16 22:42:33.024 | FFMPEG Record 'test': termination may have failed
same in DS console
with rtp://232.0.20.35:10000 the same, but it is not playable in VLC
Take a look here: https://www.synology-forum.de/showthread.html?37898-tvstreamrecord-Aufzeichnen-von-HTTP-Streams/page101&p=802971&viewfull=1#post802971
For your case it'd be:
/volume1/@appstore/VideoStation/bin/ffmpeg -i 'rtp://@232.0.10.35:10000?sources=87.141.215.251' -y -t 10 -acodec copy -vcodec copy '/volume1/Grab/Aufnahmen/20200116224100 - test.ts'
See #45 for more information
I cant record an rtp stream. I changed the path of ffmpeg, for rtp support. now i get this:
FFMPEG record 'abc' ended FFMPEG Record 'abc' termination error, process might be running FFMPEG Record 'abc': termination may have failed