
Recherche avancée
Autres articles (32)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (5969)
-
Issue when streaming some TV channels threw ffMpeg
7 octobre 2016, par Raphael SerievicI am trying to stream a TV Tuner feed with ffMpeg through udp.
The ffMpeg command line I use is the following :
ffmpeg.exe -i udp://@239.255.255.9:1234 -map 0:p:1317:0 -profile:v baseline -crf 30 -preset ultrafast -vcodec libx264 -r 25 -vf scale=720:576-b:v 500k -f rtp udp://10.150.112.107:15048/ -map 0:p:1317:1 -acodec pcm_mulaw -strict experimental -ar 8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
Where :
- 1317 is the program id (channel)
- 10.150.112.107 is where I want to stream the TV channel
- 239.255.255.9 is where I receive the original TV channel’s feed from my TV Tuner
My problem is that with some program IDs it is working and with some others it is not : it is working with 1572 ("channel 10 hd") but not with 1317 ("7flix Sydney").
The output of this command-line for channel 1572 (where it works) is the following :
C:\Program Files (x86)\Tuner Manager\ServerModule> ffmpeg.exe
-i udp://@239.255.255.7:1234 -map 0:p:1572:0 -profile:v baseline -crf 30 -prese
t ultrafast -vcodec libx264 -r 25 -vf scale=720:576 - b:v 500k -f rtp udp://1
0.150.112.107:15048/ -map 0:p:1572:1 -acodec pcm_mulaw -strict experimental -ar
8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
ffmpeg version N-71924-ga2190de Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 37.100 / 56. 37.100
libavformat 56. 31.102 / 56. 31.102
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[NULL @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
[mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
[mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
[h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
[h264 @ 00000000049ce980] non-existing PPS 0 referenced
[h264 @ 00000000049ce980] decode_slice_header error
[h264 @ 00000000049ce980] no frame!
[mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
Last message repeated 2 times
[mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
Last message repeated 3 times
[mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
Last message repeated 3 times
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 2 (Unknow
n: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 3 (Unknow
n: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 4 (Unknow
n: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 5 (Unknow
n: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 8 (Unknow
n: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 9 (Unknow
n: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 10 (Unkno
wn: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 14 (Unkno
wn: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 15 (Unkno
wn: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 16 (Unkno
wn: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 25 (Unkno
wn: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 26 (Unkno
wn: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 27 (Unkno
wn: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 29 (Unkno
wn: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 30 (Unkno
wn: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000000000494d6c0] Could not find codec parameters for stream 31 (Unkno
wn: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://@239.255.255.7:1234':
Duration: N/A, start: 64984.698511, bitrate: N/A
Program 1569
Metadata:
service_name : ONE
service_provider: TEN Sydney
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:25[0x3e8]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:26[0x3f2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:27[0x3fc]: Unknown: none ([12][0][0][0] / 0x000C)
Stream #0:23[0x202]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:24[0x2a0](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
eo, s16p, 192 kb/s
Stream #0:7[0x241](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Program 1573
Metadata:
service_name : TEN Digital
service_provider: TEN Sydney
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:14[0x3ea]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:15[0x3f4]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:16[0x3fe]: Unknown: none ([12][0][0][0] / 0x000C)
Stream #0:17[0x200]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:18[0x28a](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
eo, s16p, 256 kb/s
Stream #0:19[0x240](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Program 1574
Metadata:
service_name : TVSN
service_provider: TEN Sydney
Stream #0:6[0x206]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 5
0 tbc
Stream #0:28[0x2b2](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
eo, s16p, 192 kb/s
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:29[0x3eb]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:30[0x3f5]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:31[0x3ff]: Unknown: none ([12][0][0][0] / 0x000C)
Program 1575
Metadata:
service_name : ONE
service_provider: TEN Sydney
Stream #0:23[0x202]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:24[0x2a0](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
eo, s16p, 192 kb/s
Stream #0:7[0x241](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:25[0x3e8]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:26[0x3f2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:27[0x3fc]: Unknown: none ([12][0][0][0] / 0x000C)
Program 1576
Metadata:
service_name : ELEVEN
service_provider: TEN Sydney
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:8[0x3e9]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:9[0x3f3]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:10[0x3fd]: Unknown: none ([12][0][0][0] / 0x000C)
Stream #0:11[0x204]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:12[0x2a9](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
eo, s16p, 192 kb/s
Stream #0:13[0x242](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Program 1577
Metadata:
service_name : SpreeTV
service_provider: TEN Sydney
Stream #0:0[0x208]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 5
0 tbc
Stream #0:1[0x2bc](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stere
o, s16p, 192 kb/s
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:3[0x3ec]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:4[0x3f6]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:5[0x400]: Unknown: none ([12][0][0][0] / 0x000C)
Program 1572
Metadata:
service_name : TEN HD
service_provider: TEN Sydney
Stream #0:20[0x1ff]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv
, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:21[0x289](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side
), fltp, 448 kb/s
Stream #0:22[0x23f](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:14[0x3ea]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:15[0x3f4]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:16[0x3fe]: Unknown: none ([12][0][0][0] / 0x000C)
[NULL @ 0000000005af6de0] Unable to find a suitable output format for 'pipe:'
pipe:: Invalid argumentThe output of this command-line for channel 1317 (where it does not works) is the following :
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Users\Administrator.TMC>"C:\Program Files (x86)\Tv Tuner Mana
ger\ServerModule\ffmpeg.exe" -i udp://@239.255.255.9:1234 -map 0:p:1317:0 -profi
le:v baseline -crf 30 -preset ultrafast -vcodec libx264 -r 25 -vf scale=720:576
-b:v 500k -f rtp udp://10.150.112.107:15048/ -map 0:p:1317:1 -acodec pcm_mulaw -
strict experimental -ar 8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
ffmpeg version N-71924-ga2190de Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 37.100 / 56. 37.100
libavformat 56. 31.102 / 56. 31.102
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
[NULL @ 0000000004789600] non-existing PPS 0 referenced
[h264 @ 0000000004789600] decode_slice_header error
[h264 @ 0000000004789600] no frame!
[mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
[NULL @ 000000000472a060] non-existing PPS 0 referenced
[h264 @ 000000000472a060] decode_slice_header error
[h264 @ 000000000472a060] no frame!
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
[h264 @ 000000000472a060] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000000000472a060] decode_slice_header error
[h264 @ 000000000472a060] no frame!
[h264 @ 000000000472a060] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000000000472a060] decode_slice_header error
[h264 @ 000000000472a060] no frame!
[mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
[mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 000000000472c620] Invalid frame dimensions 0x0.
[h264 @ 0000000004789600] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000004789600] decode_slice_header error
[h264 @ 0000000004789600] no frame!
[mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
[h264 @ 000000000472a060] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000000000472a060] decode_slice_header error
[h264 @ 000000000472a060] no frame!
[mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
[mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 000000000472c620] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
Last message repeated 2 times
[mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
[mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
[mpegts @ 0000000004710020] Could not find codec parameters for stream 3 (Unknow
n: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0000000004710020] Could not find codec parameters for stream 4 (Unknow
n: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://@239.255.255.9:1234':
Duration: N/A, start: 77183.898689, bitrate: N/A
Program 1312
Metadata:
service_name : 7 Sydney
service_provider: Seven Network
Stream #0:0[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn, 5
0 tbc
Stream #0:1[0x202](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
o, s16p, 256 kb/s
Stream #0:2[0x204](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Program 1313
Metadata:
service_name : 7 Sydney
service_provider: Seven Network
Stream #0:0[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn, 5
0 tbc
Stream #0:1[0x202](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
o, s16p, 256 kb/s
Stream #0:2[0x204](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Program 1314
Metadata:
service_name : 7TWO Sydney
service_provider: Seven Network
Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:18[0x221]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:10[0x222](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
eo, s16p, 192 kb/s
Stream #0:5[0x224](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Program 1315
Metadata:
service_name : 7mate Sydney
service_provider: Seven Network
Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:13[0x231]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:15[0x232](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
eo, s16p, 256 kb/s
Stream #0:12[0x234](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Program 1316
Metadata:
service_name : 7HD Sydney
service_provider: Seven Network
Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:6[0x241]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 19
20x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:16[0x243](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, ster
eo, fltp, 384 kb/s
Stream #0:8[0x244](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Program 1317
Metadata:
service_name : 7flix Sydney
service_provider: Seven Network
Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:11[0x251]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 12500 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:9[0x253](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
o, s16p, 128 kb/s
Stream #0:14[0x254](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Program 1320
Metadata:
service_name : RACING.COM
service_provider: Seven Network
Stream #0:7[0x281]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 64
0x576 [SAR 8:5 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:17[0x282](eng): Audio: aac_latm (HE-AACv2) ([17][0][0][0] / 0x0011
), 48000 Hz, stereo, fltp
Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
Cannot map stream #0:3 - unsupported type.Thanks for your help
-
ffmpeg installation undefined reference to
8 février 2017, par user1683302I used this official link to download ffmpeg and compile it. I know it creates a static library and I have to reference the library folder. When i try to compile this tutorial . i get this errors
tutorial01.c: In function ‘main’:
tutorial01.c:96:5: warning: ‘codec’ is deprecated [-Wdeprecated- declarations]
if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
^
In file included from tutorial01.c:27:0:
/home/osboxes/ffmpeg_build/include/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^
tutorial01.c:104:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
pCodecCtxOrig=pFormatCtx->streams[videoStream]->codec;
^
In file included from tutorial01.c:27:0:
/home/osboxes/ffmpeg_build/include/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^
tutorial01.c:113:3: warning: ‘avcodec_copy_context’ is deprecated [-Wdeprecated-declarations]
if(avcodec_copy_context(pCodecCtx, pCodecCtxOrig) != 0) {
^
In file included from tutorial01.c:26:0:
/home/osboxes/ffmpeg_build/include/libavcodec/avcodec.h:4240:5: note: declared here
int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src);
^
tutorial01.c:131:3: warning: ‘avpicture_get_size’ is deprecated [-Wdeprecated-declarations]
numBytes=avpicture_get_size(AV_PIX_FMT_RGB24, pCodecCtx->width,
^
In file included from tutorial01.c:26:0:
/home/osboxes/ffmpeg_build/include/libavcodec/avcodec.h:5467:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
tutorial01.c:138:3: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *)pFrameRGB, buffer, AV_PIX_FMT_RGB24,
^
In file included from tutorial01.c:26:0:
/home/osboxes/ffmpeg_build/include/libavcodec/avcodec.h:5452:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^
tutorial01.c:160:7: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations]
avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet);
^
In file included from tutorial01.c:26:0:
/home/osboxes/ffmpeg_build/include/libavcodec/avcodec.h:4811:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
tutorial01.c:177:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
av_free_packet(&packet);
^
In file included from tutorial01.c:26:0:
/home/osboxes/ffmpeg_build/include/libavcodec/avcodec.h:4472:6: note: declared here
void av_free_packet(AVPacket *pkt);
^
/tmp/ccHYDd9j.o: In function `main':
tutorial01.c:(.text+0x178): undefined reference to `av_register_all'
tutorial01.c:(.text+0x19f): undefined reference to `avformat_open_input'
tutorial01.c:(.text+0x1c1): undefined reference to `avformat_find_stream_info'
tutorial01.c:(.text+0x1f6): undefined reference to `av_dump_format'
tutorial01.c:(.text+0x2ab): undefined reference to `avcodec_find_decoder'
tutorial01.c:(.text+0x2ea): undefined reference to `avcodec_alloc_context3'
tutorial01.c:(.text+0x304): undefined reference to `avcodec_copy_context'
tutorial01.c:(.text+0x348): undefined reference to `avcodec_open2'
tutorial01.c:(.text+0x35b): undefined reference to `av_frame_alloc'
tutorial01.c:(.text+0x367): undefined reference to `av_frame_alloc'
tutorial01.c:(.text+0x3a4): undefined reference to `avpicture_get_size'
tutorial01.c:(.text+0x3ba): undefined reference to `av_malloc'
tutorial01.c:(.text+0x3ef): undefined reference to `avpicture_fill'
tutorial01.c:(.text+0x439): undefined reference to `sws_getContext'
tutorial01.c:(.text+0x47d): undefined reference to `avcodec_decode_video2'
tutorial01.c:(.text+0x4de): undefined reference to `sws_scale'
tutorial01.c:(.text+0x527): undefined reference to `av_free_packet'
tutorial01.c:(.text+0x53d): undefined reference to `av_read_frame'
tutorial01.c:(.text+0x551): undefined reference to `av_free'
tutorial01.c:(.text+0x560): undefined reference to `av_frame_free'
tutorial01.c:(.text+0x56f): undefined reference to `av_frame_free'
tutorial01.c:(.text+0x57b): undefined reference to `avcodec_close'
tutorial01.c:(.text+0x58a): undefined reference to `avcodec_close'
tutorial01.c:(.text+0x599): undefined reference to `avformat_close_input'
collect2: error: ld returned 1 exit statusi used this
sudo gcc -I /home/osboxes/ffmpeg_build/include -L /home/osboxes/ffmpeg_build/lib -lavcode -lavformat -lavutil -lswscale -lz -lm tutorial01.c
my ffmpeg is
ffmpeg version N-82113-g490c6bd Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
configuration: --prefix=/home/osboxes/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/osboxes/ffmpeg_build/include --extra-ldflags=- L/home/osboxes/ffmpeg_build/lib --bindir=/home/osboxes/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libopus --enable-libx264 --enable-nonfree
libavutil 55. 33.100 / 55. 33.100
libavcodec 57. 63.103 / 57. 63.103
libavformat 57. 55.100 / 57. 55.100
libavdevice 57. 0.103 / 57. 0.103
libavfilter 6. 64.100 / 6. 64.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 2.100 / 2. 2.100
libpostproc 54. 0.100 / 54. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...the tutorial code was update to work on new ffmpeg versions.I’m using VM Ubuntu 16.0.4 64 bit fresh install on windows 10 host.
so why I’m having all of these errors ?
Update :
I moved to Ubuntu 12.04 VM and ffmpeg 0.11, I instilled it with opencv 2.4.2 here is the link . This should work yet i don’t why I’m having hard time compiling such small program.ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 25 2016 13:39:37 with gcc 4.6.3
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-shared --enable-pic
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...yet i still have the problem but it is less sever
gcc -o tutorial01 tutorial01.c -Wl,--start-group -lavcodec -lavformat -lswscale -lavutil -lz -lm -Wl,--end-group
/tmp/ccnFfu84.o: In function `main':
tutorial01.c:(.text+0x500): undefined reference to `avcodec_free_frame'
tutorial01.c:(.text+0x511): undefined reference to `avcodec_free_frame'
collect2: ld returned 1 exit statusi tried this
ldconfig -p | grep av
libxklavier.so.16 (libc6,x86-64) => /usr/lib/libxklavier.so.16
libwavpack.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux gnu/libwavpack.so.1
libjavascriptcoregtk-3.0.so.0 (libc6,x86-64) => /usr/lib/libjavascriptcoregtk-3.0.so.0
libdvdnavmini.so.4 (libc6,x86-64) => /usr/lib/libdvdnavmini.so.4
libdvdnav.so.4 (libc6,x86-64) => /usr/lib/libdvdnav.so.4
libavutil.so.51 (libc6,x86-64) => /usr/local/lib/libavutil.so.51
libavutil.so.51 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavutil.so.51
libavutil.so (libc6,x86-64) => /usr/local/lib/libavutil.so
libavformat.so.54 (libc6,x86-64) => /usr/local/lib/libavformat.so.54
libavformat.so.53 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavformat.so.53
libavformat.so (libc6,x86-64) => /usr/local/lib/libavformat.so
libavfilter.so.2 (libc6,x86-64) => /usr/local/lib/libavfilter.so.2
libavfilter.so (libc6,x86-64) => /usr/local/lib/libavfilter.so
libavdevice.so.54 (libc6,x86-64) => /usr/local/lib/libavdevice.so.54
libavdevice.so (libc6,x86-64) => /usr/local/lib/libavdevice.so
libavc1394.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavc1394.so.0
libavcodec.so.54 (libc6,x86-64) => /usr/local/lib/libavcodec.so.54
libavcodec.so.53 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavcodec.so.53
libavcodec.so (libc6,x86-64) => /usr/local/lib/libavcodec.so
libavahi-ui-gtk3.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-ui-gtk3.so.0
libavahi-gobject.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-gobject.so.0
libavahi-glib.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-glib.so.1
libavahi-core.so.7 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-core.so.7
libavahi-common.so.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
libavahi-common.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-common.so
libavahi-client.so.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-client.so.3
libavahi-client.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavahi-client.soUpdate2
I changged
avcodec_free_frame
toav_free
and the file compliedDranger code is old
Update 3
i downloaded ffmpeg 1.0.10 which has the same library version that is the tutorial tested on. Everything complied without any problem now. -
Change AVI creation date with ffmpeg ?
1er novembre 2016, par brockAs far as I can tell the following ffmpeg command should copy all existing metadata in the input file to the output file and modify the specified field in the output file :
ffmpeg -i VID_20130502_220104.avi -metadata creation_time="2013-05-02 22:01:04" -codec copy VID_20130502_220104-2.avi
Instead, it seems to strip all metadata from the output file. Here is the output of a few commands. I am going nuts. I think this should work, but why is it not ?
Command to edit the creation time :
ffmpeg -i VID_20130502_220104.avi -metadata creation_time="2013-05-02 22:01:04" -codec copy VID_20130502_220104-2.avi
ffmpeg version 3.1.5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from 'VID_20130502_220104.avi':
Metadata:
encoder :
maker : NIKON
model : COOLPIX S4300
creation_time : 2011-01-01 00:00:00
Duration: 00:01:30.50, start: 0.000000, bitrate: 32135 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, 31782 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
[avi @ 000000000032ad40] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 1 times
Output #0, avi, to 'VID_20130502_220104-2.avi':
Metadata:
creation_time : 2013-05-02 22:01:04
maker : NIKON
model : COOLPIX S4300
ISFT : Lavf57.41.100
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, q=2-31, 31782 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, 352 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 891 fps=0.0 q=-1.0 size= 116171kB time=00:00:29.69 bitrate=32043.1kbits/s speed=59.4x
frame= 1739 fps=1739 q=-1.0 size= 227191kB time=00:00:57.96 bitrate=32107.5kbits/s speed= 58x
frame= 2609 fps=1739 q=-1.0 size= 340940kB time=00:01:26.96 bitrate=32115.9kbits/s speed= 58x
frame= 2715 fps=1734 q=-1.0 Lsize= 355018kB time=00:01:30.49 bitrate=32136.3kbits/s speed=57.8x
video:350984kB audio:3897kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.038597%Command to inspect the output file metadata with ffmpeg :
ffmpeg -i VID_20130502_220104-2.avi
ffmpeg version 3.1.5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from 'VID_20130502_220104-2.avi':
Metadata:
encoder : Lavf57.41.100
Duration: 00:01:30.50, start: 0.000000, bitrate: 32136 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, 31782 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
At least one output file must be specifiedCommand to inspect the input file metadata with exiftool :
exiftool.exe VID_20130502_220104.avi
ExifTool Version Number : 10.30
File Name : VID_20130502_220104.avi
Directory : .
File Size : 347 MB
File Modification Date/Time : 2013:05:13 16:33:52-04:00
File Access Date/Time : 2015:11:10 23:08:25-05:00
File Creation Date/Time : 2015:11:10 23:08:25-05:00
File Permissions : rw-rw-rw-
File Type : AVI
File Type Extension : avi
MIME Type : video/x-msvideo
Frame Rate : 30
Max Data Rate : 488.3 kB/s
Frame Count : 2715
Stream Count : 2
Stream Type : Video
Video Codec : mjpg
Video Frame Rate : 30
Video Frame Count : 2715
Quality : 10000
Sample Size : Variable
Image Width : 1280
Image Height : 720
Planes : 1
Bit Depth : 24
Compression : MJPG
Image Length : 2764800
Pixels Per Meter X : 0
Pixels Per Meter Y : 0
Num Colors : Use BitDepth
Num Important Colors : All
Audio Codec :
Audio Sample Rate : 22050
Audio Sample Count : 1995256
Encoding : Microsoft PCM
Num Channels : 1
Sample Rate : 22050
Avg Bytes Per Sec : 44100
Bits Per Sample : 16
Maker Note Type : NIKON
Maker Note Version : 0.1.0.0
Make : NIKON
Model : COOLPIX S4300
Software : V1.0
Equipment : NIKON DIGITAL CAMERA
Orientation : Horizontal (normal)
Exposure Time : 1/15
F Number : 3.5
Exposure Compensation : 0
Max Aperture Value : 3.2
Metering Mode : Multi-segment
Focal Length : 4.6 mm
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Date/Time Original : 2011:01:01 00:00:00
Create Date : 2011:01:01 00:00:00
Focus Mode : AF-S
Digital Zoom : 1
Color Mode : COLOR
Sharpness : AUTO
White Balance : NORMAL
Noise Reduction : OFF
Thumbnail Image : (Binary data 3082 bytes, use -b option to extract)
Aperture : 3.5
Duration : 0:01:30
Image Size : 1280x720
Megapixels : 0.922
Shutter Speed : 1/15
Focal Length : 4.6 mmCommand to inspect the output file metadata with exiftool :
exiftool.exe VID_20130502_220104-2.avi
ExifTool Version Number : 10.30
File Name : VID_20130502_220104-2.avi
Directory : .
File Size : 347 MB
File Modification Date/Time : 2016:11:01 00:17:38-04:00
File Access Date/Time : 2016:11:01 00:17:36-04:00
File Creation Date/Time : 2016:11:01 00:15:18-04:00
File Permissions : rw-rw-rw-
File Type : AVI
File Type Extension : avi
MIME Type : video/x-msvideo
Frame Rate : 30
Max Data Rate : 3923 kB/s
Frame Count : 2715
Stream Count : 2
Stream Type : Video
Video Codec : MJPG
Video Frame Rate : 30
Video Frame Count : 2715
Quality : Default
Sample Size : Variable
Image Width : 1280
Image Height : 720
Planes : 1
Bit Depth : 24
Compression : MJPG
Image Length : 2764800
Pixels Per Meter X : 0
Pixels Per Meter Y : 0
Num Colors : Use BitDepth
Num Important Colors : All
Audio Codec : .
Audio Sample Rate : 22050
Audio Sample Count : 1995256
Encoding : Microsoft PCM
Num Channels : 1
Sample Rate : 22050
Avg Bytes Per Sec : 44100
Bits Per Sample : 16
Software : Lavf57.41.100
Duration : 0:01:30
Image Size : 1280x720
Megapixels : 0.922