[FFmpeg-user] How to output the MPEG-4 streaming to file?
Yuki
yn.musen at gmail.com
Wed Oct 26 10:28:11 EEST 2016
Cley Faye wrote
> What is required to better understand the issue is the full command and
> the
> full output of the ffmpeg process, from the version header to the end. It
> will most likely contain the required informations.
Thank you for your reply.
Provide results.
H.264:
[centos at localhost ~]$ ffmpeg -i udp://@239.203.64.134:29000 -c:v copy -c:a
copy -f mpegts h264_dump.ts
ffmpeg version git-2016-10-25-c117343 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/usr/local/ffmpeg_build
--extra-cflags=-I/usr/local/ffmpeg_build/include
--extra-ldflags=-L/usr/local/ffmpeg_build/lib
--bindir=/usr/local/ffmpeg_build/bin --pkg-config-flags=--static
--enable-gpl --enable-nonfree --enable-libfreetype --enable-libx264
--enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libtheora --enable-libvpx --enable-libass
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
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] SPS unavailable in decode_picture_timing
[h264 @ 0x44842a0] non-existing PPS 0 referenced
[h264 @ 0x44842a0] decode_slice_header error
[h264 @ 0x44842a0] no frame!
[h264 @ 0x44842a0] concealing 438 DC, 438 AC, 438 MV errors in I frame
Input #0, mpegts, from 'udp://@239.203.64.134:29000':
Duration: N/A, start: 9141.978289, bitrate: N/A
Program 29952
Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k
tbn, 59.94 tbc
Output #0, mpegts, to 'h264_dump.ts':
Metadata:
encoder : Lavf57.55.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top
first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn,
90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 648 fps= 39 q=-1.0 Lsize= 16635kB time=00:00:21.88
bitrate=6225.8kbits/s speed=1.32x
video:15365kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 8.263613%
OutputFile...https://drive.google.com/file/d/0Bx3xeHwXuVdlbzMzcTQxNE9IRFE/view?usp=sharing
MPEG-2:
[centos at localhost ~]$ ffmpeg -i udp://@239.203.64.133:29000 -c:v copy -c:a
copy -f mpegts mpeg2_dump.ts
ffmpeg version git-2016-10-25-c117343 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/usr/local/ffmpeg_build
--extra-cflags=-I/usr/local/ffmpeg_build/include
--extra-ldflags=-L/usr/local/ffmpeg_build/lib
--bindir=/usr/local/ffmpeg_build/bin --pkg-config-flags=--static
--enable-gpl --enable-nonfree --enable-libfreetype --enable-libx264
--enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libtheora --enable-libvpx --enable-libass
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
[mpeg2video @ 0x31baf80] Invalid frame dimensions 0x0.
Last message repeated 4 times
Input #0, mpeg, from 'udp://@239.203.64.133:29000':
Duration: N/A, start: 94619.412067, bitrate: 5423 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first),
720x480 [SAR 8:9 DAR 4:3], 5167 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94
tbc
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
Output #0, mpegts, to 'mpeg2_dump.ts':
Metadata:
encoder : Lavf57.55.100
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480
[SAR 8:9 DAR 4:3], q=2-31, 5167 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 629 fps= 38 q=-1.0 Lsize= 14989kB time=00:00:21.84
bitrate=5621.7kbits/s speed=1.32x
video:13189kB audio:661kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 8.228645%
OutputFile...https://drive.google.com/file/d/0Bx3xeHwXuVdlVHpEYkpuYmxLNHM/view?usp=sharing
MPEG-4:
[centos at localhost ~]$ ffmpeg -i udp://@239.203.59.225:50100 -c:v copy -c:a
copy -f mpegts mpeg4_dump.ts
ffmpeg version git-2016-10-25-c117343 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/usr/local/ffmpeg_build
--extra-cflags=-I/usr/local/ffmpeg_build/include
--extra-ldflags=-L/usr/local/ffmpeg_build/lib
--bindir=/usr/local/ffmpeg_build/bin --pkg-config-flags=--static
--enable-gpl --enable-nonfree --enable-libfreetype --enable-libx264
--enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libtheora --enable-libvpx --enable-libass
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
udp://@239.203.59.225:50100: Invalid data found when processing input
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-to-output-the-MPEG-4-streaming-to-file-tp4678001p4678013.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list