Sorry I did not read your example carefully, but still I am getting error see the complete output.
/usr/local/ffmpeg/ffmpeg -i udp://@227.10.20.80:1234 -map 0:p:1110 -vcodec libx264 -acodec aac -b:a 128k -b:v 512k -strict experimental test3.mp4 ffmpeg version N-45624-g596636a- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers built on Aug 30 2014 02:30:28 with gcc 4.8 (Debian 4.8.3-9) configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8 libavutil 54. 7.100 / 54. 7.100 libavcodec 56. 1.100 / 56. 1.100 libavformat 56. 3.100 / 56. 3.100 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 0.103 / 5. 0.103 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 0.100 / 53. 0.100 [NULL @ 0x3f0cb20] non-existing PPS 0 referenced [h264 @ 0x3f0cb20] non-existing PPS 0 referenced [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x3f0cb20] decode_slice_header error [h264 @ 0x3f0cb20] no frame! [h264 @ 0x3f0cb20] mmco: unref short failure Last message repeated 1 times [h264 @ 0x3f0cb20] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one [mpegts @ 0x3ec1920] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0x3ec1920] Could not find codec parameters for stream 7 (Audio: mp3 (AC-3 / 0x332D4341), 0 channels): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0x3ec1920] Could not find codec parameters for stream 8 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0x3ec1920] Could not find codec parameters for stream 9 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0x3ec1920] Could not find codec parameters for stream 10 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0x3ec1920] Could not find codec parameters for stream 11 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'udp://@227.10.20.80:1234': Duration: N/A, start: 44152.609789, bitrate: 668 kb/s Program 511 Metadata: service_name : my Fix & Foxi service_provider: Overon Stream #0:0[0x263]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 16:11 DAR 20:11], 25 fps, 2.08 tbr, 90k tbn, 50 tbc Stream #0:1[0x264](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 159 kb/s Stream #0:2[0x265](ara): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 159 kb/s Stream #0:3[0x266](deu): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 159 kb/s Program 611 Metadata: service_name : my Music Always HD service_provider: Overon Stream #0:4[0x137]: Video: h264 (Main) ([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:5[0x138](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 191 kb/s Program 1170 Metadata: service_name : Kahani HD service_provider: GeoTV Stream #0:6[0x71]: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k tbn Stream #0:7[0xd5](eng): Audio: mp3 (AC-3 / 0x332D4341), 0 channels Program 12 Metadata: service_name : Geo HD service_provider: Geo tv Stream #0:8[0x70]: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k tbn Stream #0:9[0xd4](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels Program 1110 Metadata: service_name : Super service_provider: GeoTV Stream #0:10[0x6b]: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k tbn Stream #0:11[0xcf](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels [buffer @ 0x3f81240] Unable to parse option value "0x0" as image size [buffer @ 0x3f81240] Unable to parse option value "-1" as pixel format [buffer @ 0x3f81240] Unable to parse option value "0x0" as image size [buffer @ 0x3f81240] Error setting option video_size to value 0x0. [graph 0 input from stream 0:10 @ 0x3fe8940] Error applying options to the filter. Error opening filters! <https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, Dec 2, 2015 at 7:43 PM, Moritz Barsnick <[email protected]> wrote: > Hello Mohammad, > > On Wed, Dec 02, 2015 at 19:15:56 +0500, Mohammad Shakir wrote: > > /usr/local/ffmpeg/ffmpeg -i udp://@227.10.20.80:1234 -map 0:0:p:1110 > -vcodec libx264 -acodec aac -b:a 128k -b:v 512k -strict experimental > test1.mp4 > > > On Wed, Dec 2, 2015 at 6:49 PM, Moritz Barsnick <[email protected]> > wrote: > > > $ ffmpeg -i [...] -map 0:p:1170 > > Can you see the difference? Either read the documentation, or read my > example more carefully. > > You are using: > -map 0:0:p:1110 > which ffmpeg, by the way, interprets as "0:0", > and I advised as such: > -map 0:p:1110 > > I truly believe my recommendation will work. ;-) > > Moritz > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
