+ Reply to Thread
Results 1 to 30 of 37
-
when i give small size image such as 104x80....and so on ,it gets upscaled,i need same image size which i merged in audio file
-
-
@bat999:i tried this command,but i got an error like
Invalid value '1' for option 'loop'
instead of loop 1 ,i put loop_input 1 again got an error that
Unable to find a suitable output format for '1' can u say me a solution pl -
-
E:\FFMpeg_Latest>ffmpeg -loop 1 -i "C:\Documents and Settings\Yali\Desktop\i.jpg
" -i E:\m4afiles\Sample.m4a -shortest -c:v libx264 -tune stillimage -c:a copy E:
\m4afiles\Sam.mp4
FFmpeg version SVN-r23053, Copyright (c) 2000-2010 the FFmpeg developers
built on May 16 2010 01:59:24 with gcc 4.4.0
configuration: --enable-static --disable-shared --enable-gpl --enable-avfilter
--enable-avfilter-lavf --enable-avisynth --enable-postproc --disable-ffplay --e
nable-libmp3lame --enable-bzlib --enable-zlib --target-os=mingw32 --enable-runti
me-cpudetect --enable-memalign-hack --enable-libx264 --extra-cflags=-fno-common
--enable-libfaac --enable-nonfree --enable-libfaad
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.67. 0 / 52.67. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
Invalid value '1' for option 'loop'
E:\FFMpeg_Latest> -
Get a newer ffmpeg from http://ffmpeg.zeranoe.com/builds/ . Use the 32bit static builds.
-
I've never gotten that command to work. Best bet IMO is Virtualdub. Under Video Frame Rate "change so video and audio duration match".
Either use external encoder to save as MP4 or save as uncompressed AVI and use ffmpeg to convert to MP4. -
Umm...that image looks a bit non-ahlla approved.
That type of photo can get the OP castrated in some regions of the world.
-
There you go, jumping to conclusions again
What if "vijay123" is a white honky living in the Mid West USA, in a Trailer park in Tornado valley ?
Come on! It's not that bad . Besides, Jessica fricken Alba should get a free pass in all parts of the world
(If there are objections, PM me and I will remove image , or replace with a more SFW picture) -
What you say willis?
Plus, it's not immediately apparent what the picture is, although it doesn't take long to recognize. The "Y" area automatically triggers the brain.
HahahaLast edited by budwzr; 16th Apr 2013 at 20:56.
-
A very easy way to create an audio with an embedded image is to use FFMpeg IF you download the version 20120426 because sometime in 201205xx they changed something that will not work now. I keep the previous version because it works on a lot that the later ones do not.
Anyway, just type : "ffmpeg-20120426.exe" -loop 1 -r 1 -shortest -i "shoes.jpg" -i "1.mp4" -acodec copy -vcodec mpeg4 "output.mp4"
I used the mpeg4 codec because it is less fussy about image width, height, etc.
Oh yeah... I couldn't find a great image like yours above so I used shoes. LOLLast edited by Budman1; 16th Apr 2013 at 22:59. Reason: comment
-
@budman1: ya almost i got output,but i need image size should not be upscaled ,i need same image size which i merged....can u pl tell me the solution.......
-
@poisondeathray:hi buddy image got merged ,but image get upscaled, i don't need image size be bigger ,is it possible to merge same image size in audio file...
-
@poisondeathray:hi buddy image got merged ,but image size get upscaled, i don't need image size be bigger ,is it possible to merge same image size in audio file...
-
did you test output.mp4 from post #15 ? does it look upscaled ? or does it look like picture in post #20 ?
Try resetting your VLC preferences : Tools => Preferences => Reset Preferences
If you used your own jpg, what are the characteristics, what dimensions ? -
Okay I guess I do not understand. The video image is the same size that I used. I used the one from your output and it stays same size as whatever the image starts as. If it is bigger in VLC then I would guess that is a setting in VLC. I use PotPlayer and I had to set the settings to play at the exact size of the video.
I also used your 104x80 image and created with FFmpeg and played in VLC and the image does not get upscaled:
The image is still 104x80 when played in my VLC. Are you saying it starts in an upscaled size. because mine does not.
Or do you mean http://www.aolcdn.com/photogalleryassets/comedy/902609/jessica-alba-940pg062510.jpg ?
You could convert that one for an upscaled UNblurred video but ypour original stay original size when embedded.Last edited by Budman1; 17th Apr 2013 at 00:31.
-
hi poisondeathray ,when u minimize the player image size gets smaller,i need image size be same ,whatever i maximize or minimize when i see my output..... i had attached your output,pl find it,it shows bigger size when i maximize the player
Last edited by vijay123; 17th Apr 2013 at 09:56.
-
I have several machines with XP I will try it later today when I return. Actually I believe FFMpeg does the encoding with its encoders so I would think it wouldn't matter what OS you use since the MP4 would be encoded identical on both systems UNLESS your VLC codecs(filters) would DISPLAY the video image differently under XP. Did you try other players such at Potplayer, GOM or others? Also, as I mentioned earlier, FFMpeg has changed many times and the version 20120426 was tested to work up through some time in may of 2012. Make sure you are using this version. The later versions will not work with this method.
-
After checking in XP also, I agree with Poisondeathray. The video is created in ffmpeg the same in all OS and is the size of the original image.
However, be sure the settings in Potplayer and VLC are set so the windows changes to fit the video and not the other way around. In VLC under tools -> preferences, check the all at the bottom and make sure the Video auto scaling is checked and the Video Scaling factor is set to default 1.0 as well as the zoom video set to 1.0 also.
To reiterate, all OS (XP and 7) create the video with FFmpeg with the dimensions of the original image. In your case 104x80. When you play them, different players can have their settings that will enlarge or not depending on how you set them.
-
Similar Threads
-
Merging multiple parts of one mp4 file into one file
By vaultedskies in forum Newbie / General discussionsReplies: 2Last Post: 16th Nov 2011, 09:08 -
Cutting/Merging MKV file - Mkvtoolnix
By FMFIA in forum EditingReplies: 1Last Post: 15th Aug 2010, 00:47 -
Merging audio file and video file using ffmpeg
By suresh3484 in forum ffmpegX general discussionReplies: 3Last Post: 17th Aug 2008, 21:20 -
Help on merging h264 and aac file
By overground55 in forum Newbie / General discussionsReplies: 5Last Post: 30th Jul 2008, 13:23 -
Merging audio file and video file using ffmpeg
By suresh3484 in forum ffmpegX general discussionReplies: 0Last Post: 27th May 2008, 03:05