Guest User

Untitled

a guest
Oct 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.09 KB | None | 0 0
  1. Command:
  2. /usr/bin/ffmpeg -i "/path/to/my/file.flv" -vn "/path/to/outputfile.wav"
  3.  
  4. This works, the audio is extracted. But the first few SILENT seconds are stripped. I'm looking for a way to keep this data.
  5.  
  6. The outputted data:
  7.  
  8. /usr/bin/ffmpeg -i "/path/to/my/file.flv" -vn "/path/to/outputfile.wav"
  9. FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
  10.  built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  11.  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
  12.  libavutil     50.15. 1 / 50.15. 1
  13.  libavcodec    52.72. 2 / 52.72. 2
  14.  libavformat   52.64. 2 / 52.64. 2
  15.  libavdevice   52. 2. 0 / 52. 2. 0
  16.  libavfilter    1.19. 0 /  1.19. 0
  17.  libswscale     0.11. 0 /  0.11. 0
  18.  libpostproc   51. 2. 0 / 51. 2. 0
  19. [flv @ 0xaf78b0]Estimating duration from bitrate, this may be inaccurate
  20. Input #0, flv, from '/path/to/my/file.flv':
  21.  Metadata:
  22.    duration        : 44
  23.    creationdate    : Wed Sep 5 12:20:55
  24.    description     : Wicked Singalong recording
  25.  Duration: 00:00:44.23, start: 0.000000, bitrate: N/A
  26.    Stream #0.0: Video: flv, yuv420p, 352x264, 1k tbr, 1k tbn, 1k tbc
  27.    Stream #0.1: Audio: nellymoser, 22050 Hz, mono, s16
  28. Output #0, wav, to '/path/to/outputfile.wav':
  29.  Metadata:
  30.    encoder         : Lavf52.64.2
  31.    Stream #0.0: Audio: pcm_s16le, 22050 Hz, mono, s16, 352 kb/s
  32. Stream mapping:
  33.  Stream #0.1 -> #0.0
  34. Press [q] to stop encoding
  35. size=    1826kB time=42.40 bitrate= 352.8kbits/s
  36. video:0kB audio:1826kB global headers:0kB muxing overhead 0.002353%
Add Comment
Please, Sign In to add comment