Skip to content

Instantly share code, notes, and snippets.

Created October 10, 2012 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3863736 to your computer and use it in GitHub Desktop.
Save anonymous/3863736 to your computer and use it in GitHub Desktop.
stdin
[rpolzer@nb-04 _live]$ cat foo.sh
ffmpeg -y -nostdin \
-i /mnt/VIDEO_TS/VTS_01_1.VOB \
-filter_complex '[0:0]null[VIDEO_IN]' \
-filter_complex '[VIDEO_IN]null[VIDEO_OUT]' \
-map '[VIDEO_OUT]' -map 0:1 out.mp4
[rpolzer@nb-04 _live]$ sh foo.sh
ffmpeg version git-2012-10-09-238e904 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 9 2012 13:01:13 with gcc 4.7.1 (GCC) 20120721 (prerelease)
configuration: --prefix=/usr --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libass --enable-libfdk-aac --enable-nonfree --enable-x11grab
libavutil 51. 74.100 / 51. 74.100
libavcodec 54. 65.100 / 54. 65.100
libavformat 54. 31.100 / 54. 31.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[mpeg @ 0x1f36240] max_analyze_duration 5000000 reached at 5005000
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mpeg, from '/mnt/VIDEO_TS/VTS_01_1.VOB':
Duration: 00:15:12.87, start: 0.280633, bitrate: 9409 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 9800 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0xa0]: Audio: pcm_s16be, 48000 Hz, stereo, s16, 1536 kb/s
[mpeg @ 0x1f36240] Invalid stream specifier: VIDEO_IN.
Last message repeated 1 times
Stream specifier 'VIDEO_IN' in filtergraph description [VIDEO_IN]null[VIDEO_OUT] matches no streams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment