
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (75)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (9952)
-
FFmpeg warning : could not find codec parameters for stream 1 [closed]
17 avril 2020, par MocchiHello : I have videos in the TS container that are Advanced Video Codec created by Elgato Game Capture HD60 Pro. I am trying to convert the TS videos because sometimes the Elgato MP4 output videos have audio/video sync issues. I have been trying for a few days now to get a clean remuxed video into MP4. I am using this simple batch file :



ffmpeg -analyzeduration 10000M -probesize 10000000M -i "Game Video.ts" -acodec copy -vcodec copy "Game Video.mp4"
pause




I always get these warnings no matter what I have tried. even if I use the -vn command to ignore the video. which makes me believe FFmpeg is seeing something or can't read something in my source video. The Source video Information via Media Info is here, there is 12 Audio streams which are all the same and I only put the first two here :



General
ID : 1 (0x1)
Complete name : P :\Game Video.ts
Format : MPEG-TS
File size : 8.82 GiB
Duration : 54 min 43 s
Overall bit rate mode : Variable
Overall bit rate : 23.1 Mb/s



Video
ID : 100 (0x64)
Menu ID : 2 (0x2)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 1 frame
Format settings, GOP : M=1, N=15
Codec ID : 27
Duration : 54 min 43 s
Bit rate mode : Variable
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709



Audio #1
ID : 101 (0x65)
Menu ID : 2 (0x2)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 54 min 43 s
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : 13 ms
Language : English



Audio #2
ID : 103 (0x67)
Menu ID : 2 (0x2)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 54 min 43 s
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : 13 ms
Language : English



FFmpeg does create a MP4 video which seems to be good ; the Media Info is here :



General
Complete name : P :\Game Video.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 7.44 GiB
Duration : 54 min 43 s
Overall bit rate mode : Variable
Overall bit rate : 19.5 Mb/s
Writing application : Lavf58.29.100



Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 1 frame
Format settings, GOP : M=1, N=15
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 54 min 43 s
Bit rate mode : Variable
Bit rate : 19.2 Mb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 59.862 FPS
Minimum frame rate : 0.461 FPS
Maximum frame rate : 59.960 FPS
Original frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.348
Stream size : 7.35 GiB (99%)
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC



Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 54 min 43 s
Bit rate mode : Constant
Bit rate : 221 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 86.5 MiB (1%)
Language : English
Default : Yes
Alternate group : 1



I have not been able to figure out how to address the FFmpeg warnings and I am concerned that there is something wrong with the video that I will not find out until after I delete the source video. Any help is appreciated. here is the output from FFmpeg :



P:\>ffmpeg -analyzeduration 10000M -probesize 10000000M -i "Game Video.ts" -acod
ec copy -vcodec copy "Game Video.mp4"
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libas
s --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
ble-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libth
eora --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-libvorbis --enable-libvo
-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenm
pt
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
[mpegts @ 00000000003b8fc0] start time for stream 1 is not set in estimate_timin
gs_from_pts
[mpegts @ 00000000003b8fc0] Could not find codec parameters for stream 1 (Video:
 mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'Game Video.ts':
 Duration: 00:54:43.40, start: 505.283956, bitrate: 23076 kb/s
 Program 2
 Stream #0:0[0x64]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuvj420p(pc,
 bt709, progressive), 1280x720 [SAR 96:96 DAR 16:9], 59.94 fps, 59.94 tbr, 90k t
bn, 119.88 tbc
 Stream #0:1[0x66]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k
tbr, 90k tbn, 90k tbc
 Stream #0:2[0x67](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 225 kb/s
 Stream #0:3[0x69](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 224 kb/s
 Stream #0:4[0x3ec](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 225 kb/s
 Stream #0:5[0x3f0](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 224 kb/s
 Stream #0:6[0x3f7](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 225 kb/s
 Stream #0:7[0x65](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 225 kb/s
 Stream #0:8[0x3f3](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 225 kb/s
 Stream #0:9[0x3eb](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 225 kb/s
 Stream #0:10[0x3f5](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz
, stereo, fltp, 225 kb/s
 Stream #0:11[0x3ed](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz
, stereo, fltp, 225 kb/s
 Stream #0:12[0x3f1](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz
, stereo, fltp, 225 kb/s
 Stream #0:13[0x4e7](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz
, stereo, fltp, 225 kb/s
Output #0, mp4, to 'Game Video.mp4':
 Metadata:
 encoder : Lavf58.29.100
 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, pro
gressive), 1280x720 [SAR 96:96 DAR 16:9], q=2-31, 59.94 fps, 59.94 tbr, 90k tbn,
 90k tbc
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, flt
p, 225 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 3067 fps=0.0 q=-1.0 size= 111616kB time=00:00:51.16 bitrate=17871.9kbits
frame= 5766 fps=5766 q=-1.0 size= 220160kB time=00:01:36.19 bitrate=18748.6kbit
frame= 8478 fps=5652 q=-1.0 size= 330496kB time=00:02:21.42 bitrate=19143.9kbit
frame=11166 fps=5583 q=-1.0 size= 438272kB time=00:03:06.28 bitrate=19273.1kbit
frame=13962 fps=5254 q=-1.0 size= 549632kB time=00:03:52.94 bitrate=19329.1kbit
frame=16771 fps=5312 q=-1.0 size= 662784kB time=00:04:39.79 bitrate=19405.7kbit
frame=19591 fps=5357 q=-1.0 size= 775424kB time=00:05:26.85 bitrate=19434.7kbit
frame=22357 fps=5378 q=-1.0 size= 887808kB time=00:06:12.99 bitrate=19498.6kbit
frame=24205 fps=5197 q=-1.0 size= 963584kB time=00:06:43.80 bitrate=19548.3kbit
frame=26914 fps=5219 q=-1.0 size= 1073152kB time=00:07:29.02 bitrate=19578.4kbit
frame=28873 fps=5104 q=-1.0 size= 1149696kB time=00:08:01.71 bitrate=19551.8kbit
frame=31566 fps=5127 q=-1.0 size= 1256704kB time=00:08:46.63 bitrate=19548.3kbit
frame=33579 fps=5022 q=-1.0 size= 1336832kB time=00:09:20.21 bitrate=19548.3kbit
frame=36292 fps=5050 q=-1.0 size= 1444096kB time=00:10:05.46 bitrate=19538.7kbit
frame=38205 fps=4970 q=-1.0 size= 1519872kB time=00:10:37.40 bitrate=19533.7kbit
frame=41030 fps=5012 q=-1.0 size= 1631488kB time=00:11:24.52 bitrate=19524.6kbit
frame=43471 fps=4947 q=-1.0 size= 1729280kB time=00:12:05.25 bitrate=19532.9kbit
frame=46199 fps=4974 q=-1.0 size= 1838080kB time=00:12:50.75 bitrate=19536.1kbit
frame=48026 fps=4907 q=-1.0 size= 1909760kB time=00:13:21.24 bitrate=19525.6kbit
frame=50849 fps=4943 q=-1.0 size= 2022144kB time=00:14:08.34 bitrate=19526.8kbit
frame=53324 fps=4909 q=-1.0 size= 2120960kB time=00:14:49.64 bitrate=19530.2kbit
frame=56043 fps=4933 q=-1.0 size= 2231552kB time=00:15:34.99 bitrate=19551.8kbit
frame=58032 fps=4892 q=-1.0 size= 2316288kB time=00:16:08.15 bitrate=19599.2kbit
frame=60918 fps=4928 q=-1.0 size= 2436608kB time=00:16:56.31 bitrate=19640.2kbit
frame=62869 fps=4878 q=-1.0 size= 2516480kB time=00:17:28.85 bitrate=19654.8kbit
frame=65418 fps=4886 q=-1.0 size= 2622464kB time=00:18:11.39 bitrate=19684.3kbit
frame=67200 fps=4839 q=-1.0 size= 2696960kB time=00:18:41.12 bitrate=19706.5kbit
frame=69648 fps=4841 q=-1.0 size= 2799360kB time=00:19:22.17 bitrate=19732.3kbit
frame=72165 fps=4802 q=-1.0 size= 2908160kB time=00:20:04.20 bitrate=19783.8kbit
frame=74787 fps=4816 q=-1.0 size= 3016704kB time=00:20:47.93 bitrate=19803.0kbit
frame=76580 fps=4775 q=-1.0 size= 3090432kB time=00:21:19.98 bitrate=19779.1kbit
frame=78741 fps=4761 q=-1.0 size= 3182080kB time=00:21:57.86 bitrate=19780.2kbit
frame=81470 fps=4781 q=-1.0 size= 3295232kB time=00:22:43.39 bitrate=19799.6kbit
frame=84198 fps=4801 q=-1.0 size= 3409664kB time=00:23:28.87 bitrate=19825.7kbit
frame=86826 fps=4813 q=-1.0 size= 3519744kB time=00:24:12.75 bitrate=19847.6kbit
frame=89508 fps=4828 q=-1.0 size= 3626752kB time=00:24:57.49 bitrate=19840.1kbit
frame=91254 fps=4793 q=-1.0 size= 3699456kB time=00:25:26.61 bitrate=19851.8kbit
frame=94034 fps=4813 q=-1.0 size= 3817472kB time=00:26:12.99 bitrate=19881.1kbit
frame=96349 fps=4808 q=-1.0 size= 3911168kB time=00:26:51.62 bitrate=19880.7kbit
frame=98600 fps=4801 q=-1.0 size= 4004864kB time=00:27:29.17 bitrate=19893.5kbit
frame=100838 fps=4793 q=-1.0 size= 4098048kB time=00:28:06.48 bitrate=19906.0kbi
frame=103620 fps=4811 q=-1.0 size= 4206848kB time=00:28:52.92 bitrate=19886.9kbi
frame=105687 fps=4795 q=-1.0 size= 4292608kB time=00:29:27.40 bitrate=19896.4kbi
frame=107646 fps=4776 q=-1.0 size= 4374016kB time=00:30:00.10 bitrate=19905.4kbi
frame=110196 fps=4752 q=-1.0 size= 4482560kB time=00:30:42.66 bitrate=19928.2kbi
frame=112831 fps=4763 q=-1.0 size= 4592896kB time=00:31:26.61 bitrate=19943.1kbi
frame=114561 fps=4736 q=-1.0 size= 4667648kB time=00:31:55.47 bitrate=19962.3kbi
frame=116471 fps=4714 q=-1.0 size= 4744960kB time=00:32:27.34 bitrate=19960.8kbi
frame=119043 fps=4723 q=-1.0 size= 4850432kB time=00:33:10.25 bitrate=19964.7kbi
frame=120907 fps=4704 q=-1.0 size= 4930816kB time=00:33:41.35 bitrate=19983.2kbi
frame=122932 fps=4691 q=-1.0 size= 5012992kB time=00:34:15.10 bitrate=19982.6kbi
frame=125679 fps=4706 q=-1.0 size= 5123584kB time=00:35:00.94 bitrate=19977.8kbi
frame=127629 fps=4691 q=-1.0 size= 5205760kB time=00:35:33.48 bitrate=19988.7kbi
frame=129623 fps=4679 q=-1.0 size= 5284864kB time=00:36:06.76 bitrate=19980.8kbi
frame=132378 fps=4693 q=-1.0 size= 5394432kB time=00:36:52.71 bitrate=19971.5kbi
frame=134255 fps=4677 q=-1.0 size= 5469440kB time=00:37:24.05 bitrate=19966.4kbi
frame=136291 fps=4667 q=-1.0 size= 5549312kB time=00:37:58.03 bitrate=19955.7kbi
frame=139035 fps=4680 q=-1.0 size= 5658368kB time=00:38:43.79 bitrate=19947.2kbi
frame=140864 fps=4663 q=-1.0 size= 5730560kB time=00:39:14.30 bitrate=19939.9kbi
frame=142685 fps=4647 q=-1.0 size= 5801984kB time=00:39:44.68 bitrate=19931.3kbi
frame=145415 fps=4660 q=-1.0 size= 5910528kB time=00:40:30.25 bitrate=19923.4kbi
frame=147296 fps=4646 q=-1.0 size= 5984000kB time=00:41:01.61 bitrate=19914.1kbi
frame=149243 fps=4634 q=-1.0 size= 6060032kB time=00:41:34.10 bitrate=19904.4kbi
frame=151934 fps=4645 q=-1.0 size= 6164992kB time=00:42:18.99 bitrate=19891.2kbi
frame=153880 fps=4634 q=-1.0 size= 6241280kB time=00:42:51.48 bitrate=19882.9kbi
frame=155799 fps=4622 q=-1.0 size= 6316032kB time=00:43:23.50 bitrate=19873.6kbi
frame=158502 fps=4633 q=-1.0 size= 6426112kB time=00:44:08.60 bitrate=19875.7kbi
frame=160503 fps=4624 q=-1.0 size= 6505984kB time=00:44:41.98 bitrate=19872.2kbi
frame=162396 fps=4612 q=-1.0 size= 6584832kB time=00:45:13.58 bitrate=19878.9kbi
frame=165264 fps=4628 q=-1.0 size= 6705920kB time=00:46:01.43 bitrate=19893.6kbi
frame=167267 fps=4619 q=-1.0 size= 6788608kB time=00:46:34.84 bitrate=19898.2kbi
frame=169281 fps=4611 q=-1.0 size= 6873600kB time=00:47:08.42 bitrate=19908.1kbi
frame=171831 fps=4607 q=-1.0 size= 6972160kB time=00:47:50.95 bitrate=19894.4kbi
frame=174586 fps=4619 q=-1.0 size= 7080192kB time=00:48:36.95 bitrate=19884.1kbi
frame=176481 fps=4608 q=-1.0 size= 7156736kB time=00:49:08.54 bitrate=19883.7kbi
frame=178470 fps=4599 q=-1.0 size= 7234560kB time=00:49:41.74 bitrate=19876.1kbi
frame=181282 fps=4612 q=-1.0 size= 7344128kB time=00:50:28.65 bitrate=19864.6kbi
frame=183059 fps=4598 q=-1.0 size= 7414784kB time=00:50:58.33 bitrate=19861.1kbi
frame=185151 fps=4588 q=-1.0 size= 7496960kB time=00:51:33.23 bitrate=19854.7kbi
frame=188046 fps=4603 q=-1.0 size= 7610368kB time=00:52:21.50 bitrate=19845.3kbi
frame=189885 fps=4591 q=-1.0 size= 7685888kB time=00:52:52.20 bitrate=19848.3kbi
frame=193431 fps=4621 q=-1.0 size= 7761408kB time=00:53:51.34 bitrate=19676.5kbi
frame=196550 fps=4669 q=-1.0 Lsize= 7799116kB time=00:54:43.37 bitrate=19458.7kb
its/s speed= 78x
video:7704206kB audio:89623kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.067837%




Do I need to tell FFmpeg more information about the source file which I have seen suggested but I have been unable to implement. Again all Help is appreciated


-
Could not find codec parameters for stream 0 (Video : hevc, none) : unspecified size
5 avril 2020, par bzc0fqI try to use ffmpeg to feed ffserver on CENTOS 6.10. When I run ffmpeg on stream I got an error message : Could not find codec parameters for stream 0 (Video : h264, none) : unspecified size.



The full ffmpeg output is here :



[root@stone1 ~]# ffmpeg -i rtsp://user44:xxx@192.168.101.108:554/0 -y http://192.168.101.1:8090/feed2.ffm
ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
 built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
 configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
 libavutil 54. 20.100 / 54. 20.100
 libavcodec 56. 26.100 / 56. 26.100
 libavformat 56. 25.101 / 56. 25.101
 libavdevice 56. 4.100 / 56. 4.100
 libavfilter 5. 11.102 / 5. 11.102
 libavresample 2. 1. 0 / 2. 1. 0
 libswscale 3. 1.101 / 3. 1.101
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 3.100 / 53. 3.100
[rtsp @ 0x8bc780] Could not find codec parameters for stream 0 (Video: hevc, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://user44:xxx@192.168.101.108:554/0':
 Metadata:
 title : h264.mp4
 Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: hevc, none, 90k tbr, 90k tbn, 90k tbc
 Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
[buffer @ 0x91c2e0] Unable to parse option value "0x0" as image size
[buffer @ 0x91c2e0] Unable to parse option value "-1" as pixel format
[buffer @ 0x91c2e0] Unable to parse option value "0x0" as image size
[buffer @ 0x91c2e0] Error setting option video_size to value 0x0.
[graph 0 input from stream 0:0 @ 0x8a0da0] Error applying options to the filter.
Error opening filters!




I tested the stream with vlc on windows and it looks it works fine.




Any hints on the issue ?





UPDATE



I have confirmed that the same issue remains on Windows and Linux ffmpeg ver. 4.2.2. Please find attached debug output bellow.



D:\Temp\ffmpeg-4.2.2-win64-static\bin>ffmpeg -loglevel debug -i rtsp://userxx:xxx@192.168.101.108:554/0:0 -y http://192.168.101.1:8090/feed2.ffm
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'rtsp://userxx:xxx@192.168.101.108:554/0:0'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'http://192.168.101.1:8090/feed2.ffm' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://userxx:xxx@192.168.101.108:554/0:0.
Successfully parsed a group of options.
Opening an input file: rtsp://userxx:xxx@192.168.101.108:554/0:0.
[tcp @ 000002426835b540] No default whitelist set
[tcp @ 000002426835b540] Original list of addresses:
[tcp @ 000002426835b540] Address 192.168.101.108 port 554
[tcp @ 000002426835b540] Interleaved list of addresses:
[tcp @ 000002426835b540] Address 192.168.101.108 port 554
[tcp @ 000002426835b540] Starting connection attempt to 192.168.101.108 port 554
[tcp @ 000002426835b540] Successfully connected to 192.168.101.108 port 554
[rtsp @ 0000024268358c40] SDP:
v=0
o=StreamingServer 3331435948 1116907222000 IN IP4 192.168.101.108
s=h264.mp4
c=IN IP4 0.0.0.0
t=0 0
a=control:*
m=video 0 RTP/AVP 96
a=control:trackID=0
a=rtpmap:96 H265/90000
a=ptime:40
a=range:npt=0-0
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=(null)
a=videoinfo:960*576*30*4096
m=audio 0 RTP/AVP 0
a=control:trackID=1
a=rtpmap:0 PCMU/8000
a=ptime:20


[rtsp @ 0000024268358c40] video codec set to: hevc
[rtsp @ 0000024268358c40] audio codec set to: pcm_mulaw
[rtsp @ 0000024268358c40] audio samplerate set to: 8000
[rtsp @ 0000024268358c40] audio channels set to: 1
[rtp @ 000002426835bb00] No default whitelist set
[udp @ 000002426835f600] No default whitelist set
[udp @ 000002426835f600] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 000002426835f600] end receive buffer size reported is 65536
[udp @ 000002426836f900] No default whitelist set
[udp @ 000002426836f900] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 000002426836f900] end receive buffer size reported is 65536
[rtsp @ 0000024268358c40] setting jitter buffer size to 500
[rtp @ 00000242683804c0] No default whitelist set
[udp @ 0000024268380780] No default whitelist set
[udp @ 0000024268380780] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0000024268380780] end receive buffer size reported is 65536
[udp @ 0000024268390a80] No default whitelist set
[udp @ 0000024268390a80] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0000024268390a80] end receive buffer size reported is 65536
[rtsp @ 0000024268358c40] setting jitter buffer size to 500
[rtsp @ 0000024268358c40] hello state=0
[rtsp @ 0000024268358c40] Could not find codec parameters for stream 0 (Video: hevc, 1 reference frame, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://userxx:xxx@192.168.101.108:554/0:0':
 Metadata:
 title : h264.mp4
 Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
 Stream #0:0, 0, 1/90000: Video: hevc, 1 reference frame, none, 90k tbr, 90k tbn, 90k tbc
 Stream #0:1, 0, 1/8000: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Successfully opened the file.
Parsing a group of options: output url http://192.168.101.1:8090/feed2.ffm.
Successfully parsed a group of options.
Opening an output file: http://192.168.101.1:8090/feed2.ffm.
[NULL @ 00000242683c85c0] Unable to find a suitable output format for 'http://192.168.101.1:8090/feed2.ffm'
http://192.168.101.1:8090/feed2.ffm: Invalid argument




VLC works fine on the same Windows system.



Any hints on this please ?


-
FFMPEG Unable to find a suitable output format for '80'
29 mars 2020, par Adam GosztolaiI am trying to run ffmpeg with the following command
ffmpeg -r -n 80 -i /mnt/labserver/MD/Experimental_data/SS01054/U3_f/200206/111530_s4a10_p3-4/images_registered/on0/fly0/img_%d.jpg -pix_fmt yuv420p -vcodec libx264 /mnt/labserver/MD/Experimental_data/SS01054/U3_f/200206/111530_s4a10_p3-4/resultsDLC/1.mp4
I am getting the following error
Unable to find a suitable output format for '80' 80: Invalid argument
Could someone help what is wrong here ?