Closed (duplicate)
Project:
Video
Version:
6.x-4.2-beta4
Component:
Video Trasncoding
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2011 at 20:49 UTC
Updated:
3 May 2011 at 16:52 UTC
When I upload a file it seems that the correct command for ffmpeg does not execute. I get the error.
"Something went wrong with your video conversion. Please check your recent log entries for further debugging.
The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename."
In the logs I see that the command that was executed is:
"Executing command: /usr/local/bin/ffmpeg -i 'sites/mydomain.com/files/myfile.flv' 2>&1"
I've got iPhone MOV enabled in presets. It does not fun ffmpeg with the correct options. On the command line I can convert a file using ffmpeg, so it is correctly configured.
Comments
Comment #1
hypertext200This is just a one command to get video info from FFMPEG, so there should be some other commands running in. Check logs.
Comment #2
diricia commentedThank you. I did see the other commands now.
I manually ran the command. And I get this output.
>/usr/local/bin/ffmpeg -i 'videos/original/lightning.avi' -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 'lightning.mov'
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 2 2011 14:19:07 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, avi, from 'videos/original/lightning.avi':
Duration: 00:00:08.06, start: 0.000000, bitrate: 1872 kb/s
Stream #0.0: Video: msvideo1, rgb555le, 320x240, 15 tbr, 15 tbn, 15 tbc
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
File 'lightning.mov' already exists. Overwrite ? [y/N] y
[buffer @ 0xf799560] w:320 h:240 pixfmt:rgb555le
[ffsink @ 0xf7add00] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0xf7ae000] w:320 h:240 fmt:rgb555le -> w:320 h:240 fmt:yuv420p flags:0xa0000004
[mpeg4 @ 0xf7a1670] VBV buffer too small for bitrate
Output #0, mp4, to 'lightning.mov':
Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=3-5, 700 kb/s, 90k tbn, 15 tbc
Stream mapping:
Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Comment #3
diricia commentedClosing this as it is a duplicate of http://drupal.org/node/1067860