[FFmpeg-user] New version - date in name

Nicolas George nicolas.george at normalesup.org
Thu Nov 24 11:31:47 CET 2011

Le quartidi 4 frimaire, an CCXX, Sw at g a écrit :
> [sweetth at myhost ~]$ ffmpeg -f alsa -i pulse -acodec ac3 -f
> video4linux2 -s 640x480 -r 15 -i /dev/video0 -vcodec libx264 -preset
> medium -crf 26 -threads 0 cam_`date +%#F_%T`.mkv
> cam_2011-11-24_10:19:27.mkv: No such file or directory

Strange. You should try the following tests:

* Directly write "cam_2011-11-24_10:19:27.mkv" on ffmpeg command-line,
  without using the shell substitution.

* The same with a more normal name: "cam_20111124_101927.mkv".

* Opening the file from the shell instead of ffmpeg:
  ffmpeg ... -f mkv - > cam...mkv

* Just creating the file from the shell:
  touch cam_2011-11-24_10:19:27.mkv

Those tests would help find out what is going wrong.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20111124/82b80183/attachment.asc>

More information about the ffmpeg-user mailing list