Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   ffmpeg flv/mp4 - (http://www.linux-archive.org/fedora-user/703321-ffmpeg-flv-mp4.html)

"Bob Goodwin - Zuni, Virginia, USA" 09-12-2012 09:52 PM

ffmpeg flv/mp4 -
 
On 12/09/12 12:36, Rick Stevens types:


Get on the server with the flv files and use:

ffmpeg -i input.flv -sameq -ar 22050 output.mp4

Replace "input.flv" with the source filename and "output.mp4" with your
desired output file name. That should do it.

I tried that earlier but don't no how to deal with the errors.

[root@box7 dwhelper]# ffmpeg -i 3852374-xxxx_bashing_.flv -sameq
-ar 22050 output.mp4
WARNING: gnome-keyring:: couldn't connect to:
/run/user/bobg/keyring-66uQyY/pkcs11: No such file or directory
ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 20 2012 22:00:57 with gcc 4.7.0 20120507 (Red
Hat 4.7.0-5)
configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic' --enable-bzlib --disable-crystalhd
--enable-gnutls --enable-libass --enable-libcdio
--enable-libcelt --enable-libdc1394 --disable-indev=jack
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-openal --enable-libopenjpeg --enable-libpulse
--enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libv4l2
--enable-libvpx --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl
--disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-runtime-cpudetect
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[flv @ 0x968260] max_analyze_duration 5000000 reached at 5014000
Input #0, flv, from '3852374-left_politicizes_911_by_bashing_.flv':
Duration: 00:03:18.62, start: 0.000000, bitrate: 40 kb/s
Stream #0:0: Audio: aac, 22050 Hz, mono, s16
Incompatible sample format 's16' for codec 'aac', auto-selecting
format 'flt'
[NULL @ 0x96f3e0] Codec is experimental but experimental codecs
are not enabled, see -strict -2
Output #0, mp4, to 'output.mp4':
Stream #0:0: Audio: none, 22050 Hz, mono, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (aac -> aac)
Error while opening encoder for output stream #0:0 - maybe
incorrect parameters such as bit_rate, rate, width or height

Bob


.

--
http://www.qrz.com/db/W2BOD

box7

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Rick Stevens 09-13-2012 05:03 PM

ffmpeg flv/mp4 -
 
On 09/12/2012 02:52 PM, Bob Goodwin - Zuni, Virginia, USA uttered this
comment:

On 12/09/12 12:36, Rick Stevens types:


Get on the server with the flv files and use:

ffmpeg -i input.flv -sameq -ar 22050 output.mp4

Replace "input.flv" with the source filename and "output.mp4" with your
desired output file name. That should do it.

I tried that earlier but don't no how to deal with the errors.

[root@box7 dwhelper]# ffmpeg -i 3852374-xxxx_bashing_.flv -sameq
-ar 22050 output.mp4
WARNING: gnome-keyring:: couldn't connect to:
/run/user/bobg/keyring-66uQyY/pkcs11: No such file or directory
ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 20 2012 22:00:57 with gcc 4.7.0 20120507 (Red
Hat 4.7.0-5)
configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic' --enable-bzlib --disable-crystalhd
--enable-gnutls --enable-libass --enable-libcdio
--enable-libcelt --enable-libdc1394 --disable-indev=jack
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-openal --enable-libopenjpeg --enable-libpulse
--enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libv4l2
--enable-libvpx --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl
--disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-runtime-cpudetect
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[flv @ 0x968260] max_analyze_duration 5000000 reached at 5014000
Input #0, flv, from '3852374-left_politicizes_911_by_bashing_.flv':
Duration: 00:03:18.62, start: 0.000000, bitrate: 40 kb/s
Stream #0:0: Audio: aac, 22050 Hz, mono, s16
Incompatible sample format 's16' for codec 'aac', auto-selecting
format 'flt'
[NULL @ 0x96f3e0] Codec is experimental but experimental codecs
are not enabled, see -strict -2
Output #0, mp4, to 'output.mp4':
Stream #0:0: Audio: none, 22050 Hz, mono, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (aac -> aac)
Error while opening encoder for output stream #0:0 - maybe
incorrect parameters such as bit_rate, rate, width or height


Try rerunning the command but include "-strict experimental" (line
below may be wrapped due to mail message width...should be all on one
line):

ffmpeg -strict experimental -i 3852374-xxxx_bashing_.flv -sameq -ar
22050 output.mp4

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Is it progress if a cannibal uses a knife and fork? -
- -- Stanislaw J. Lec -
----------------------------------------------------------------------
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

"Bob Goodwin - Zuni, Virginia, USA" 09-13-2012 08:32 PM

ffmpeg flv/mp4 -
 
On 13/09/12 13:03, Rick Stevens types:

Try rerunning the command but include "-strict experimental" (line
below may be wrapped due to mail message width...should be all on one
line):

ffmpeg -strict experimental -i 3852374-xxxx_bashing_.flv -sameq -ar
22050 output.mp4



I thought perhaps the problem was with the original file and so
tried a different one:

[root@box7 VideoClips]# ffmpeg -strict experimental -i
HydraulicFracturing.flv -sameq -ar 22050 output-7.mp4
WARNING: gnome-keyring:: couldn't connect to:
/run/user/bobg/keyring-C4GEAs/pkcs11: No such file or directory
ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 20 2012 22:00:57 with gcc 4.7.0 20120507 (Red Hat
4.7.0-5)
configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
--enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394
--disable-indev=jack --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-openal --enable-libopenjpeg
--enable-libpulse --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl
--disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-runtime-cpudetect
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, flv, from 'HydraulicFracturing.flv':
Metadata:
audiodelay : 0
canSeekToEnd : true
Duration: 00:06:32.20, start: 0.000000, bitrate: 661 kb/s
Stream #0:0: Video: vp6f, yuv420p, 590x331, 409 kb/s, 30 tbr,
1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
[buffer @ 0xf11b80] w:590 h:331 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:
Incompatible sample format 's16' for codec 'aac', auto-selecting
format 'flt'
[libx264 @ 0xf100a0] height not divisible by 2 (590x331)
Output #0, mp4, to 'output-7.mp4':
Metadata:
audiodelay : 0
canSeekToEnd : true
Stream #0:0: Video: h264, yuv420p, 590x331, q=-1--1, 90k tbn,
30 tbc
Stream #0:1: Audio: none, 22050 Hz, stereo, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (vp6f -> libx264)
Stream #0:1 -> #0:1 (mp3 -> aac)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height


and without "-strict experimental."

[root@box7 VideoClips]# ffmpeg -i HydraulicFracturing.flv -sameq -ar
22050 output-7.mp4
WARNING: gnome-keyring:: couldn't connect to:
/run/user/bobg/keyring-C4GEAs/pkcs11: No such file or directory
ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 20 2012 22:00:57 with gcc 4.7.0 20120507 (Red Hat
4.7.0-5)
configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
--enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394
--disable-indev=jack --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-openal --enable-libopenjpeg
--enable-libpulse --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl
--disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-runtime-cpudetect
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, flv, from 'HydraulicFracturing.flv':
Metadata:
audiodelay : 0
canSeekToEnd : true
Duration: 00:06:32.20, start: 0.000000, bitrate: 661 kb/s
Stream #0:0: Video: vp6f, yuv420p, 590x331, 409 kb/s, 30 tbr,
1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
File 'output-7.mp4' already exists. Overwrite ? [y/N] y
w:590 h:331 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Incompatible sample format 's16' for codec 'aac', auto-selecting
format 'flt'
[libx264 @ 0xebe0a0] height not divisible by 2 (590x331)
Output #0, mp4, to 'output-7.mp4':
Metadata:
audiodelay : 0
canSeekToEnd : true
Stream #0:0: Video: h264, yuv420p, 590x331, q=-1--1, 90k tbn,
30 tbc
Stream #0:1: Audio: none, 22050 Hz, stereo, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (vp6f -> libx264)
Stream #0:1 -> #0:1 (mp3 -> aac)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height


I am using ffmpeg installed via yum a few days ago, should be the
latest, greatest. I've Googled it extensively, tried whatever I
found much like a rat in a mze ...

Bob


--
http://www.qrz.com/db/W2BOD

box7

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Ed Greshko 09-13-2012 11:29 PM

ffmpeg flv/mp4 -
 
On 09/13/2012 05:52 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
> I tried that earlier but don't no how to deal with the errors.

Does the solution require using ffmpeg?

I use "handbrake" a gui tool for all my conversion needs and it works great.

It isn't a Fedora download, and you have to use the download from their site for F16 but it works fine in F17. Just an option if you care to explore.

--
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

"Bob Goodwin - Zuni, Virginia, USA" 09-14-2012 12:03 AM

ffmpeg flv/mp4 -
 
On 13/09/12 19:29, Ed Greshko types:

On 09/13/2012 05:52 AM, Bob Goodwin - Zuni, Virginia, USA wrote:

I tried that earlier but don't no how to deal with the errors.

Does the solution require using ffmpeg?

I use "handbrake" a gui tool for all my conversion needs and it works great.

It isn't a Fedora download, and you have to use the download from their site for F16 but it works fine in F17. Just an option if you care to explore.



Only app. I found, ffmpeg. I'll try "handbrake," whatever will
convert flash to mp4 was the objective.

Thanks.

--
http://www.qrz.com/db/W2BOD


box7

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Ed Greshko 09-14-2012 12:05 AM

ffmpeg flv/mp4 -
 
On 09/14/2012 08:03 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
> On 13/09/12 19:29, Ed Greshko types:
>> On 09/13/2012 05:52 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
>>> I tried that earlier but don't no how to deal with the errors.
>> Does the solution require using ffmpeg?
>>
>> I use "handbrake" a gui tool for all my conversion needs and it works great.
>>
>> It isn't a Fedora download, and you have to use the download from their site for F16 but it works fine in F17. Just an option if you care to explore.
>>
>
> Only app. I found, ffmpeg. I'll try "handbrake," whatever will
> convert flash to mp4 was the objective.
>
>

The download is here.... http://sourceforge.net/projects/handbrake/files/0.9.6/

--
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

"Bob Goodwin - Zuni, Virginia, USA" 09-14-2012 01:37 AM

ffmpeg flv/mp4 -
 
On 13/09/12 20:05, Ed Greshko types:

On 09/14/2012 08:03 AM, Bob Goodwin - Zuni, Virginia, USA wrote:

On 13/09/12 19:29, Ed Greshko types:

On 09/13/2012 05:52 AM, Bob Goodwin - Zuni, Virginia, USA wrote:

I tried that earlier but don't no how to deal with the errors.

Does the solution require using ffmpeg?

I use "handbrake" a gui tool for all my conversion needs and it works great.

It isn't a Fedora download, and you have to use the download from their site for F16 but it works fine in F17. Just an option if you care to explore.


Only app. I found, ffmpeg. I'll try "handbrake," whatever will
convert flash to mp4 was the objective.



The download is here.... http://sourceforge.net/projects/handbrake/files/0.9.6/



OK, good, I just converted the Flash file I last tried to do with
ffmpeg using handbrake and VLC plays it full screen. It works for me
... I'll give it a better work out tomorrow. End of day here, that's
several problems solved today!

Thanks Ed,

Bob


--
http://www.qrz.com/db/W2BOD


box7

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


All times are GMT. The time now is 08:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.