Justin Ruggles | 1 Aug 01:03
Picon
Gravatar

Re: Encoding to M4V format is not working on SVN-r19557

Neeraj Prasad wrote:
> Hello all,
> Please help me resolving the issue related to encoding of YUV420 to M4V
> format using FFMPEG. The details are mentioned below -
> 
> I provide the following command for video conversion -
> 
> ffmpeg -r 25 -s cif -i video.yuv -y -s cif -b 64k -r 15 -g 10 video.m4v
> 
> It gives an error (Encoder (codec id 28) not found for output stream #0.0) when
> the output format is m4v. When I provide the output format as mp4, the
> encoding happens perfectly. Also while below is output of ffmpeg -formats.
> 
> dcw-31:# ffmpeg -formats | grep m4v
> FFmpeg version SVN-r19557, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>   configuration: --enable-shared --enable-gpl --enable-pthreads
> --enable-nonfree --enable-libfaac --enable-libfaad --enable-libfaadbin
> --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis
> --enable-zlib
>   libavutil     50. 3. 0 / 50. 3. 0
>   libavcodec    52.32. 0 / 52.32. 0
>   libavformat   52.37. 0 / 52.37. 0
>   libavdevice   52. 2. 0 / 52. 2. 0
>   libswscale     0. 7. 1 /  0. 7. 1
>   built on Jul 31 2009 14:15:22, gcc: 4.2.1 (SUSE Linux)
>  DE m4v             raw MPEG-4 video format
> 
> Error details -
> 
> FFmpeg version SVN-r19557, Copyright (c) 2000-2009 Fabrice Bellard, et al.
(Continue reading)

Justin Ruggles | 1 Aug 01:04
Picon
Gravatar

Re: Encoding to M4V format is not working on SVN-r19557

Justin Ruggles wrote:
> Neeraj Prasad wrote:
>> Hello all,
>> Please help me resolving the issue related to encoding of YUV420 to M4V
>> format using FFMPEG. The details are mentioned below -
>>
>> I provide the following command for video conversion -
>>
>> ffmpeg -r 25 -s cif -i video.yuv -y -s cif -b 64k -r 15 -g 10 video.m4v
>>
>> It gives an error (Encoder (codec id 28) not found for output stream #0.0) when
>> the output format is m4v. When I provide the output format as mp4, the
>> encoding happens perfectly. Also while below is output of ffmpeg -formats.
>>
>> dcw-31:# ffmpeg -formats | grep m4v
>> FFmpeg version SVN-r19557, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>>   configuration: --enable-shared --enable-gpl --enable-pthreads
>> --enable-nonfree --enable-libfaac --enable-libfaad --enable-libfaadbin
>> --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis
>> --enable-zlib
>>   libavutil     50. 3. 0 / 50. 3. 0
>>   libavcodec    52.32. 0 / 52.32. 0
>>   libavformat   52.37. 0 / 52.37. 0
>>   libavdevice   52. 2. 0 / 52. 2. 0
>>   libswscale     0. 7. 1 /  0. 7. 1
>>   built on Jul 31 2009 14:15:22, gcc: 4.2.1 (SUSE Linux)
>>  DE m4v             raw MPEG-4 video format
>>
>> Error details -
>>
(Continue reading)

Neeraj Prasad | 1 Aug 07:43
Picon

Re: Encoding to M4V format is not working on SVN-r19557

Hi Justin,
Thank you for your quick help.

Using the option *vcodec -mpeg4* the encoding is working, however the output
is not raw MPEG4 visual bitstream. Can you provide the appropriate command
to produce raw MPEG4 visual bitstream, rather than iPOD specific container
format.

Thanks again for your quick help.

~neeraj.

On Sat, Aug 1, 2009 at 4:34 AM, Justin Ruggles <justin.ruggles <at> gmail.com>wrote:

> Justin Ruggles wrote:
> > Neeraj Prasad wrote:
> >> Hello all,
> >> Please help me resolving the issue related to encoding of YUV420 to M4V
> >> format using FFMPEG. The details are mentioned below -
> >>
> >> I provide the following command for video conversion -
> >>
> >> ffmpeg -r 25 -s cif -i video.yuv -y -s cif -b 64k -r 15 -g 10 video.m4v
> >>
> >> It gives an error (Encoder (codec id 28) not found for output stream
> #0.0) when
> >> the output format is m4v. When I provide the output format as mp4, the
> >> encoding happens perfectly. Also while below is output of ffmpeg
> -formats.
> >>
(Continue reading)

Neeraj Prasad | 1 Aug 08:02
Picon

Re: Encoding to M4V format is not working on SVN-r19557

Hi Justin,
I found the way to produce the raw MPEG4 visual bitstream.

In addition to -vcodec mpeg4 option we need to provide -f m4v option. By
providing this option we can obtain raw mpeg4 stream.

Thanks for the help.

~neeraj.

On Sat, Aug 1, 2009 at 11:13 AM, Neeraj Prasad <neeraj.prasad <at> gmail.com>wrote:

> Hi Justin,
> Thank you for your quick help.
>
> Using the option *vcodec -mpeg4* the encoding is working, however the
> output is not raw MPEG4 visual bitstream. Can you provide the appropriate
> command to produce raw MPEG4 visual bitstream, rather than iPOD specific
> container format.
>
> Thanks again for your quick help.
>
> ~neeraj.
>
>
> On Sat, Aug 1, 2009 at 4:34 AM, Justin Ruggles <justin.ruggles <at> gmail.com>wrote:
>
>> Justin Ruggles wrote:
>> > Neeraj Prasad wrote:
>> >> Hello all,
(Continue reading)

Milos Prudek | 1 Aug 12:43
Picon

Re: ffmpeg transcoding avchd

Dne Friday 31 of July 2009 21:45:36 Robert Krüger napsal(a):
> you can transcode MTS files from  
> Canon camcorders without any special tricks

That is fantastic. Great job developers!

I will try to specify DIVX and other codecs later. For now, I am happy to have 
a working movie playable in mplayer and editable in kdenlive both compiled in 
2008 :-)

--

-- 
Milos Prudek
Mark Himsley | 1 Aug 13:04

Re: Can't determine profile of DV input stream

Matzat Tobias wrote:
> Hi,
>  
> I am using a software product from Telestream (http://www.telestream.net
<http://www.telestream.net> ) called "Episode Encoder Pro" (on my mac). I am using this encoder to
convert (NTSC) WMV files to (PAL) DV25. Now I want to process the files with ffmpeg to create low res
versions for a web page. The problem is that ffmpeg can't open the file :( It tells me:
> 
> [dv @ 0x6326a0]Can't determine profile of DV input stream.
> 
> WEDN074_TEST.dv: Error while opening file
> 
> What could that be? According to the docs, Episode supports:
> 
> The DV (25) format is specified by the ISO IEC 61834 standard:
> Frame size must be  (PAL) or  (NTSC) at a frame rate of 25 and 29.97 frames per second, respectively.
> The bitrate is fixed at 25 Mbit/s.
> The image sampling structure is 4:2:0 for PAL and 4:1:1 for NTSC clips.
> 32, 44.1 and 48 kHz audio sample rates are supported.
> 
> Any hints? Thank you
> 

Which compression setting did you use in Episode?
Which version of Episode are you using?

--

-- 
Mark
Stuart Smith | 1 Aug 23:21

Do all input formats use GOP and keyframes

All of this video encoding/decoding is new to me and I am wondering if all
input formats are structured as GOP's and do the keyframes always fall on a
GOP boundary or can the occur at < GOP from the previous keyframe?

I am trying to find some simple way to parallelise the work flow within
ffmpeg and I am thinking that this might be a reasonable independent subset
of the incoming data stream with which to work.

Thanks
Graeme Merrall | 2 Aug 06:44
Picon

TS is invalid error causes corruption when encoding (newbie)

I've been attempting to do some video conversion for iPhone based on
the info at ioncannon.net but keep hitting an encoding error. There's
nothing I've found in the archives so hoping someone help.

Using svn checkouts of libx264 and ffmpeg. This has happened both on a
PC (ubuntu) and Mac. Have tinkered with async and dts_delta_threshold
to no avail.

What happens is that the video encodes but a couple seconds in to the
encode an error occurs "[mpegts @ 0x1009400]dts < pcr, TS is invalid"
although the encode continues to the end. Playing back the video, the
clip gets corrupted at the point at which the error occurs.  Have
tried breaking the command line down but haven't hit upon the culprit.

ffmpeg -v 10 -y -i ${in_file} -f mpegts -acodec libmp3lame -ar 48000
-ab 64k -s 320x240 -vcodec libx264 -b 128k -flags +loop -cmp +chroma
-partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1
-coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71
-bt 128k -maxrate 128k -bufsize 128k -rc_eq 'blurCplx^(1-qComp)'
-qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30
-sws_flags spline -async 2 ${out_file}

FFmpeg version SVN-r19557, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-nonfree --enable-pthreads
--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.37. 0 / 52.37. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
(Continue reading)

wong yeewan | 3 Aug 09:17
Picon
Favicon

Re: Converting Dirac Elementary Stream to MPEG Transport Stream

Hi,
 
Actually I am doing the conversion on Microsoft Windows and I couldn't find any information on converting
dirac elementary stream to MPEG .ts. I just want to know whether is it possible for ffmpeg to convert .drc to .ts?
 
If I successfully include the libschroedinger, can I use this command?
 
ffmpeg.exe -i input.drc -vcodec copy -acodec copy -f mpegts output.ts
 
Thank you
 
Regards,
Yvonne
 

--- On Fri, 6/26/09, Anuradha Suraparaju <anuradha <at> rd.bbc.co.uk> wrote:

From: Anuradha Suraparaju <anuradha <at> rd.bbc.co.uk>
Subject: Re: [FFmpeg-user] Converting Dirac Elementary Stream to MPEG Transport Stream
To: "FFmpeg user questions and RTFMs" <ffmpeg-user <at> mplayerhq.hu>
Date: Friday, June 26, 2009, 2:53 AM

Hi,

On Tue, 2009-06-16 at 23:03 -0700, wong yeewan wrote:
> Hi All,
>  
> I need to convert the Dirac Elementary Stream to MPEG Transport Stream (TS). May I know is it possible to be
done using ffmpeg? As I know, the command to convert MPEG program stream to MPEG TS is as below,
>  
(Continue reading)

Matzat Tobias | 3 Aug 10:38
Picon

Re: Can't determine profile of DV input stream

>-----Original Message-----
>From: ffmpeg-user-bounces <at> mplayerhq.hu 
>[mailto:ffmpeg-user-bounces <at> mplayerhq.hu] On Behalf Of Mark Himsley
>Sent: Samstag, 1. August 2009 13:05
>To: FFmpeg user questions and RTFMs
>Subject: Re: [FFmpeg-user] Can't determine profile of DV input stream
>
>Matzat Tobias wrote:
>> Hi,
>>  
>> I am using a software product from Telestream 
>(http://www.telestream.net <http://www.telestream.net> ) 
>called "Episode Encoder Pro" (on my mac). I am using this 
>encoder to convert (NTSC) WMV files to (PAL) DV25. Now I want 
>to process the files with ffmpeg to create low res versions 
>for a web page. The problem is that ffmpeg can't open the file 
>:( It tells me:
>> 
>> [dv @ 0x6326a0]Can't determine profile of DV input stream.
>> 
>> WEDN074_TEST.dv: Error while opening file
>> 
>> What could that be? According to the docs, Episode supports:
>> 
>> The DV (25) format is specified by the ISO IEC 61834 standard:
>> Frame size must be  (PAL) or  (NTSC) at a frame rate of 25 
>and 29.97 frames per second, respectively.
>> The bitrate is fixed at 25 Mbit/s.
>> The image sampling structure is 4:2:0 for PAL and 4:1:1 for 
>NTSC clips.
(Continue reading)


Gmane